Run this model with HF Jobs
Run google/madlad400-7b-mt 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/madlad400-7b-mt. 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/madlad400-7b-mt 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/madlad400-7b-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/madlad400-7b-mt with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="google/madlad400-7b-mt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/madlad400-7b-mt") model = AutoModelForSeq2SeqLM.from_pretrained("google/madlad400-7b-mt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from google/madlad400-7b-mt: direct link, hf CLI and curl.
- Browser
- Download file 16.6 MB
-
https://huggingface.co/google/madlad400-7b-mt/resolve/refs%2Fpr%2F2/tokenizer.json
- Command line
-
hf download hf://google/madlad400-7b-mt@refs/pr/2/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/google/madlad400-7b-mt/resolve/refs%2Fpr%2F2/tokenizer.json
16.6 MB
- Xet hash:
- 30ba1e189bc69803c6559bf14f306d36c557c804168db4aa2982a71193b885cd
- Size of remote file:
- 16.6 MB
- SHA256:
- 1c1042b847b2478f2b7997641d0a4516933cd2820cf65319cfd092bbc7aa8d8f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.