Add a goddamn max length parameter to your tokenizer.
#4
by
michaelfeil
- opened
- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -46,7 +46,7 @@
|
|
46 |
"cls_token": "<s>",
|
47 |
"eos_token": "</s>",
|
48 |
"mask_token": "<mask>",
|
49 |
-
"model_max_length":
|
50 |
"pad_token": "<pad>",
|
51 |
"sep_token": "</s>",
|
52 |
"sp_model_kwargs": {},
|
|
|
46 |
"cls_token": "<s>",
|
47 |
"eos_token": "</s>",
|
48 |
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 512,
|
50 |
"pad_token": "<pad>",
|
51 |
"sep_token": "</s>",
|
52 |
"sp_model_kwargs": {},
|