Instructions to use netprojects/Hy-MT3-7B-MLX-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/Hy-MT3-7B-MLX-6bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download netprojects/Hy-MT3-7B-MLX-6bit --local-dir Hy-MT3-7B-MLX-6bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Hy-MT3-7B for Apple Silicon (MLX, 6-bit)
tencent/Hy-MT3-7B (revision f83bea8) converted to MLX with mlx-lm and quantized to 6-bit (affine, group 64). Size: 6.1 GB.
Hy-MT3 is Tencent's multilingual translation family, released on 24 November 2026 in 1.8B, 7B and 30B-A3B sizes. It translates between about 100 languages and dialects, including the 33 languages of Hy-MT2, five Chinese minority languages and dialects, and 64 newly added languages such as Greek, Romanian, Hungarian, the Nordic and Baltic languages. Hy-MT3-7B is the mid-size Hy-MT3 model (dense, 32 layers). Against Hy-MT2 on real-world data, Tencent reports 43% fewer mistranslations, 74% fewer omissions or additions and 40% fewer instruction-following errors. Tencent positions the 7B between the on-device 1.8B and the 30B-A3B flagship. See the original model card and the technical report (arXiv 2611.27673) for the full results.
| Build | Size | Same next token as bf16 | Translation smoke test | Suggested Mac memory |
|---|---|---|---|---|
| netprojects/Hy-MT3-7B-MLX-6bit (recommended) | 6.1 GB | 100.0% | 10/10 | 16 GB+ |
| netprojects/Hy-MT3-7B-MLX-8bit | 8.0 GB | 99.5% | 10/10 | 16 GB+ |
| netprojects/Hy-MT3-7B-MLX-4bit | 4.2 GB | 97.7% | 10/10 | 16 GB+ |
The columns are explained under "What was checked".
Which build fits my Mac?
Each pick leaves room for macOS and a long prompt (the download is at most about 60% of your memory). Other models for your Mac: which build fits my Mac?.
| Your Mac | Build |
|---|---|
| 8 GB | 1.8B 8-bit (1.9 GB) |
| 8 GB, lightest | 1.8B 4-bit (1.0 GB) |
| 8 GB, bigger model | 7B 4-bit (4.2 GB) |
| 16 GB | 7B 6-bit (6.1 GB) (this build) |
| 16 GB, more fidelity | 7B 8-bit (8.0 GB) |
| 32 GB | 30B-A3B 4-bit (16.9 GB) |
| 48 GB | 30B-A3B 6-bit, recommended (24.4 GB) |
| 64 GB and up | 30B-A3B 8-bit (32.0 GB) |
Use
pip install -U "mlx-lm>=0.32.2"
mlx_lm.generate --model netprojects/Hy-MT3-7B-MLX-6bit --temp 0.7 --top-p 0.6 --top-k 20 --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."
From Python:
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler
model, tokenizer = load("netprojects/Hy-MT3-7B-MLX-6bit")
text = "Please keep your boarding pass until you leave the airport."
prompt = f"Translate the following text into Japanese. Note that you should only output the translated result without any additional explanation:\n\n{text}"
prompt = tokenizer.apply_chat_template([{"role": "user", "content": prompt}], add_generation_prompt=True, tokenize=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=1024, sampler=make_sampler(temp=0.7, top_p=0.6)))
An OpenAI-compatible server: mlx_lm.server --model netprojects/Hy-MT3-7B-MLX-6bit --port 8000.
Tencent's recommended settings: temperature 0.7, top_p 0.6, top_k 20, repetition penalty 1.05, up to 4,096 new tokens, inputs up to about 8K tokens. There is no default system prompt.
Their card also gives prompt templates for terminology lists ("term translates to translation"), a required style,
personal preferences, delimiter-preserving and structured-data (JSON, XML) translation; they work unchanged with these builds.
What was checked
On a MacBook Pro M5 Max (128 GB), 24 November 2026, with mlx-lm 0.32.2.
- Source files. Every file of the pinned upstream revision matches the Hub's SHA-256 hashes.
- Agreement with bf16. The bf16 model translated 10 prompts (greedy, up to 128 tokens): into Greek, Chinese, Japanese, German, French, Spanish, Arabic and Russian, and from Greek and Chinese into English. Each quantized build was then fed the same text and its most likely next token compared with bf16's at every generated position: 6-bit 100.0%, 8-bit 99.5%, 4-bit 97.7% over 217 positions.
- Translation smoke test. Each build translated the same 10 prompts itself; a prompt passes when the output is non-empty and in the target script or language: 6-bit 10/10, 8-bit 10/10, 4-bit 10/10 (bf16 10/10).
- Memory. Suggested Mac memory is the smallest size whose default GPU memory limit holds the peak seen in these tests plus 2 GB; long documents need more.
License
Apache-2.0, as tencent/Hy-MT3-7B. LICENSE.txt is Tencent's file, unchanged; NOTICE describes the conversion.
Please cite Tencent's work (see the original card).
Published by NetProjects (Internet Projects Ltd). Not affiliated with Tencent.
More MLX builds from NetProjects: huggingface.co/netprojects · netprojects.com
- Downloads last month
- 95
6-bit
Model tree for netprojects/Hy-MT3-7B-MLX-6bit
Base model
tencent/Hy-MT3-7B