公司指南

猎鹰模型

Falcon 是由阿布扎比技术创新研究所(TII)公开发布的一系列大型语言模型。

听听这个指南AI叙述 · ~7 min

在本页阅读需 8 分钟
  1. 概述
  2. 主要要点
  3. 深入探讨
  4. 估算多查询注意力机制的内存节省量
  5. 现实世界的实施
  6. 猎鹰模型的未来
  7. 付诸实践
  8. 资料来源与延伸阅读
  9. 不断探索
  10. 常见问题

概述

Falcon-40B 在 2023 年位居 Hugging Face 开放模型排行榜榜首,并证明仅使用经过精心过滤的网络数据就能训练出强大的模型;后续版本转向了高效设计,例如无注意力机制的 Mamba 模型以及混合注意力与状态空间模型。

主要要点

  1. Falcon 是由阿布扎比技术创新研究所公开发布的一系列语言模型。
  2. Falcon-40B 在 2023 年发布时,在 Hugging Face 的开放大语言模型排行榜上排名第一,并采用对商业友好的 Apache 2.0 许可证。
  3. TII 的 RefinedWeb 研究表明,仅使用经过严格过滤和去重的网络数据,就能训练出具有竞争力的语言模型。
  4. Falcon-180B 使用 3.5 万亿个 token 进行训练,消耗了约 700 万 GPU 小时,在 16 位精度下需要大约 640 GB 的 GPU 内存。
  5. Falcon-H1 并行运行注意力和状态空间头,支持长达 256,000 个 token 的上下文,参数规模从 0.5 亿到 340 亿不等。

深入探讨

Falcon is the name of the large language models built by the Technology Innovation Institute (TII), a research institute in Abu Dhabi, United Arab Emirates. A large language model (LLM) is a neural network trained on large amounts of text to predict the next token, a word or word fragment, which lets it answer questions, write and summarize. TII releases Falcon models openly: anyone can download the weights, the learned numbers that make up the model, and run or fine-tune them on their own hardware. That openness, together with strong benchmark results, made Falcon one of the best-known model families from outside the United States and China.

The first widely used releases were Falcon-7B and Falcon-40B in 2023. Hugging Face reported in June 2023 that Falcon-40B was trained on 1 trillion tokens and Falcon-7B on 1.5 trillion, using 2,800 and 700 petaflop-days of compute respectively. Falcon-40B ranked first on Hugging Face's Open LLM Leaderboard at release, and both models were licensed under Apache 2.0, which allows commercial use. In September 2023 TII released Falcon-180B, trained on 3.5 trillion tokens using up to 4,096 GPUs and about 7 million GPU hours on Amazon SageMaker. At release it had the highest leaderboard score of any openly released pretrained model, 68.74, later revised to 67.85, on par with Llama 2 70B.

The central idea behind those models was data. TII's RefinedWeb paper, posted in June 2023, argued that properly filtered and deduplicated web data, and web data only, could match or beat curated mixtures of books, papers and conversations. Deduplication means removing repeated or near-identical documents so the model does not memorize them. The team extracted about 5 trillion tokens from Common Crawl, a public archive of web pages, and released a 600-billion-token portion. Hugging Face noted that over 80% of Falcon-7B and 40B's training data came from RefinedWeb. The November 2023 Falcon series paper described the 180B model's training run as the largest openly documented pretraining run at the time.

Architecture was the second theme. The early Falcon models used multiquery attention, in which all attention heads share one set of keys and values instead of each head having its own. During text generation a model stores keys and values for every past token in a key-value cache; sharing them shrinks that cache. Hugging Face's comparison for a 2,048-token context lists 240 MB for Falcon-40B against 5,400 MB for LLaMA-65B. From 2024 TII went further. Falcon Mamba 7B, described in an October 2024 paper and trained on 5.8 trillion tokens, uses the Mamba state-space architecture with no attention at all; a state-space model carries a fixed-size summary of everything read so far, so memory stays constant however long the text grows. In December 2024 the Falcon3 family added models of 1, 3, 7 and 10 billion parameters, the 7B trained on 14 trillion tokens on 1,024 H100 GPUs.

Falcon-H1, published in a July 2025 technical report, combined both approaches. Each layer runs attention heads and state-space heads in parallel, with the ratio between them adjustable. The family spans 0.5B, 1.5B, 1.5B-Deep, 3B, 7B and 34B parameters, supports contexts up to 256,000 tokens and 18 languages, and ships as more than 30 checkpoints. TII reports that the 34B model matches or beats models up to about 70 billion parameters, such as Llama 3.3 70B, and that the 0.5B model performs like typical 7B models from 2024. On January 5, 2026, TII released Falcon-H1R 7B, a reasoning model built on Falcon-H1; The Decoder reported TII's claim of a 49.5% average across four benchmarks against 46.2% for Qwen3 32B.

Compared with other open model families, Falcon's distinguishing traits are its emphasis on web-data quality, its early adoption of memory-saving attention and its turn to state-space and hybrid designs. Licenses differ by release, which matters for builders. Falcon-7B and 40B use Apache 2.0. Falcon-180B allows commercial use only under restrictive conditions that exclude hosting it as a service, according to Hugging Face. Newer models use the Falcon LLM license, which permits free and commercial use but requires following an acceptable use policy that TII can update at any time.

The limitations are those of most open models plus a few specific ones. Most performance figures for recent Falcon models are self-reported by TII, and The Decoder cautioned that benchmark scores only loosely track real-world usefulness, especially for small models. Falcon-180B's leaderboard lead was brief, and by its own revised score it was level with Llama 2 70B. Pure state-space models trade some ability to look back at exact earlier text for constant memory, which is one reason hybrid designs like Falcon-H1 reintroduce attention. As with any model trained mostly on web text, outputs can reflect web biases and errors, and openly released weights cannot be recalled once published.

Running Falcon models ranges from easy to expensive. Falcon-7B fits in about 15 GB of GPU memory, and Falcon-40B needs about 90 GB at 16-bit precision or about 27 GB at 4-bit. Falcon-180B needs about 640 GB, eight 80 GB A100 GPUs, at 16-bit precision, or 320 GB when quantized to 4-bit. The smaller Falcon3, Falcon-H1 and H1R models are designed for single GPUs, laptops and edge devices, and quantized versions are published on Hugging Face. Training a Falcon-scale model from scratch is far beyond most organizations: the 180B run used about 7 million GPU hours.

04工作示例

估算多查询注意力机制的内存节省量

  1. 选择 2,048 token 的上下文并查询 Hugging Face 的键值缓存数据:Falcon-40B 为 240 MB,LLaMA-65B 为 5,400 MB。

  2. 将 5,400 除以 240 得到比例 22.5,因此在该长度下 Falcon 的缓存约为 LLaMA 缓存的 4%。

  3. 按 16 个并发用户扩展:16×240 MB 约为 3.8 GB,而 16×5,400 MB 约为 86 GB。

  4. 加上模型权重:Falcon-40B 在 16 位精度下约 90 GB,因此缓存对 Falcon 总内存的影响几乎可以忽略。

  5. 需要注意的是,差距的一部分来源于模型规模不同,单纯的比例会高估注意力设计的影响。

  6. 与 Falcon Mamba 7B 对比,其状态空间层保持固定大小的状态,根本不存在增长的缓存。

它显示了什么

一个粗略的内存预算,说明共享键和值如何让 Falcon 在更少的 GPU 上服务更多用户或更长上下文。可通过在 Transformers 中加载 Falcon 检查点、在两种上下文长度下生成并对比峰值 GPU 内存与估算值进行验证。

现实世界的实施

Falcon-7B 需要约 15 GB GPU 显存,并在单块 16 GB NVIDIA T4 上完成微调,依据 Hugging Face 的数据,使得在 2023 年小团队也能使用功能强大的开源模型。

数据研究者使用 6000 亿 token 的 RefinedWeb 公共抽取(TII 过滤的 Common Crawl 数据集),研究纯网页数据与精选训练语料的差异。

Falcon Mamba 7B 在 5.8 万亿 token 上训练,使开发者能够测试一种注意力自由的模型,其内存使用不随生成文本长度增长。

Falcon-H1 系列参数量从 0.5 到 340 亿,支持最长 256,000 token 的上下文,覆盖 18 种语言,提供适用于小型硬件的长文档混合模型。

Falcon-H1R 7B 于 2026 年 1 月发布,是一款紧凑的推理模型,权重及量化的 GGUF 版本已在 Hugging Face 上提供本地部署。

猎鹰模型的未来

TII's releases since 2024 point toward smaller, more efficient models rather than ever-larger ones. After Falcon-180B in 2023, the institute moved to the attention-free Falcon Mamba 7B in 2024, the sub-10B Falcon3 family in December 2024, the hybrid Falcon-H1 family in July 2025 and the compact Falcon-H1R 7B reasoning model in January 2026. That path tracks a wider research question: whether hybrid attention and state-space designs can match pure Transformers on hard reasoning while staying cheaper for long contexts. TII's own benchmark claims are favorable, but independent evaluations at scale are still limited, and The Decoder noted the loose link between benchmark scores and real use for small models. Open issues for Falcon users include licensing, since newer models carry an acceptable use policy that TII can change, and language coverage, with Falcon-H1 trained on 18 languages. Whether Falcon remains among the leading open model families will depend on how its efficiency-focused designs perform against frequent releases from larger labs, which cannot be known yet.

付诸实践

为什么这很重要

  • 供应商策略. 供应商路线图会影响您的团队接下来可以构建的功能。
  • 成本与预算. 商业条款和部署选项会影响长期成本和风险。
  • 风险与安全. 公司激励措施塑造了产品默认、安全态势和开放性。

留意

  • 发布公告可能会超过实际生产工作流程的稳定性。
  • API 定价或政策转变可能会在一夜之间打破假设。
  • 单一供应商依赖性增加了锁定和迁移成本。

后续步骤

  1. 使用您自己的任务和数据集评估提供商。
  2. 在集成之前查看隐私、安全和法律条款。
  3. 维护跨模型或供应商的后备计划。
  4. 监控发行说明,以便路线图的更改不会让团队感到意外。

资料来源与延伸阅读

  1. arXiv (Technology Innovation Institute)Falcon 系列开源语言模型
  2. arXivRefinedWeb 数据集用于 Falcon 大语言模型:凭网页数据超越精选语料,仅用网页数据即可
  3. Hugging FaceFalcon 已登陆 Hugging Face 生态系统
  4. Hugging Face展开翅膀:Falcon 180B 已发布
  5. arXivFalcon Mamba:首款具竞争力的无注意力 7B 语言模型
  6. Hugging Face欢迎来到 Falcon 3 系列开源模型
  7. arXivFalcon-H1:重新定义效率与性能的混合头语言模型家族
  8. The Decoder阿布扎比 TII 声称其 Falcon H1R 7B 推理模型的能力相当于规模七倍的竞争对手

不断探索

免费通讯

获取每日AI简报

每个工作日早晨提供三条经过验证的AI故事,使用简明英文撰写。永久免费,无广告。

每个工作日发送一封邮件。一键退订。我们永不出售或分享您的地址。

测试一下自己

参加 Falcon 模型测验

每个答案即时反馈,课程通过后可获得可验证ID的可分享证书。

开始测验

支持免费AI教育。AI Understanding是一家501(c)(3)非营利组织——无广告,无付费墙,永不收费。 捐款

常见问题

什么是猎鹰模型?

Falcon 是阿布扎比技术创新研究所(TII)公开发布的大型语言模型家族。Falcon-40B 在 2023 年登上 Hugging Face 的开源模型排行榜首位,证明仅凭精心过滤的网页数据即可训练出强大的模型;后续版本转向高效设计,如无注意力的 Mamba 模型和混合注意力加状态空间模型。

哪个组织开发了 Falcon 模型?

Falcon 由位于阿联酋阿布扎比的政府支持的研究机构 TII 开发。

用于训练早期 Falcon 模型的 RefinedWeb 数据集有什么值得注意的地方?

RefinedWeb 表明,规模化、严格过滤的网络数据可以与精心策划的法学硕士培训语料库相媲美。

Falcon Transformer 模型使用什么注意力技术来节省推理内存?

多查询注意力让许多头共享一组键/值投影,从而减少内存并加快生成速度。

Falcon Mamba 在架构上与标准 Falcon 模型有何不同?

Falcon Mamba 使用选择性状态空间架构,用近乎恒定的记忆而不是变压器注意力来处理长序列。

Falcon型号一般都是在什么条件下发布的?

Falcon 模型在许可条款下公开发布,支持全球商业和研究用途。