Narsil HF staff commited on
Commit
d305c58
1 Parent(s): 5a66692

model_max_length = max_position_embeddings - 2 for roberta (when padding_idx == 2)

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -1 +1 @@
1
- {"model_max_length": 512}
 
1
+ {"model_max_length": 510}