danielhanchen
commited on
Upload Qwen2ForCausalLM
Browse files- config.json +2 -0
- generation_config.json +2 -0
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,
|
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_mrope": false,
|
27 |
"use_sliding_window": false,
|
|
|
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,
|
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_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 |
"transformers_version": "4.44.2"
|
6 |
}
|
|
|
1 |
{
|
2 |
"bos_token_id": 151643,
|
3 |
"eos_token_id": 151643,
|
4 |
+
"max_length": 4096,
|
5 |
"max_new_tokens": 2048,
|
6 |
+
"pad_token_id": 151665,
|
7 |
"transformers_version": "4.44.2"
|
8 |
}
|