JustinLin610
commited on
Commit
•
867d050
1
Parent(s):
df637d4
update tokenizer_config.json,config.json,generation_config.json
Browse files- config.json +3 -3
- generation_config.json +5 -3
- tokenizer_config.json +2 -2
config.json
CHANGED
@@ -4,13 +4,13 @@
|
|
4 |
],
|
5 |
"attention_dropout": 0.0,
|
6 |
"bos_token_id": 151643,
|
7 |
-
"eos_token_id":
|
8 |
"hidden_act": "silu",
|
9 |
"hidden_size": 1536,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 8960,
|
12 |
"max_position_embeddings": 32768,
|
13 |
-
"max_window_layers":
|
14 |
"model_type": "qwen2",
|
15 |
"num_attention_heads": 12,
|
16 |
"num_hidden_layers": 28,
|
@@ -28,7 +28,7 @@
|
|
28 |
"sliding_window": 32768,
|
29 |
"tie_word_embeddings": true,
|
30 |
"torch_dtype": "float16",
|
31 |
-
"transformers_version": "4.44.
|
32 |
"use_cache": true,
|
33 |
"use_sliding_window": false,
|
34 |
"vocab_size": 151936
|
|
|
4 |
],
|
5 |
"attention_dropout": 0.0,
|
6 |
"bos_token_id": 151643,
|
7 |
+
"eos_token_id": 151645,
|
8 |
"hidden_act": "silu",
|
9 |
"hidden_size": 1536,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 8960,
|
12 |
"max_position_embeddings": 32768,
|
13 |
+
"max_window_layers": 28,
|
14 |
"model_type": "qwen2",
|
15 |
"num_attention_heads": 12,
|
16 |
"num_hidden_layers": 28,
|
|
|
28 |
"sliding_window": 32768,
|
29 |
"tie_word_embeddings": true,
|
30 |
"torch_dtype": "float16",
|
31 |
+
"transformers_version": "4.44.0",
|
32 |
"use_cache": true,
|
33 |
"use_sliding_window": false,
|
34 |
"vocab_size": 151936
|
generation_config.json
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
{
|
2 |
"bos_token_id": 151643,
|
3 |
"do_sample": true,
|
4 |
-
"eos_token_id":
|
5 |
-
|
6 |
-
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
"bos_token_id": 151643,
|
3 |
"do_sample": true,
|
4 |
+
"eos_token_id": [
|
5 |
+
151645,
|
6 |
+
151643
|
7 |
+
],
|
8 |
+
"transformers_version": "4.44.0"
|
9 |
}
|
tokenizer_config.json
CHANGED
@@ -198,10 +198,10 @@
|
|
198 |
"clean_up_tokenization_spaces": false,
|
199 |
"eos_token": "<|im_end|>",
|
200 |
"errors": "replace",
|
201 |
-
"model_max_length":
|
202 |
"pad_token": "<|endoftext|>",
|
203 |
"split_special_tokens": false,
|
204 |
"tokenizer_class": "Qwen2Tokenizer",
|
205 |
"unk_token": null,
|
206 |
"add_bos_token": false
|
207 |
-
}
|
|
|
198 |
"clean_up_tokenization_spaces": false,
|
199 |
"eos_token": "<|im_end|>",
|
200 |
"errors": "replace",
|
201 |
+
"model_max_length": 32768,
|
202 |
"pad_token": "<|endoftext|>",
|
203 |
"split_special_tokens": false,
|
204 |
"tokenizer_class": "Qwen2Tokenizer",
|
205 |
"unk_token": null,
|
206 |
"add_bos_token": false
|
207 |
+
}
|