Tencent releases Hy-MT1.5-1.8B-1.25bit for on-device translation
Tencent's new open-source translation model supports 33 languages and runs locally on smartphones using the Sherry quantization framework to reduce size to 440MB.
Tencent has released Hy-MT1.5-1.8B-1.25bit, an open-source translation model designed to run locally on smartphones without cloud connectivity. The model supports 33 languages and 1,056 translation directions, claiming to outperform larger open-source models like Qwen3-32B and commercial APIs such as Microsoft Translator. By enabling offline processing, the tool ensures data remains on the device while providing high-quality translation.
Reducing model size to 440MB via Sherry quantization
The model utilizes Sherry, a hardware-efficient ternary quantization framework accepted at ACL 2026. This method employs a 3:4 fine-grained sparsity strategy where, for every four weights, the three most significant are stored in 1-bit and the fourth is zeroed out. This process packs four weights into five bits, effectively achieving a 1.25-bit width.
This compression reduces the original 3.3GB FP16 model to approximately 440MB with minimal loss in accuracy. The toolkit used for this compression is AngelSlim, an internal Tencent project for efficient LLM reduction. A 2-bit version of the model is also available, which has a size of 574MB.
Local execution on mobile CPUs with STQ kernel
To ensure smooth performance on ordinary phones, Tencent developed a custom STQ kernel. This kernel provides SIMD instruction set alignment for mobile CPUs, allowing the 1.25-bit model to run efficiently on devices with limited memory. This approach is similar to how other open source tools for Android optimize hardware utilization.
The developers provided an Android demo that includes a background word extraction mode. This feature allows users to translate text within any active application, such as emails or chat messages, without switching apps. The demo has been tested on devices ranging from the Snapdragon 865 to the Snapdragon 7+ Gen 2.
Running the model via llama.cpp
The model is compatible with llama.cpp, and Tencent has submitted a PR (#22836) to the repository to support the STQ1_0 kernel. To set up the environment and run the model, the following commands are used:
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
git fetch origin pull/22836/head:pr-22836-stq_0
git checkout pr-22836-stq_0
pip install -r requirements.txt
cmake -B build
cmake --build build --config ReleaseTo download the weights and quantize the model to STQ1_0 format, users can execute:
pip install huggingface_hub
huggingface-cli download AngelSlim/Hy-MT1.5-1.8B-1.25bit --local-dir model_zoo/Hy-MT1.5-1.8B-1.25bit
python convert_hf_to_gguf.py model_zoo/Hy-MT1.5-1.8B-1.25bit --outfile model_zoo/Hy-MT1.5-1.8B-bf16.gguf --outtype bf16
./build/bin/llama-quantize model_zoo/Hy-MT1.5-1.8B-bf16.gguf model_zoo/Hy-MT1.5-1.8B-STQ1_0.gguf STQ1_0Once quantized, the model can be tested with a completion command:
./build/bin/llama-completion --model model_zoo/Hy-MT1.5-1.8B-STQ1_0.gguf -p "Translate the following segment into Chinese, without additional explanation. Hello " --jinja -ngl 0 -n 64 -stSources
Related news
Open-Source AIPrismML releases Ternary Bonsai 2 27B with 9x compressionThe new Ternary Bonsai 2 27B model based on Qwen3.8 27B reduces memory footprint to 5.9GB while retaining 98.2% of the original model's performance.·same source: huggingface.co
- AI AutomationGoogle Open-Sources ARTEMIS: AI Control for Android Phones Hits 99% BenchmarkGoogle released ARTEMIS, an open-source tool that turns natural-language instructions into Android automation with 99%+ success on AndroidWorld. It integrates via MCP with Claude Code, Codex, and othe·by shared tag
Open-Source AIMiniMax open-sources minimax-code terminal agentMiniMax has released the source code for its terminal-based coding agent, which shows higher success rates and lower costs than Codex and Claude Code in internal tests.·by shared tag
- AI AgentsCline Desktop: Open-Source Environment for Open-Weight ModelsCline Desktop provides a native environment for macOS and Windows to run autonomous coding agents with support for open-weight models and MCP servers.·by shared tag
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.