danielhanchen
commited on
Commit
•
e367d36
1
Parent(s):
5a0b8c8
Upload Qwen2ForCausalLM
Browse files- config.json +2 -0
- generation_config.json +2 -1
config.json
CHANGED
@@ -16,12 +16,14 @@
|
|
16 |
"num_attention_heads": 12,
|
17 |
"num_hidden_layers": 28,
|
18 |
"num_key_value_heads": 2,
|
|
|
19 |
"rms_norm_eps": 1e-06,
|
20 |
"rope_theta": 10000.0,
|
21 |
"sliding_window": null,
|
22 |
"tie_word_embeddings": true,
|
23 |
"torch_dtype": "bfloat16",
|
24 |
"transformers_version": "4.44.2",
|
|
|
25 |
"use_cache": true,
|
26 |
"use_sliding_window": false,
|
27 |
"vocab_size": 151936
|
|
|
16 |
"num_attention_heads": 12,
|
17 |
"num_hidden_layers": 28,
|
18 |
"num_key_value_heads": 2,
|
19 |
+
"pad_token_id": 151665,
|
20 |
"rms_norm_eps": 1e-06,
|
21 |
"rope_theta": 10000.0,
|
22 |
"sliding_window": null,
|
23 |
"tie_word_embeddings": true,
|
24 |
"torch_dtype": "bfloat16",
|
25 |
"transformers_version": "4.44.2",
|
26 |
+
"unsloth_fixed": true,
|
27 |
"use_cache": true,
|
28 |
"use_sliding_window": false,
|
29 |
"vocab_size": 151936
|
generation_config.json
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
151645,
|
5 |
151643
|
6 |
],
|
7 |
-
"
|
|
|
8 |
"transformers_version": "4.44.2"
|
9 |
}
|
|
|
4 |
151645,
|
5 |
151643
|
6 |
],
|
7 |
+
"max_length": 4096,
|
8 |
+
"pad_token_id": 151665,
|
9 |
"transformers_version": "4.44.2"
|
10 |
}
|