Hy-MT2-1.8B is Tencent's multilingual translation model covering 40+ languages.
Quantization: Block floating-point MX FP4 (microscaling)
Precision: ~4 bits/weight
Group size: 32
Disk size: 917 MB
Quantized by:
sahilchachra
Microscaling (MX) block floating-point quantization at FP4 precision. Uses a shared floating-point exponent per block of 32 weights instead of integer affine scaling — different numerical properties vs affine int4.
Evaluated on Apple M5 Pro with MLX. Model loaded once; performance and quality measured in a single pass.
1from mlx_lm import load, generate
2
3model, tokenizer = load("sahilchachra/hy-mt2-1.8b-mxfp4-mlx")
4
5prompt = (
6 "Translate the following text from English to French.\n"
7 "English: The early bird catches the worm.\n"
8 "French:"
9)
10print(generate(model, tokenizer, prompt=prompt, max_tokens=128, verbose=True))
1from mlx_lm import load, stream_generate
2
3model, tokenizer = load("sahilchachra/hy-mt2-1.8b-mxfp4-mlx")
4for chunk in stream_generate(model, tokenizer, prompt="Translate \"Hello world\" to Japanese:", max_tokens=64):
5 print(chunk.text, end="", flush=True)
See
tencent/Hy-MT2-1.8B for full model details, supported languages, and intended use.