ApX 标志

趋近智

Falcon-7B

参数

7B

上下文长度

2.048K

模态

Text

架构

Dense

许可证

Apache 2.0

发布日期

5 Jun 2023

知识截止

-

技术规格

注意力结构

Multi-Query Attention

隐藏维度大小

4544

层数

32

注意力头

71

键值头

1

激活函数

-

归一化

Layer Normalization

位置嵌入

ROPE

系统要求

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

Falcon-7B

Falcon-7B is a 7 billion parameter causal decoder-only language model developed by the Technology Innovation Institute (TII). Its primary purpose is to serve as a high-performance, efficient foundation for a wide array of natural language processing tasks, encompassing both language understanding and generation capabilities. The model's design emphasizes utility within research and commercial applications, providing a robust open-source option for developers and practitioners.

Architecturally, Falcon-7B builds upon the transformer framework, incorporating specific modifications to optimize performance and efficiency. A core innovation is the implementation of Multi-Query Attention (MQA), which enhances inference speed and reduces memory overhead by allowing all attention heads to share a single key and value projection. This contrasts with traditional multi-head attention that uses separate projections for each head. Furthermore, the model integrates FlashAttention, a technique that significantly accelerates both training and inference computations through memory-efficient attention mechanisms. Positional encoding is handled via Rotary Positional Embeddings (RoPE), contributing to the model's ability to process sequence information effectively. The decoder blocks feature a parallel arrangement of attention and Multi-Layer Perceptron (MLP) components, unified by a single layer normalization.

Trained on a vast dataset of 1,500 billion tokens, primarily sourced from the RefinedWeb corpus and augmented with curated datasets, Falcon-7B exhibits proficiency in generating coherent and contextually relevant text. Its architectural optimizations are specifically tailored to facilitate efficient inference, making it well-suited for deployment in scenarios where rapid response times are critical. Common use cases include text generation, chatbots, summarization, and question answering. The model is released under the Apache 2.0 license, permitting broad commercial use and fostering its integration into various AI-driven solutions and continued research endeavors.

关于 Falcon

The TII Falcon model family comprises causal decoder-only language models (7B, 40B). Their architecture, adapted from GPT-3, integrates rotary positional embeddings, Multi-Query Attention for inference efficiency, and FlashAttention for accelerated operations. Models are trained on the RefinedWeb dataset.


其他 Falcon 模型

评估基准

排名适用于本地LLM。

没有可用的 Falcon-7B 评估基准。

排名

排名

-

编程排名

-

GPU 要求

完整计算器

选择模型权重的量化方法

上下文大小:1024 个令牌

1k
1k
2k

所需显存:

推荐 GPU

Falcon-7B: Specifications and GPU VRAM Requirements