Text2Text Generation
Transformers
PyTorch
5 languages
t5
flan-ul2
Inference Endpoints
text-generation-inference
ybelkada HF staff joaogante HF staff commited on
Commit
a90bd52
1 Parent(s): 5dfdc8c

Set tokenizer model_max_length to 2048 (#10)

Browse files

- Set tokenizer model_max_length to 2048 (880eaf54fcbcfb87e119a8c324ea7b98b17a747b)


Co-authored-by: Joao Gante <joaogante@users.noreply.huggingface.co>

Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -103,7 +103,7 @@
103
  ],
104
  "eos_token": "</s>",
105
  "extra_ids": 100,
106
- "model_max_length": 512,
107
  "name_or_path": "google/ul2",
108
  "pad_token": "<pad>",
109
  "special_tokens_map_file": null,
103
  ],
104
  "eos_token": "</s>",
105
  "extra_ids": 100,
106
+ "model_max_length": 2048,
107
  "name_or_path": "google/ul2",
108
  "pad_token": "<pad>",
109
  "special_tokens_map_file": null,