ApX 标志

趋近智

Yi-9B

参数

9B

上下文长度

4.096K

模态

Text

架构

Dense

许可证

Apache 2.0

发布日期

6 Mar 2024

训练数据截止日期

Jun 2023

技术规格

注意力结构

Multi-Head Attention

隐藏维度大小

-

层数

44

注意力头

-

键值头

-

激活函数

SwigLU

归一化

-

位置嵌入

Absolute Position Embedding

系统要求

不同量化方法和上下文大小的显存要求

Yi-9B

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.

关于 Yi

Yi series models are large language models trained from scratch by 01.AI. Bilingual (English/Chinese), featuring strong performance in language understanding, reasoning, and code generation.


其他 Yi 模型

评估基准

排名适用于本地LLM。

排名

#30

基准分数排名

0.54

14

排名

排名

#30

编程排名

#29

GPU 要求

完整计算器

选择模型权重的量化方法

上下文大小:1024 个令牌

1k
2k
4k

所需显存:

推荐 GPU