alt.freeweights.vision / madlad400-3b-mt
From: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject:

madlad400-3b-mt

Date: 2026-11-14Commit: fa184c6Signed: 2DC28CC7B26A283B ✓

Translation model with 2.9B parameters. Gguf and safetensors weights, 15.7 GB in all. Published by google under Apache-2.0.

2.9B params15.7GBmadlad400-3b-mtgguf safetensorspermissive
FactsParams2.9BSize15.7 GBFormatsgguf, safetensorsTasktranslationLicenseApache-2.0From sourcepermissive
$ fw get google/madlad400-3b-mt
# manifest sha256 14d79c92c201… · 15.7 GB · 13 files
$ fw verify ./madlad400-3b-mt google/madlad400-3b-mt
From sourceHosted (signed)google/madlad400-3b-mtLast check: 2026-11-14 21:36 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Overview

Size
15.7 GB
Weights
965 MB (smallest of 3 GGUF variants)
Parameters
2.9B
Formats
gguf, safetensors
Task
translation
License
Apache-2.0 (permissive)
Files
13, each with a sha256
Publisher
google
Added
2026-11-14
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:36 UTCpassed

Model card

From the publisher at commit fa184c6. Shown as plain text with links; images open at the publisher.

Model Card for MADLAD-400-3B-MT#

Table of Contents#

  1. TL;DR
  2. Model Details
  3. Usage
  4. Uses
  5. Bias, Risks, and Limitations
  6. Training Details
  7. Evaluation
  8. Environmental Impact
  9. Citation

TL;DR#

MADLAD-400-3B-MT is a multilingual machine translation model based on the T5 architecture that was trained on 1 trillion tokens covering over 450 languages using publicly available data. It is competitive with models that are significantly larger.

Disclaimer: Juarez Bochi, who was not involved in this research, converted the original weights and wrote the contents of this model card based on the original paper and Flan-T5.

Model Details#

Model Description#

Usage#

Find below some example scripts on how to use the model:

Using the Pytorch model with transformers#

Running the model on a CPU or GPU#

Click to expand

First, install the Python packages that are required:

pip install transformers accelerate sentencepiece

from transformers import T5ForConditionalGeneration, T5Tokenizer

model_name = 'jbochi/madlad400-3b-mt'
model = T5ForConditionalGeneration.from_pretrained(model_name, device_map="auto")
tokenizer = T5Tokenizer.from_pretrained(model_name)

text = "<2pt> I love pizza!"
input_ids = tokenizer(text, return_tensors="pt").input_ids.to(model.device)
outputs = model.generate(input_ids=input_ids)

tokenizer.decode(outputs[0], skip_special_tokens=True)
# Eu adoro pizza!

Running the model with Candle#

Click to expand

Usage with candle:

$ cargo run --example t5 --release  -- \
  --model-id "jbochi/madlad400-3b-mt" \
  --prompt "<2de> How are you, my friend?" \
  --decode --temperature 0

We also provide a quantized model (1.65 GB vs the original 11.8 GB file):

cargo run --example quantized-t5 --release  -- \
  --model-id "jbochi/madlad400-3b-mt" --weight-file "model-q4k.gguf" \
  --prompt "<2de> How are you, my friend?" \
  --temperature 0
...
 Wie geht es dir, mein Freund?

Uses#

Direct Use and Downstream Use#

Primary intended uses: Machine Translation and multilingual NLP tasks on over 400 languages. Primary intended users: Research community.

Out-of-Scope Use#

These models are trained on general domain data and are therefore not meant to work on domain-specific models out-of-the box. Moreover, these research models have not been assessed for production usecases.

Bias, Risks, and Limitations#

We note that we evaluate on only 204 of the languages supported by these models and on machine translation and few-shot machine translation tasks. Users must consider use of this model carefully for their own usecase.

Ethical considerations and risks#

We trained these models with MADLAD-400 and publicly available data to create baseline models that support NLP for over 400 languages, with a focus on languages underrepresented in large-scale corpora. Given that these models were trained with web-crawled datasets that may contain sensitive, offensive or otherwise low-quality content despite extensive preprocessing, it is still possible that these issues to the underlying training data may cause differences in model performance and toxic (or otherwise problematic) output for certain domains. Moreover, large models are dual use technologies that have specific risks associated with their use and development. We point the reader to surveys such as those written by Weidinger et al. or Bommasani et al. for a more detailed discussion of these risks, and to Liebling et al. for a thorough discussion of the risks of machine translation systems.

Known Limitations#

More information needed

Sensitive Use:#

More information needed

Training Details#

We train models of various sizes: a 3B, 32-layer parameter model, a 7.2B 48-layer parameter model and a 10.7B 32-layer parameter model. We share all parameters of the model across language pairs, and use a Sentence Piece Model with 256k tokens shared on both the encoder and decoder side. Each input sentence has a <2xx> token prepended to the source sentence to indicate the target language.

See the research paper for further details.

Training Data#

For both the machine translation and language model, MADLAD-400 is used. For the machine translation model, a combination of parallel datasources covering 157 languages is also used. Further details are described in the paper.

Training Procedure#

See the research paper for further details.

Evaluation#

Testing Data, Factors & Metrics#

For evaluation, we used WMT, NTREX, Flores-200 and Gatones datasets as described in Section 4.3 in the paper.

The translation quality of this model varies based on language, as seen in the paper, and likely varies on domain, though we have not assessed this.

Results#

Image: image/png

Image: image/png

Image: image/png

See the research paper for further details.

Environmental Impact#

More information needed

Citation#

BibTeX:

@misc{kudugunta2023madlad400,
      title={MADLAD-400: A Multilingual And Document-Level Large Audited Dataset}, 
      author={Sneha Kudugunta and Isaac Caswell and Biao Zhang and Xavier Garcia and Christopher A. Choquette-Choo and Katherine Lee and Derrick Xin and Aditya Kusupati and Romi Stella and Ankur Bapna and Orhan Firat},
      year={2023},
      eprint={2309.04662},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Files

13 files · 15.7 GBWeights 965 MB (smallest of 3 GGUF variants). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.72 KB73b8d0aa9e7a5912b27856bceedeb73e7fa232c5939722d72d1f8cf27e690797
README.md9.67 KB7579fd7a40ebb96bc9098b1c817825c572a20763aa8fc80c5261a0517e224979
added_tokens.json4 Bd914176fd50bd7f565700006a31aa97b79d3ad17cee20c8e5ff2061d5cb74817
config.json749 Bcad399cab799b99409a6ec2d90d72552257c2bb752861261d2016691e0643e7c
generation_config.json142 B0849b38987568ccfe4ebefc22bbda1cec4bee01c345e93bfab207d4692b0a1d5
model-q2k.gguf965 MBabab3b4cf39c076b94517e5b7f53bf43a70e72032d787dde948c56a1c597df5d
model-q3k.gguf1.26 GB6d9850c77c4610037085b2595f5cfde13a23a70296596209d8d61b7cc0d34e6e
model-q4k.gguf1.65 GBea6e5531a3e95213c7f0635988d119e078a655c09306e47851e15d4c0c3f9c37
model.safetensors11.8 GB66ff5f8fcaf92291da486fdfbd4d5233cec90e1359348a56e3172c978b3a76d4
special_tokens_map.json414 B7f79f1d5063d56c4b980eec0692f3c7429bdef335071d34e566bd00fd4b5e3e0
spiece.model4.43 MBef11ac9a22c7503492f56d48dce53be20e339b63605983e9f27d2cd0e0f3922c
tokenizer.json16.6 MBa2799ccc696b752ba00c34f58726bfe253a04921ceb6cfc620400f560474790b
tokenizer_config.json830 B641fc660745306dfb935f666a68f8bc10a44c39241cfb357be518fda8c09662d
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
fa184c675d pinned now manifest updated, same commit2026-11-14 21:36 UTC13 files · 15.7 GB
fa184c675d2026-11-14 21:36 UTC13 files · 15.7 GB

Use it

$ fw get google/madlad400-3b-mt
# manifest sha256 14d79c92c201… · 15.7 GB · 13 files
$ fw verify ./madlad400-3b-mt google/madlad400-3b-mt
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/madlad400-3b-mt.json --dir ./madlad400-3b-mt $ python3 fw.py verify ./madlad400-3b-mt ./google__madlad400-3b-mt.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/madlad400-3b-mt --revision fa184c675da0b5c9e1c8694fccd4e12e2d422094 --local-dir ./madlad400-3b-mt
llama.cppDownload one GGUF variant (model-q2k, 965 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/madlad400-3b-mt --include "model-q2k*" --local-dir ./madlad400-3b-mt $ llama-server -m ./madlad400-3b-mt/model-q2k.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./madlad400-3b-mt/model-q2k.gguf\n' > Modelfile $ ollama create madlad400-3b-mt -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
7579fd7a40ebb96bc9098b1c817825c572a20763aa8fc80c5261a0517e224979
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject: madlad400-3b-mtDate: 2026-11-14Commit: fa184c6Signed: 2DC28CC7B26A283B ✓
Upstream
google/madlad400-3b-mt
Pinned commit
fa184c675da0b5c9e1c8694fccd4e12e2d422094
Manifest
madlad400-3b-mt.json · .minisig
Manifest sha256
14d79c92c201a18be153a5ff0b3f786cf3aa9fc2c320fa6cb39f5e9991a076ed
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/google/madlad400-3b-mt.json $ curl -O https://freeweights.allternit.com/manifests/google/madlad400-3b-mt.json.minisig $ minisign -Vm madlad400-3b-mt.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/madlad400-3b-mt
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. madlad400-3b-mt.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX