danielhanchen
commited on
Commit
•
6250c18
1
Parent(s):
1022de9
Upload Qwen2ForCausalLM
Browse files- config.json +3 -1
- generation_config.json +3 -1
config.json
CHANGED
@@ -16,12 +16,14 @@
|
|
16 |
"num_attention_heads": 14,
|
17 |
"num_hidden_layers": 24,
|
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": "bfloat16",
|
24 |
-
"transformers_version": "4.
|
25 |
"use_cache": true,
|
26 |
"use_mrope": false,
|
27 |
"use_sliding_window": false,
|
|
|
16 |
"num_attention_heads": 14,
|
17 |
"num_hidden_layers": 24,
|
18 |
"num_key_value_heads": 2,
|
19 |
+
"pad_token_id": 151665,
|
20 |
"rms_norm_eps": 1e-06,
|
21 |
+
"rope_scaling": null,
|
22 |
"rope_theta": 1000000.0,
|
23 |
"sliding_window": null,
|
24 |
"tie_word_embeddings": true,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
+
"transformers_version": "4.46.1",
|
27 |
"use_cache": true,
|
28 |
"use_mrope": false,
|
29 |
"use_sliding_window": false,
|
generation_config.json
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
{
|
2 |
"bos_token_id": 151643,
|
3 |
"eos_token_id": 151643,
|
|
|
4 |
"max_new_tokens": 2048,
|
5 |
-
"
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
"bos_token_id": 151643,
|
3 |
"eos_token_id": 151643,
|
4 |
+
"max_length": 32768,
|
5 |
"max_new_tokens": 2048,
|
6 |
+
"pad_token_id": 151665,
|
7 |
+
"transformers_version": "4.46.1"
|
8 |
}
|