Hy-MT3-30B-A3B LayerFit MLX 4-bit

tencent/Hy-MT3-30B-A3B (revision 08ae9ac), Tencent's strongest Hy-MT3 translation model (about 100 languages, mixture of experts with about 3B active parameters per token), for Apple Silicon, built with LayerFit™: a per-layer search that spends the bits where the model needs them most. 16.9 GB on disk.

Build Size Suggested Mac memory
4-bit (this build) 16.9 GB 24 GB
3-bit 13.2 GB 18 GB
6-bit · 8-bit larger our standard builds; LayerFit adds little at 6 bits and above

LayerFit: same size, closer to the original

A standard quant gives every layer the same bits. LayerFit measures how much each part of the model suffers at low bits (the experts, the shared expert and attention of every layer, the embeddings and the output head), then fills the same size budget where it helps most:

Same size, same test Top-1 agreement with bf16 Error (KL)
Standard 4-bit (same bits in every layer) 90.4% 0.1270
LayerFit 4-bit 91.6% 0.0787 (38% lower)

Our harness: weights against our bf16 conversion of tencent/Hy-MT3-30B-A3B, passages in many languages. The exact recipe is in layerfit-recipe.json.

Translations. On the 10 translation prompts we use for all our Hy-MT3 builds (into Greek, Chinese, Japanese, German, French, Spanish, Arabic and Russian, and from Greek and Chinese into English), this build passes 10/10 and picks the same next token as bf16 at 98.0% of 204 positions. Our standard 4-bit build of the same size agrees with bf16 on 97.1% of the same positions; this LayerFit build on 98.0%. Measured on a MacBook Pro M5 Max, 27 November 2026, mlx-lm 0.32.

Use

pip install -U "mlx-lm>=0.32.2"
mlx_lm.generate --model netprojects/Hy-MT3-30B-A3B-LayerFit-MLX-4bit --trust-remote-code --temp 0.7 --top-p 1.0 --max-tokens 1024 \
  --prompt "Translate the following text into Greek. Note that you should only output the translated result without any additional explanation:

The museum opens at nine in the morning."

Hy-MT3-30B-A3B uses the hy_v3 architecture, which mlx-lm does not ship yet: this repository includes hy_v3.py (our MLX implementation, the same as in our standard builds) and config.json points to it, so pass --trust-remote-code / trust_remote_code=True. The router stays in float32 and is not quantized. Tencent's recommended settings: temperature 0.7, top_p 1.0, up to 4,096 new tokens. See the original model card for Tencent's results and prompt templates.

Licence

Apache-2.0, as tencent/Hy-MT3-30B-A3B. LICENSE.txt is Tencent's file, unchanged; NOTICE describes the conversion.

All LayerFit builds, one pick per model: [LayerFit MLX builds](https://huggingface.co/collections/netprojects/layerfit-mlx-builds-6b0ad24ace6f450872d036e5).

Built by Paris Michalas, NetProjects. LayerFit™ is a NetProjects trademark. Not affiliated with Tencent.

Downloads last month
60
Safetensors
Model size
30B params
Tensor type
U32
·
BF16
·
F32
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for netprojects/Hy-MT3-30B-A3B-LayerFit-MLX-4bit

Quantized
(22)
this model

Collections including netprojects/Hy-MT3-30B-A3B-LayerFit-MLX-4bit