Instructions to use Maikobi/t5_self_correction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maikobi/t5_self_correction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Maikobi/t5_self_correction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -933,7 +933,7 @@
|
|
| 933 |
"extra_ids": 100,
|
| 934 |
"extra_special_tokens": {},
|
| 935 |
"legacy": true,
|
| 936 |
-
"model_max_length":
|
| 937 |
"pad_token": "<pad>",
|
| 938 |
"sp_model_kwargs": {},
|
| 939 |
"tokenizer_class": "T5Tokenizer",
|
|
|
|
| 933 |
"extra_ids": 100,
|
| 934 |
"extra_special_tokens": {},
|
| 935 |
"legacy": true,
|
| 936 |
+
"model_max_length": 512,
|
| 937 |
"pad_token": "<pad>",
|
| 938 |
"sp_model_kwargs": {},
|
| 939 |
"tokenizer_class": "T5Tokenizer",
|