趋近智
参数
7B
上下文长度
32K
模态
Text
架构
Dense
许可证
TII Falcon-LLM License 2.0
发布日期
17 Dec 2024
知识截止
-
注意力结构
Grouped-Query Attention
隐藏维度大小
4096
层数
36
注意力头
32
键值头
8
激活函数
SwigLU
归一化
RMS Normalization
位置嵌入
ROPE
不同量化方法和上下文大小的显存要求
Falcon 3-7B is a state-of-the-art instruction-tuned language model developed by the Technology Innovation Institute (TII). This model variant is a component of the Falcon 3 family, which focuses on enhancing capabilities in scientific domains, mathematics, and code generation. It is engineered for efficiency and scalability, enabling deployment on a range of infrastructures, including those with limited computational resources. The model supports multilingual applications, with training encompassing English, French, Spanish, and Portuguese, and is designed to handle long-context tasks.
The architectural foundation of Falcon 3-7B is a transformer-based causal decoder-only design, incorporating 28 decoder blocks. It utilizes Grouped Query Attention (GQA) to optimize inference speed and memory efficiency, configured with 12 query heads and 4 key-value heads, and a head dimension of 256. The model integrates Rotary Positional Embedding (RoPE) with a high value of 1000042 to facilitate effective understanding and processing of extended contexts up to 32,000 tokens. Activation functions are implemented using SwiGLU, complemented by RMSNorm for normalization, contributing to training stability and efficiency. It is also optimized to utilize FlashAttention-3.
Falcon 3-7B was pretrained on a dataset comprising 14 teratokens of diverse web, code, scientific, and high-quality multilingual data. Following pretraining, it underwent further fine-tuning on 1.2 million samples, specifically tailored for STEM content, conversational interactions, code, and safety compliance. This comprehensive training regimen positions the model for robust performance across various applications, including scientific and mathematical problem-solving, multilingual content generation, and processing long-form textual information. Its design supports instruction-following tasks, making it suitable for educational tools, research assistance, and the generation of technical documentation.
The TII Falcon 3 model family comprises open-source, decoder-only language models (1B-10B parameters) designed for efficiency. Key innovations include an extended 32K token context window, Grouped-Query Attention (GQA), and specialized versions for scientific and code-oriented applications. Some variants integrate Mamba-based architectures.
排名适用于本地LLM。
没有可用的 Falcon3-7B 评估基准。