Run this model with HF Jobs
Run google/mt5-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/google/mt5-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/google/mt5-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/mt5-base") model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
0b908f9
1
Parent(s): e088322
up
Browse filesFiles changed (2)
- config.json+3-1
- flax_model.msgpackAdded+3
123456714 unmodified lines2223242526{"_name_or_path": "/home/patrick/hugging_face/t5/mt5-base","architectures": ["T5ForConditionalGeneration"],"d_ff": 2048,"d_kv": 64,14 unmodified lines"relative_attention_num_buckets": 32,"tie_word_embeddings": false,"tokenizer_class": "T5Tokenizer","vocab_size": 250112}123456714 unmodified lines22232425262728{"_name_or_path": "/home/patrick/hugging_face/t5/mt5-base","architectures": ["MT5ForConditionalGeneration"],"d_ff": 2048,"d_kv": 64,14 unmodified lines"relative_attention_num_buckets": 32,"tie_word_embeddings": false,"tokenizer_class": "T5Tokenizer","transformers_version": "4.10.0.dev0","use_cache": true,"vocab_size": 250112}
123version https://git-lfs.github.com/spec/v1oid sha256:c870a08ac1a67aaf347c9078f6ec7b446ed135de73491161540cd5af8c05a7bfsize 2329617315config.json+3-1
flax_model.msgpackAdded+3