Update tokenizer_config.json
Browse filesThe model max length is currently set at a value within the `transformers` toolkit directly, as can be seen here: https://github.com/huggingface/transformers/blob/main/src/transformers/models/bert/tokenization_bert.py#L90-L91
We're removing these definition as legacy, we're therefore updating the remote checkpoints to ensure that this information is not lost. Thank you!
- tokenizer_config.json +2 -1
tokenizer_config.json
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
{
|
2 |
-
"do_lower_case": true
|
|
|
3 |
}
|
|
|
1 |
{
|
2 |
+
"do_lower_case": true,
|
3 |
+
"model_max_length": 512
|
4 |
}
|