Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

google
/
mt5-xl

Transformers
PyTorch
google-tensorflow TensorFlow
JAX
mt5
text2text-generation
Model card Files Files and versions
xet
Community
3

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

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
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs