arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.05355cs.CLcs.AI
收藏

Falcon Mamba:首个具备竞争力的无注意力7B语言模型

Falcon Mamba: The First Competitive Attention-free 7B Language Model

Technology Innovation Institute(技术创新研究院)

Jingwei Zuo, Maksim Velikanov, Dhia Eddine Rhaiem, Ilyas Chahed, Younes Belkada, Guillaume Kunsch, Hakim Hacid

AI总结:

本研究推出纯Mamba架构的Falcon Mamba 7B基座大模型,经5.8万亿token训练,性能超越多款同量级Transformer及混合架构模型,推理更快、长序列内存占用更低,为无注意力大模型的竞争力提供了实证。

摘要:

在本技术报告中,我们提出Falcon Mamba 7B——一款基于新型Mamba架构的全新基座大语言模型。Falcon Mamba 7B使用经过精心筛选的数据混合集,在5.8万亿token上完成训练。作为一款纯Mamba架构模型,Falcon Mamba 7B的表现超越了Mistral 7B、Llama3.1 8B、Falcon2 11B等主流开源Transformer架构大模型,性能与Gemma 7B相当,且优于RecurrentGemma 9B、RWKV-v6 Finch 7B/14B等采用不同架构设计的模型。根据Open LLM Leaderboard(开放大语言模型排行榜)的结果,Falcon Mamba 7B是目前公开文献中同规模下性能最优的Mamba模型,超越了现有纯Mamba模型及Mamba-Transformer混合架构模型。得益于自身架构特性,Falcon Mamba 7B的推理速度显著更快,且在生成长序列时所需内存大幅降低。尽管近期研究认为Mamba-Transformer混合架构模型的表现优于纯架构设计,我们的研究证明,纯Mamba设计同样能取得与Transformer架构、混合架构设计相当甚至更优的结果。我们已在https://huggingface.co/tiiuae/falcon-mamba-7b 上以宽松许可公开了Falcon Mamba 7B的实现权重。

英文摘要:

In this technical report, we present Falcon Mamba 7B, a new base large language model based on the novel Mamba architecture. Falcon Mamba 7B is trained on 5.8 trillion tokens with carefully selected data mixtures. As a pure Mamba-based model, Falcon Mamba 7B surpasses leading open-weight models based on Transformers, such as Mistral 7B, Llama3.1 8B, and Falcon2 11B. It is on par with Gemma 7B and outperforms models with different architecture designs, such as RecurrentGemma 9B and RWKV-v6 Finch 7B/14B. Currently, Falcon Mamba 7B is the best-performing Mamba model in the literature at this scale, surpassing both existing Mamba and hybrid Mamba-Transformer models, according to the Open LLM Leaderboard. Due to its architecture, Falcon Mamba 7B is significantly faster at inference and requires substantially less memory for long sequence generation. Despite recent studies suggesting that hybrid Mamba-Transformer models outperform pure architecture designs, we demonstrate that even the pure Mamba design can achieve similar, or even superior results compared to the Transformer and hybrid designs. We make the weights of our implementation of Falcon Mamba 7B publicly available on https://huggingface.co/tiiuae/falcon-mamba-7b, under a permissive license.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑