Fox-1:面向云端与边缘的开放小型语言模型
Fox-1: Open Small Language Model for Cloud and Edge
AI总结:
Fox-1系列小型语言模型通过3万亿token预训练、50亿token指令微调、3阶段数据课程及GQA等架构设计,在云端和边缘场景中实现了与同类模型相当或更优的性能和效率,并以Apache 2.0开源。
摘要:
我们提出Fox-1,这是一系列小型语言模型(SLMs),包括Fox-1-1.6B和Fox-1-1.6B-Instruct-v0.1。这些模型在3万亿个网页抓取文档数据token上进行预训练,并使用50亿个指令遵循和多轮对话数据token进行微调。为了提高预训练效率,Fox-1-1.6B模型在所有训练数据上引入了一种新颖的3阶段数据课程,序列长度为2K-8K。在架构设计上,Fox-1具有更深的层结构、扩展的词表,并采用分组查询注意力(Grouped Query Attention, GQA),与其他SLMs相比,提供了高性能且高效的架构。与StableLM-2-1.6B、Gemma-2B、Qwen1.5-1.8B和OpenELM1.1B相比,Fox-1在各种基准测试中取得了更好或相当的性能,并具有有竞争力的推理速度和吞吐量。模型权重已在Apache 2.0许可证下发布,我们旨在促进LLMs的民主化,使其完全可供整个开源社区访问。
英文摘要:
We present Fox-1, a series of small language models (SLMs) consisting of Fox-1-1.6B and Fox-1-1.6B-Instruct-v0.1. These models are pre-trained on 3 trillion tokens of web-scraped document data and fine-tuned with 5 billion tokens of instruction-following and multi-turn conversation data. Aiming to improve the pre-training efficiency, Fox-1-1.6B model introduces a novel 3-stage data curriculum across all the training data with 2K-8K sequence length. In architecture design, Fox-1 features a deeper layer structure, an expanded vocabulary, and utilizes Grouped Query Attention (GQA), offering a performant and efficient architecture compared to other SLMs. Fox-1 achieves better or on-par performance in various benchmarks compared to StableLM-2-1.6B, Gemma-2B, Qwen1.5-1.8B, and OpenELM1.1B, with competitive inference speed and throughput. The model weights have been released under the Apache 2.0 license, where we aim to promote the democratization of LLMs and make them fully accessible to the whole open-source community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。