Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

google
/
mt5-base

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

Instructions to use google/mt5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/mt5-base with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("google/mt5-base")
    model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-base")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Adding `safetensors` variant of this model

#14 opened 7 days ago by
SFconvertbot

Adding `safetensors` variant of this model

#13 opened about 1 year ago by
Lunali

Adding `safetensors` variant of this model

#12 opened about 1 year ago by
Lunali

🚩 Report: Not working

➕ 3
#10 opened over 1 year ago by
tijsg

Target Language

#9 opened over 1 year ago by
mehtameet2802

[AUTOMATED] Model Memory Requirements

#8 opened about 2 years ago by
model-sizer-bot

Adding `safetensors` variant of this model

#5 opened about 3 years ago by
SFconvertbot

fine-tuned translation model supporting many languages

👍 3
#4 opened about 3 years ago by
majdoddin

mt5-base embedding size and tokenizer size don't match?

2
#2 opened almost 4 years ago by
echau18
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs