modify: set model max length to 8192
Browse files- config.json +1 -1
- tokenizer_config.json +1 -1
config.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
"hidden_size": 5120,
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 13696,
|
18 |
-
"model_max_length":
|
19 |
"model_type": "baichuan",
|
20 |
"num_attention_heads": 40,
|
21 |
"num_hidden_layers": 40,
|
|
|
15 |
"hidden_size": 5120,
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 13696,
|
18 |
+
"model_max_length": 8192,
|
19 |
"model_type": "baichuan",
|
20 |
"num_attention_heads": 40,
|
21 |
"num_hidden_layers": 40,
|
tokenizer_config.json
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
"rstrip": false,
|
25 |
"single_word": true
|
26 |
},
|
27 |
-
"model_max_length":
|
28 |
"pad_token": {
|
29 |
"__type": "AddedToken",
|
30 |
"content": "<unk>",
|
|
|
24 |
"rstrip": false,
|
25 |
"single_word": true
|
26 |
},
|
27 |
+
"model_max_length": 8192,
|
28 |
"pad_token": {
|
29 |
"__type": "AddedToken",
|
30 |
"content": "<unk>",
|