Instructions to use google/mt5-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/mt5-xl with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/mt5-xl") model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-xl") - Notebooks
- Google Colab
- Kaggle
TypeError: Couldn't build proto file into descriptor pool: duplicate file name sentencepiece_model.proto
#3 opened 6 months ago
by
raptorkwok
Adding `safetensors` variant of this model
#2 opened about 3 years ago
by
SFconvertbot