趋近智
注意力结构
Multi-Head Attention
隐藏维度大小
-
层数
44
注意力头
-
键值头
-
激活函数
SwigLU
归一化
-
位置嵌入
Absolute Position Embedding
不同量化方法和上下文大小的显存要求
The Yi-9B model is an advanced large language model developed by 01.AI, designed to enhance performance across coding, mathematics, and reasoning tasks, while maintaining robust bilingual capabilities in English and Chinese. It is a key member of the Yi model family, which comprises open-source language models meticulously trained from scratch by 01.AI on an extensive multilingual corpus. This iterative development builds upon the foundation of the Yi-6B model, integrating architectural refinements and extensive multi-stage incremental training to optimize its capabilities.
Architecturally, Yi-9B employs a dense transformer structure. While it shares foundational principles with the Transformer architecture, similar to Llama models, it is not a direct derivative but rather an independently trained model. Key architectural innovations include the utilization of Grouped-Query Attention (GQA) for improved efficiency, especially pertinent for models in its parameter class. Positional encoding is managed through Rotary Position Embedding (RoPE), and the model incorporates the SwiGLU activation function within its layers, contributing to its performance characteristics.
The model's training regimen involved an initial expansion from Yi-6B, achieved through a method of depth increase, followed by multi-stage incremental training on an additional 0.8 trillion tokens. This rigorous training process, complementing the 3.1 trillion tokens used for Yi-6B, focused on enriching its understanding and generation capabilities in technical domains. Yi-9B demonstrates strong performance in areas such as code generation, mathematical problem-solving, common-sense reasoning, and reading comprehension. Its design emphasizes computational efficiency, making it suitable for a variety of deployment scenarios, including on consumer-grade hardware.
排名适用于本地LLM。
排名
#30
| 基准 | 分数 | 排名 |
|---|---|---|
Coding Aider Coding | 0.54 | 14 |