Views
No views yet
| Property | Value |
|---|---|
| Original Model | tencent/HY-MT1.5-7B |
| Original Size | ~16 GB |
| Quantized Size | 4.47 GB |
| Compression Ratio | 72% |
| Quantization Type | 4-bit (q4_k_m) |
| Block Size | 64 |
├── llm.mnn # Model structure (576 KB)
├── llm.mnn.weight # Quantized weights (4.47 GB)
├── tokenizer.txt # Tokenizer vocabulary
├── llm_config.json # MNN runtime config
├── config.json # Model config
├── model_info.json # Model metadata
└── export_args.json # Conversion parameters1# Clone MNN and build llm_demo
2git clone https://github.com/alibaba/MNN.git
3cd MNN && mkdir build && cd build
4cmake .. -DMNN_BUILD_LLM=ON -DMNN_LOW_MEMORY=ON
5make -j8 llm_demo
6
7# Run inference
8cd /path/to/HY-MT1.5-7B-MNN
9./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 | ~3.5s |
| Inference Speed | 20-30 tokens/s |
| Target Device | Apple Silicon Mac |