danielhanchen
commited on
Commit
•
13426c8
1
Parent(s):
688af54
Upload Qwen2ForCausalLM
Browse files- config.json +2 -0
- generation_config.json +2 -1
config.json
CHANGED
@@ -16,6 +16,7 @@
|
|
16 |
"num_attention_heads": 28,
|
17 |
"num_hidden_layers": 28,
|
18 |
"num_key_value_heads": 4,
|
|
|
19 |
"quantization_config": {
|
20 |
"_load_in_4bit": true,
|
21 |
"_load_in_8bit": false,
|
@@ -37,6 +38,7 @@
|
|
37 |
"tie_word_embeddings": false,
|
38 |
"torch_dtype": "bfloat16",
|
39 |
"transformers_version": "4.44.2",
|
|
|
40 |
"use_cache": true,
|
41 |
"use_sliding_window": false,
|
42 |
"vocab_size": 152064
|
|
|
16 |
"num_attention_heads": 28,
|
17 |
"num_hidden_layers": 28,
|
18 |
"num_key_value_heads": 4,
|
19 |
+
"pad_token_id": 151665,
|
20 |
"quantization_config": {
|
21 |
"_load_in_4bit": true,
|
22 |
"_load_in_8bit": false,
|
|
|
38 |
"tie_word_embeddings": false,
|
39 |
"torch_dtype": "bfloat16",
|
40 |
"transformers_version": "4.44.2",
|
41 |
+
"unsloth_fixed": true,
|
42 |
"use_cache": true,
|
43 |
"use_sliding_window": false,
|
44 |
"vocab_size": 152064
|
generation_config.json
CHANGED
@@ -5,7 +5,8 @@
|
|
5 |
151645,
|
6 |
151643
|
7 |
],
|
8 |
-
"
|
|
|
9 |
"repetition_penalty": 1.05,
|
10 |
"temperature": 0.7,
|
11 |
"top_k": 20,
|
|
|
5 |
151645,
|
6 |
151643
|
7 |
],
|
8 |
+
"max_length": 32768,
|
9 |
+
"pad_token_id": 151665,
|
10 |
"repetition_penalty": 1.05,
|
11 |
"temperature": 0.7,
|
12 |
"top_k": 20,
|