Instructions to use google/umt5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/umt5-small with Transformers:
# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("google/umt5-small", dtype="auto") - Notebooks
- Google Colab
- Kaggle
v5 update to match TokenizersBackend to AutoTokenizer
#2
by itazap HF Staff - opened
- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -309,6 +309,6 @@
|
|
| 309 |
"pad_token": "<pad>",
|
| 310 |
"sp_model_kwargs": {},
|
| 311 |
"spaces_between_special_tokens": false,
|
| 312 |
-
"tokenizer_class": "
|
| 313 |
"unk_token": "<unk>"
|
| 314 |
}
|
|
|
|
| 309 |
"pad_token": "<pad>",
|
| 310 |
"sp_model_kwargs": {},
|
| 311 |
"spaces_between_special_tokens": false,
|
| 312 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 313 |
"unk_token": "<unk>"
|
| 314 |
}
|