maidalun1020 michaelfeil commited on
Commit
9443e0d
1 Parent(s): 8825f3f

Add a goddamn max length parameter to your tokenizer. (#4)

Browse files

- Add a goddamn max length parameter to your tokenizer. (e0c812c9087e51e818b0e38041acb1319e7abd6d)
- Update tokenizer_config.json (d7157fd86585afa6695d24daac23c39d5cf65a98)


Co-authored-by: Michael <michaelfeil@users.noreply.huggingface.co>

Files changed (1) hide show
  1. 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": 1000000000000000019884624838656,
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": {},