PhoneLM:通过原则性预训练实现高效且能力出色的小型语言模型系列
PhoneLM:an Efficient and Capable Small Language Model Family through Principled Pre-training
AI总结:
针对设备端部署,提出以运行时效率为先的SLM设计原则,构建PhoneLM系列(0.5B/1.5B),实现最优能力-效率权衡,并开源代码、权重、数据及Android演示。
摘要:
开发用于设备端部署的小型语言模型(SLM)的兴趣正在快速增长。然而,现有的SLM设计很少考虑设备硬件特性。相反,本工作提出了一个简单而有效的SLM设计原则:在预训练之前,先进行架构搜索以获得(接近)最优的运行时效率。在此原则指导下,我们开发了PhoneLM SLM系列(目前有0.5B和1.5B版本),在相似参数规模的模型中实现了最先进的能力-效率权衡。我们完全开源了PhoneLM的代码、权重和训练数据集,包括基础版和指令版,以确保可复现性和透明度。我们还发布了一个能够准确调用Android Intent的微调版本PhoneLM,以及一个端到端的Android演示。所有材料可在https://github.com/UbiquitousLearning/PhoneLM获取。
英文摘要:
The interest in developing small language models (SLM) for on-device deployment is fast growing. However, the existing SLM design hardly considers the device hardware characteristics. Instead, this work presents a simple yet effective principle for SLM design: architecture searching for (near-)optimal runtime efficiency before pre-training. Guided by this principle, we develop PhoneLM SLM family (currently with 0.5B and 1.5B versions), that acheive the state-of-the-art capability-efficiency tradeoff among those with similar parameter size. We fully open-source the code, weights, and training datasets of PhoneLM for reproducibility and transparency, including both base and instructed versions. We also release a finetuned version of PhoneLM capable of accurate Android Intent invocation, and an end-to-end Android demo. All materials are available at https://github.com/UbiquitousLearning/PhoneLM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。