Downloads · 30 days
169
23% of all-time downloads
darkmaniac7/SmolLM2-1.7B-Instruct-MNN
SmolLM2-1.7B-Instruct-MNN is a text generation model from darkmaniac7. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Published by TokForge for on-device inference.
Downloads · 30 days
169
23% of all-time downloads
All-time downloads
740
Public
Repo size
1.2 GB
Likes
0
Public
Click a slice to open those files.
.weight963 MB · 83%
From the Hugging Face model README
Published by TokForge for on-device inference.
Runs on-device in the TokForge app.
Pre-converted SmolLM2 1.7B Instruct in MNN format for on-device inference with TokForge.
Original model by HuggingFace, converted to MNN Q4 for mobile deployment.
| Architecture | LlamaForCausalLM (32 layers, 2048 hidden) |
| Parameters | 1.7B (4-bit quantized) |
| Format | MNN (Alibaba Mobile Neural Network) |
| Quantization | W4A16 (4-bit weights, block size 128) |
| Vocab | 49,152 tokens |
| Source | HuggingFaceTB/SmolLM2-1.7B-Instruct |
HuggingFace's own SmolLM2, an ultra-compact 1.7B model designed for on-device inference. Runs on any phone, even budget devices with 4GB RAM. Surprisingly capable for its tiny size, great for quick Q&A, text completion, and simple tasks where speed matters more than depth.
| File | Description |
|---|---|
llm.mnn | Model computation graph |
llm.mnn.weight | Quantized weight data (Q4, block=128) |
llm_config.json | Model config with Jinja chat template |
tokenizer.txt | Tokenizer vocabulary |
config.json | MNN runtime config |
This model is optimized for TokForge, a free Android app for private, on-device LLM inference.
| Setting | Value |
|---|---|
| Backend | OpenCL (Qualcomm) / Vulkan (MediaTek) / CPU (fallback) |
| Precision | Low |
| Threads | 4 |
| Thinking | Off (or On for thinking-capable models) |
Converted using MNN's llmexport pipeline:
python llmexport.py --path HuggingFaceTB/SmolLM2-1.7B-Instruct --export mnn --quant_bit 4 --quant_block 128