RecurrentGemma:超越 Transformers 的高效开放语言模型
RecurrentGemma: Moving Past Transformers for Efficient Open Language Models
AI总结:
本文提出基于 Griffin 架构的开放语言模型 RecurrentGemma,通过结合线性递归与局部注意力降低内存并提升长序列推理效率,提供 2B 和 9B 参数的预训练及指令微调版本,在更少 tokens 训练下达到与 Gemma 相当的性能。
摘要:
我们推出了 RecurrentGemma,这是一系列使用 Google 新颖的 Griffin 架构的开放语言模型。Griffin 结合了线性递归与局部注意力,以在语言上实现卓越性能。它具有固定大小的状态,从而减少了内存使用,并能在长序列上实现高效推理。我们提供了两种规模的模型,分别包含 2B 和 9B 参数,并为两者均提供了预训练和指令微调的变体。尽管在更少的 tokens 上进行训练,我们的模型仍取得了与同等规模的 Gemma 基线相当的性能。
英文摘要:
We introduce RecurrentGemma, a family of open language models which uses Google's novel Griffin architecture. Griffin combines linear recurrences with local attention to achieve excellent performance on language. It has a fixed-sized state, which reduces memory use and enables efficient inference on long sequences. We provide two sizes of models, containing 2B and 9B parameters, and provide pre-trained and instruction tuned variants for both. Our models achieve comparable performance to similarly-sized Gemma baselines despite being trained on fewer tokens.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。