跳到正文
arXiv (AI + Vision + Imaging)· MNN Team·· 14 天前精选AI 评分62

MNN团队发布0.3B端侧语言模型MNN-Pocket-0.3B技术报告

MNN-Pocket-0.3B Technical Report

AI 导读

MNN团队发布MNN-Pocket-0.3B技术报告,这是一款300M参数的稠密语言模型,支持最长32K tokens上下文,INT4部署占用173MB,在iPad Pro M5(Metal)上解码速度最高466 tokens/s。

推荐理由

原文给出0.3B端侧模型在INT4下173MB占用与466 tokens/s解码的具体数据,可作为评估手机与智能眼镜端侧部署可行性的参照。

正文 · 原文

arXiv:2611.12311v2 Announce Type: replace Abstract: This technical report presents MNN-Pocket-0.3B, a compact 300M-parameter dense language model designed for efficient on-device deployment and supporting context lengths of up to 32K tokens. With an INT4 deployment footprint of only 173 MB and decoding throughput of up to 466 tokens/s on iPad Pro M5 (Metal), it can be seamlessly integrated into applications on edge devices such as smartphones and smart glasses. MNN-Pocket-0.3B is developed through the co-design of its architecture, data, training pipeline, and inference system. Hardware-aware architecture selection and dependency-aware vocabulary pruning balance model capability with on-device memory and compute constraints. A four-stage pre-training pipeline covering approximately 4.1 trillion high-quality Chinese and English tokens equips the model with broad knowledge and reasoning capabilities. This is followed by a three-stage post-training pipeline comprising instruction fine-tuning, multi-teacher on-policy distillation, and quantization-aware training. Finally, hardware-specific optimizations in the MNN inference engine enable fast, memory-efficient inference and long-context processing. Extensive evaluations demonstrate that MNN-Pocket-0.3B achieves frontier-level performance among models of comparable size, with particularly strong results in Chinese and English knowledge and reasoning, mathematics, coding, and instruction following. It consistently outperforms similarly sized open-source models and even surpasses several 0.5B-parameter models on instruction-following benchmarks. We release MNN-Pocket-0.3B with open weights and ready-to-use MNN deployment packages. We hope it will provide a practical foundation for capable, responsive, and memory-efficient edge applications while advancing research and development in on-device language models.

来源:arXiv (AI + Vision + Imaging) · arxiv.org