marcel1997
commited on
Commit
•
0fccf18
1
Parent(s):
58e1ecc
Upload Qwen2ForCausalLM
Browse files- config.json +8 -7
- generation_config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"Qwen2ForCausalLM"
|
5 |
],
|
@@ -7,21 +7,22 @@
|
|
7 |
"bos_token_id": 151643,
|
8 |
"eos_token_id": 151643,
|
9 |
"hidden_act": "silu",
|
10 |
-
"hidden_size":
|
11 |
"initializer_range": 0.02,
|
12 |
-
"intermediate_size":
|
13 |
"max_position_embeddings": 131072,
|
14 |
-
"max_window_layers":
|
15 |
"model_type": "qwen2",
|
16 |
-
"num_attention_heads":
|
17 |
-
"num_hidden_layers":
|
18 |
"num_key_value_heads": 2,
|
19 |
"rms_norm_eps": 1e-06,
|
|
|
20 |
"rope_theta": 1000000.0,
|
21 |
"sliding_window": null,
|
22 |
"tie_word_embeddings": true,
|
23 |
"torch_dtype": "float16",
|
24 |
-
"transformers_version": "4.
|
25 |
"use_cache": true,
|
26 |
"use_sliding_window": false,
|
27 |
"vocab_size": 151936
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "final_run_qwen_0.5/run-0/checkpoint-8800",
|
3 |
"architectures": [
|
4 |
"Qwen2ForCausalLM"
|
5 |
],
|
|
|
7 |
"bos_token_id": 151643,
|
8 |
"eos_token_id": 151643,
|
9 |
"hidden_act": "silu",
|
10 |
+
"hidden_size": 896,
|
11 |
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4864,
|
13 |
"max_position_embeddings": 131072,
|
14 |
+
"max_window_layers": 24,
|
15 |
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 14,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
"num_key_value_heads": 2,
|
19 |
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_scaling": null,
|
21 |
"rope_theta": 1000000.0,
|
22 |
"sliding_window": null,
|
23 |
"tie_word_embeddings": true,
|
24 |
"torch_dtype": "float16",
|
25 |
+
"transformers_version": "4.46.3",
|
26 |
"use_cache": true,
|
27 |
"use_sliding_window": false,
|
28 |
"vocab_size": 151936
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"bos_token_id": 151643,
|
3 |
"eos_token_id": 151643,
|
4 |
"max_new_tokens": 2048,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"bos_token_id": 151643,
|
3 |
"eos_token_id": 151643,
|
4 |
"max_new_tokens": 2048,
|
5 |
+
"transformers_version": "4.46.3"
|
6 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:720218e058f2c5a27af8881f0b653dab4b20134528ce16628db1e22d8f453bae
|
3 |
+
size 988097536
|