lysandre HF staff commited on
Commit
8a6f032
1 Parent(s): 8dce1e6

Update tokenizer_config.json

Browse files

The 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!

Files changed (1) hide show
  1. 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
  }