devfacet commited on
Commit
7008bdc
1 Parent(s): 47e7f55

Fix model_max_length

Browse files

Fixes https://github.com/xenova/transformers.js/issues/355

Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -11,7 +11,7 @@
11
  "rstrip": false,
12
  "single_word": false
13
  },
14
- "model_max_length": 1000000000000000019884624838656,
15
  "pad_token": "<pad>",
16
  "sep_token": "</s>",
17
  "sp_model_kwargs": {},
 
11
  "rstrip": false,
12
  "single_word": false
13
  },
14
+ "model_max_length": 512,
15
  "pad_token": "<pad>",
16
  "sep_token": "</s>",
17
  "sp_model_kwargs": {},