Downloads · 30 days
325
61% of all-time downloads
Arm/hy-mt2-1-8b-2bit-translation-gguf
hy-mt2-1-8b-2bit-translation-gguf is a translation model from Arm. Use it when you need text moved from one language to another. It is set up for llama.cpp. The card lists the license as apache-2.0.
This repository packages a low-bit GGUF translation model derived from tencent/Hy-MT2-1.8B for multilingual translation with llama.cpp. Source and destination languages are runtime-configurable and default to English-…
Downloads · 30 days
325
61% of all-time downloads
All-time downloads
529
Public
Repo size
660 MB
Likes
1
Public
Click a slice to open those files.
.gguf660 MB · 100%
From the Hugging Face model README
This repository packages a low-bit GGUF translation model derived from
tencent/Hy-MT2-1.8B for
multilingual translation with llama.cpp. Source and destination languages are
runtime-configurable and default to English-to-Chinese translation.
Hy-MT2 1.8B is a multilingual translation model developed by Tencent Hunyuan. This package is derived from Tencent's 2-bit GGUF release and uses a higher-precision representation for the token embeddings.
tencent/Hy-MT2-1.8Btencent/Hy-MT2-1.8B-2Bit-GGUFFollow these steps to run Hy-MT2 1.8B 2-bit Translation — GGUF on macOS® with Apple Silicon or on Linux® with an Arm®-based CPU, such as a Raspberry Pi® 5.
git clone https://github.com/ARM-software/ComputeFlow.git && cd ComputeFlow
uv sync && source .venv/bin/activate
compute-flow update
compute-flow model install lm_text:lm-text-generic hy-mt2-1-8b-2bit-translation
compute-flow build native
python -m cli_examples.lm_text_cli \
-m @manifest/lm-text-generic/hy-mt2-1-8b-2bit-translation/hy_mt2_1_8b_manifest.json \
-p "Hello, how are you?" \
-n 64 \
-t 1
The bundled manifest translates the example English text into Chinese by default.
Quality evaluation results will be provided in a future update.
Performance was measured under the following conditions:
The following methodology and definitions were used:
| Metric | Q8_0 baseline | Q2_0C + Q8_0 embeddings | Uplift |
|---|---|---|---|
| Prompt prefill latency (p50) | 309.5 ms | 223.0 ms | 1.39× faster |
| Decode throughput (p50) | 25.06 tokens/s | 49.60 tokens/s | 1.98× faster |
| Average memory | 2891.52 MiB | 1088.24 MiB | 62.36% lower |
| Peak memory | 3796.88 MiB | 1512.55 MiB | 60.16% lower |
| Model size | 1820.11 MiB | 629.86 MiB | 2.89× smaller |
Lower latency and memory are better, while higher decode throughput is better.
The Q8_0 baseline uses the original
tencent/Hy-MT2-1.8B-GGUF
model.
Machine-readable results are provided in:
benchmarks/hy-mt2-1-8b-2bit-translation-vivo-x300.yamlbenchmarks/hy-mt2-1-8b-2bit-translation-vivo-x300-baseline.yamlTranslate input text between user-selected source and destination languages.
| Component role | Framework / format |
|---|---|
| Text tokenization and generation | llama.cpp / GGUF |
| Translation prompt construction | Manifest-configured template |
The main model weights use Q2_0C 2-bit per-channel quantization. Token embedding tensors use Q8_0 quantization.
Q2_0C is a proposed 2-bit data type introduced in
llama.cpp PR #19357 that applies
per-channel quantization. Its 2-bit scheme uses Stretched Elastic Quantization
(SEQ), introduced by Liu et al. (2026), to quantize weights to four levels:
-1.5, -0.5, +0.5, and +1.5.
| Input | Description |
|---|---|
| Source text | UTF-8 text to translate |
| Source language | Language name selected through src_lang |
| Destination language | Language name selected through dst_lang |
The model returns translated UTF-8 text in the selected destination language.
| Option | Default | Description |
|---|---|---|
src_lang | English | Source language name |
dst_lang | Chinese | Destination language name |
prompt_template | Bundled template | Translation prompt structure |
system_prompt | Bundled instruction | Translation instruction |
assistant_prefix | Empty string | Optional prefix for generated output |
Source and destination languages can be changed between requests without reloading the model.
hy_mt2_1_8b_manifest.json — model package manifest.*.gguf — quantized translation model.metadata.yaml — model and benchmark metadata.benchmarks/*.yaml — optimized and baseline benchmark reports.SHA256SUMS — model-bundle checksums for reproducibility.The packaged GGUF was derived from the official 2-bit release and requantized with Q8_0 token embedding tensors.
SHA256SUMS was generated by recursively hashing every regular file in the
model bundle, including files in subdirectories, except the generated root
SHA256SUMS and paths with a dotfile component.
From the model bundle root, verify the checked-out files with:
shasum -a 256 -c SHA256SUMS