Instructions to use google/mt5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/mt5-large with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/mt5-large") model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
9c59096
1
Parent(s): ba2ffd8
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -21,6 +21,6 @@
|
|
| 21 |
"pad_token_id": 0,
|
| 22 |
"relative_attention_num_buckets": 32,
|
| 23 |
"tie_word_embeddings": false,
|
| 24 |
-
"tokenizer_class": "
|
| 25 |
"vocab_size": 250112
|
| 26 |
}
|
|
|
|
| 21 |
"pad_token_id": 0,
|
| 22 |
"relative_attention_num_buckets": 32,
|
| 23 |
"tie_word_embeddings": false,
|
| 24 |
+
"tokenizer_class": "T5Tokenizer",
|
| 25 |
"vocab_size": 250112
|
| 26 |
}
|