MADLAD-400: A Multilingual And Document-Level Large Audited Dataset
Paper • 2309.04662 • Published • 26
How to use huggingfinger0/MADLAD400-3B-MT-int5-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir MADLAD400-3B-MT-int5-MLX huggingfinger0/MADLAD400-3B-MT-int5-MLX
A 5-bit, group-size-64 MLX quantization of
google/madlad400-3b-mt (a T5 encoder–decoder),
for fast on-device translation on Apple Silicon. 400+ languages. Architecture unchanged — this
repo only re-quantizes the original weights.
| Base model | google/madlad400-3b-mt |
| Quantization | 5-bit, group size 64 (the 32×16 relative-attention-bias tables are kept in full precision) |
| Format | MLX safetensors (+ SentencePiece tokenizer) |
| Size | ~2.1 GB |
Apache-2.0, inherited from the base model. All credit for the model goes to Google — see MADLAD-400. This repository only provides an MLX-quantized copy of the released weights.
Quantized
Base model
google/madlad400-3b-mt