Tiiny/SmallThinker-4BA0.6B-Instruct 已完整同步
SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deployment
Paper: SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deployment Code: https://github.com/SJTU-IPADS/SmallThinker Project Page: https://powerinfer.ai/
Abstract
While frontier large language models (LLMs) continue to push capability boundaries, their deployment remains confined to GPU-powered cloud infrastructure. We challenge this paradigm with SmallThinker, a family of LLMs natively designed - not adapted - for the unique constraints of local devices: weak computational power, limited memory, and slow storage. Unlike traditional approaches that mainly compress existing models built for clouds, we architect SmallThinker from the ground up to thrive within these limitations. Our innovation lies in a deployment-aware architecture that transforms constraints into design principles. First, We introduce a two-level sparse structure combining fine-grained Mixture-of-Experts (MoE) with sparse feed-forward networks, drastically reducing computational demands without sacrificing model capacity. Second, to conquer the I/O bottleneck of slow storage, we design a pre-attention router that enables our co-designed inference engine to prefetch expert parameters from storage while computing attention, effectively hiding storage latency that would otherwise cripple on-device inference. Third, for memory efficiency, we utilize NoPE-RoPE hybrid sparse attention mechanism to slash KV cache requirements. We release SmallThinker-4B-A0.6B and SmallThinker-21B-A3B, which achieve state-of-the-art performance scores and even outperform larger LLMs. Remarkably, our co-designed system mostly eliminates the need for expensive GPU hardware: with Q4_0 quantization, both models exceed 20 tokens/s on ordinary consumer CPUs, while consuming only 1GB and 8GB of memory respectively. SmallThinker is publicly available at this http URL and this http URL .
Introduction
🤗 Hugging Face | 🤖 ModelScope | 📑 Technical Report
SmallThinker is a family of on-device native Mixture-of-Experts (MoE) language models specially designed for local deployment, co-developed by the IPADS and School of AI at Shanghai Jiao Tong University and Zenergize AI. Designed from the ground up for resource-constrained environments, SmallThinker brings powerful, private, and low-latency AI directly to your personal devices, without relying on the cloud.
Performance
Note: The model is trained mainly on English.
| Model | MMLU | GPQA-diamond | GSM8K | MATH-500 | IFEVAL | LIVEBENCH | HUMANEVAL | Average |
|---|---|---|---|---|---|---|---|---|
| SmallThinker-4BA0.6B-Instruct | 66.11 | 31.31 | 80.02 | 60.60 | 69.69 | 42.20 | 82.32 | 61.75 |
| Qwen3-0.6B | 43.31 | 26.77 | 62.85 | 45.6 | 58.41 | 23.1 | 31.71 | 41.67 |
| Qwen3-1.7B | 64.19 | 27.78 | 81.88 | 63.6 | 69.50 | 35.60 | 61.59 | 57.73 |
| Gemma3nE2b-it | 63.04 | 20.2 | 82.34 | 58.6 | 73.2 | 27.90 | 64.63 | 55.70 |
| Llama-3.2-3B-Instruct | 64.15 | 24.24 | 75.51 | 40 | 71.16 | 15.30 | 55.49 | 49.41 |
| Llama-3.2-1B-Instruct | 45.66 | 22.73 | 1.67 | 14.4 | 48.06 | 13.50 | 37.20 | 26.17 |
For the MMLU evaluation, we use a 0-shot CoT setting.
All models are evaluated in non-thinking mode.
Speed
| Model | Memory(GiB) | i9 14900 | 1+13 8gen4 | rk3588 (16G) | rk3576 | Raspberry PI 5 | RDK X5 | rk3566 | |---|---|---|---|--
16 个文件
浏览文件数据集版权信息
本数据集的许可证为 Apache License 2.0。如有违反相关条款,请联系 WEHUB,我们将及时处理。 查看许可证
通过 WeHub CLI 下载当前数据集快照。下列命令会固定为当前页面展示的数据版本(如果页面提供版本)。文件字节由本机直连存储下载,浏览器不会签发或保存下载链接。
前置要求
需要 Node.js 18 及以上,以及 npm(或 npx)。
1. 安装 CLI
npm install -g wehub-cli@latest
2. 下载此数据集
wehub datasets download ds_ext_4209_79ebbce0f0 --revision a24932bb880c85c04c794283202a9194b1b42709 --output ./ds_ext_4209_79ebbce0f0
若中断或部分失败,在同一目录重新执行同一命令即可续传。默认会校验 SHA-256。
免全局安装
npx --yes wehub-cli@latest datasets download ds_ext_4209_79ebbce0f0 --revision a24932bb880c85c04c794283202a9194b1b42709 --output ./ds_ext_4209_79ebbce0f0
高级选项
以下为 wehub datasets download 已支持的参数示例:
强制重新下载,不复用已校验的本地文件
wehub datasets download ds_ext_4209_79ebbce0f0 --revision a24932bb880c85c04c794283202a9194b1b42709 --output ./ds_ext_4209_79ebbce0f0 --overwrite
仅包含匹配路径
wehub datasets download ds_ext_4209_79ebbce0f0 --revision a24932bb880c85c04c794283202a9194b1b42709 --output ./ds_ext_4209_79ebbce0f0 --include "*.jsonl"
排除匹配路径
wehub datasets download ds_ext_4209_79ebbce0f0 --revision a24932bb880c85c04c794283202a9194b1b42709 --output ./ds_ext_4209_79ebbce0f0 --exclude "*.md"
提高并发下载数
wehub datasets download ds_ext_4209_79ebbce0f0 --revision a24932bb880c85c04c794283202a9194b1b42709 --output ./ds_ext_4209_79ebbce0f0 --jobs 8
完整帮助:wehub datasets download --help