Downloads · 30 days
82
4% of all-time downloads
wangjazz/Hunyuan-MT1.5-1.8B-MNN
Hunyuan-MT1.5-1.8B-MNN is a translation model from wangjazz. Use it when you need text moved from one language to another. It is set up for mnn. The card lists the license as other.
This is a 4-bit quantized MNN version of Tencent's HY-MT1.5-1.8B translation model, optimized for Apple Silicon (iOS/macOS) edge inference.
Downloads · 30 days
82
4% of all-time downloads
All-time downloads
2K
Public
Repo size
2.1 GB
Likes
1
Public
Click a slice to open those files.
.weight1 GB · 100%
From the Hugging Face model README
This is a 4-bit quantized MNN version of Tencent's HY-MT1.5-1.8B translation model, optimized for Apple Silicon (iOS/macOS) edge inference.
HY-MT1.5-1.8B is a lightweight version of the HY-MT1.5 series, specifically designed for edge devices:
| Property | Value |
|---|---|
| Original Model | tencent/HY-MT1.5-1.8B |
| Original Size | ~3.8 GB |
| Quantized Size | 1.07 GB |
| Compression Ratio | 72% |
| Quantization Type | 4-bit (q4_k_m) |
| Block Size | 64 |
Optimized for Apple Silicon with:
├── llm.mnn # Model structure (576 KB)
├── llm.mnn.weight # Quantized weights (1.07 GB)
├── tokenizer.txt # Tokenizer vocabulary
├── llm_config.json # MNN runtime config
├── config.json # Model config
├── model_info.json # Model metadata
└── export_args.json # Conversion parameters
# Clone MNN and build llm_demo
git clone https://github.com/alibaba/MNN.git
cd MNN && mkdir build && cd build
cmake .. -DMNN_BUILD_LLM=ON -DMNN_LOW_MEMORY=ON
make -j8 llm_demo
# Run inference
cd /path/to/HY-MT1.5-1.8B-MNN
./llm_demo ./
User: Translate into English: 今天天氣很好
A: The weather is very nice today.
# Basic translation
Translate into {language}:
{text}
# With terminology
Translate into {language}, using terms: {terms}
{text}
# With context
Context: {context}
Translate into {language}:
{text}
| Metric | Value |
|---|---|
| Model Load Time | ~1s |
| Inference Speed | 40-60 tokens/s |
| Target Device | iOS / Apple Silicon |
| Memory Usage | < 2GB |
This model is ideal for iOS apps. Example using MNN iOS SDK:
import MNN
let llm = LLM(modelPath: "HY-MT1.5-1.8B-MNN")
let result = llm.generate("Translate into English: 今天天氣很好")
print(result) // "The weather is very nice today."
| Feature | 1.8B | 7B |
|---|---|---|
| Size | 1.07 GB | 4.47 GB |
| Speed | 40-60 tok/s | 20-30 tok/s |
| iOS Compatible | ✅ Yes | ⚠️ Mac only |
| Quality | Good | Excellent |
Choose 1.8B for: Mobile apps, real-time translation, resource-constrained devices
Choose 7B for: Desktop apps, highest translation quality, batch processing
This model inherits the license from the original HY-MT1.5-1.8B model.