---
title: "BLOOM (language model) — 大型开放多语言语言模型"
source: "https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B"
wiki: "systems-analysis.info/int"
article: "BLOOM_(language_model)_—_大型开放多语言语言模型"
language: "zh"
categories:
  - "Category:Chinese"
  - "Category:Large language models"
  - "Category:LLM families"
  - "Category:Machine learning"
revision_id: 671
wiki_created_at: 2026-09-06T22:37:13Z
wiki_modified_at: 2026-09-06T22:37:13Z
downloaded_at: 2026-09-07T22:41:37Z
---

# BLOOM (language model) — 大型开放多语言语言模型

**BLOOM**（**B**igScience **L**arge **O**pen-science **O**pen-access **M**ultilingual Language Model）是一个拥有**1760亿**参数的开源大型语言模型（LLM）。它于2022年由**BigScience**项目开发，这是一个由Hugging Face公司支持的国际合作项目，汇集了来自70个国家的1000多名研究人员<sup>[\[1\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-bloom_blog-1)</sup>。

BLOOM是一个自回归的Transformer模型，能够用**46种自然语言**和**13种编程语言**生成连贯的文本。该模型在法国的Jean Zay超级计算机上进行训练，并成为首批真正开放的、可替代OpenAI的GPT-3等闭源模型的选择之一<sup>[\[2\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-lescao2022-2)</sup>。

## 背景与开发

**BigScience**计划于2021年5月启动，旨在通过合作创建一个大型开放语言模型，从而实现AI研究的民主化<sup>[\[1\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-bloom_blog-1)</sup>。当时，像GPT-3这样的前沿LLM都是由大公司闭源开发的，它们不公开模型架构、训练数据和源代码。BigScience项目汇集了全球一千多名志愿研究人员，共同创建一个具有竞争力且完全开放的模型。

该项目获得了在法国超级计算机**Jean Zay**（IDRIS/CNRS）上使用计算资源的资助。模型训练于2022年3月11日至7月6日进行<sup>[\[3\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-siliconangle_2022-3)</sup>。开发过程尽可能透明：团队遵循项目制定的道德章程，公布了有关数据选择、训练设置的信息，并进行了公开讨论。

## 架构与训练

### 模型架构

BLOOM基于自回归（*decoder-only*）Transformer架构构建，与GPT-3模型类似<sup>[\[2\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-lescao2022-2)</sup>。

| 参数              | 特性                |
|-------------------|---------------------|
| **类型**          | 仅解码器Transformer |
| **参数量**        | 176,247,271,424     |
| **层数 (layers)** | 70                  |
| **注意力头数**    | 112                 |
| **隐藏层维度**    | 14,336              |
| **序列长度**      | 2048个词元          |
| **激活函数**      | GeLU；ALiBi位置编码 |

BLOOM的架构特性<sup>[\[4\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-huggingface_model_card-4)</sup>

该模型基于Nvidia和Microsoft分别开发的**Megatron-LM**和**DeepSpeed**框架实现，并进行了一系列修改以支持高效的分布式训练<sup>[\[5\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-tech_behind_bloom-5)</sup>。

### 训练数据

BLOOM在一个专门创建的文本数据集**ROOTS**（The **R**esponsible **O**pen-science **O**pen-collaboration **T**ext **S**ources）上进行训练。数据总量为**1.6 TB**经过清洗和去重的文本（约3660亿个词元）<sup>[\[6\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-roots_paper-6)</sup>。

该数据集包含**59种语言**的文本：

- **46种自然语言**，包括英语（占30%的词元）、中文、法语、西班牙语、阿拉伯语，以及许多资源匮乏的语言（例如，奇图姆布卡语（Chi Tumbuka）——占0.00002%的词元）。
- **13种编程语言**，包括Python、Java、JavaScript和C++。

这个多语言、多领域的数据集是特意收集的，旨在使模型适用于广泛的语言社区。

## 性能与应用

尽管BLOOM是多语言模型，但在各种基准测试中，它表现出与Meta的OPT-175B等同等规模模型相媲美的竞争力<sup>[\[2\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-lescao2022-2)</sup>。

该模型能够在*zero-shot*（零样本）模式下（无需额外训练）执行多种任务，包括：

- 按指定风格生成文本。
- 文档摘要。
- 基于上下文的问答。
- 语言翻译。
- 生成简单的程序代码。

为了提高实用性，BigScience团队后来对模型进行了额外的多任务微调（*fine-tuning*），创建了**BLOOMZ**版本，该版本能更准确地遵循用户指令。

## 许可与开放获取

完整的1760亿参数BLOOM模型、其源代码和数据于2022年7月发布。该模型采用专门制定的**RAIL（Responsible AI License）v1.0**许可证进行分发<sup>[\[7\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-rail_license-7)</sup>。

该许可证允许免费使用和修改模型，但对其在特定领域的应用施加了一系列限制。特别是，禁止将BLOOM用于违背BigScience道德准则的目的，例如：

- 大规模监控。
- 算法歧视。
- 传播虚假信息。
- 控制致命武器系统。

BLOOM成为首个在许可证中明确规定负责任使用条款的大型AI模型<sup>[\[8\]](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_note-heikkila_2022-8)</sup>。

## 参考文献

- Hendrycks, D.; Gimpel, K. (2016). *Gaussian Error Linear Units (GELUs)*. <a href="https://arxiv.org/abs/1606.08415" class="external text" rel="nofollow">arXiv:1606.08415</a>.
- Shoeybi, M.; et al. (2019). *Megatron‑LM: Training Multi‑Billion Parameter Language Models Using Model Parallelism*. <a href="https://arxiv.org/abs/1909.08053" class="external text" rel="nofollow">arXiv:1909.08053</a>.
- Rajbhandari, S.; et al. (2020). *ZeRO: Memory Optimizations Toward Training Trillion Parameter Models*. <a href="https://arxiv.org/abs/1910.02054" class="external text" rel="nofollow">arXiv:1910.02054</a>.
- Press, O.; et al. (2021). *Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation*. <a href="https://arxiv.org/abs/2108.12409" class="external text" rel="nofollow">arXiv:2108.12409</a>.
- Le Scao, T.; et al. (2022). *BLOOM: A 176B‑Parameter Open‑Access Multilingual Language Model*. <a href="https://arxiv.org/abs/2211.05100" class="external text" rel="nofollow">arXiv:2211.05100</a>.
- Muennighoff, N.; et al. (2022). *BLOOMZ & mT0: A Cross‑Lingual Baseline for Instruction Finetuning*. <a href="https://arxiv.org/abs/2211.01786" class="external text" rel="nofollow">arXiv:2211.01786</a>.
- BigScience Workshop (2022). *BigScience OpenRAIL‑M License v1.0*. <a href="https://bigscience.huggingface.co/blog/bigscience-openrail-m" class="external text" rel="nofollow">Online specification</a>.
- Akiki, C.; et al. (2022). *BigScience: A Case Study in the Social Construction of a Multilingual Large Language Model*. <a href="https://arxiv.org/abs/2212.04960" class="external text" rel="nofollow">arXiv:2212.04960</a>.
- Yong, Z.‑X.; et al. (2022). *BLOOM+1: Adding Language Support to BLOOM for Zero‑Shot Prompting*. <a href="https://arxiv.org/abs/2212.09535" class="external text" rel="nofollow">arXiv:2212.09535</a>.
- Biderman, S.; et al. (2023). *The BigScience ROOTS Corpus: A 1.6 TB Composite Multilingual Dataset*. <a href="https://arxiv.org/abs/2303.03915" class="external text" rel="nofollow">arXiv:2303.03915</a>.

## 注释

1.  <span id="cite_note-bloom_blog-1">↑ <sup>[1.0](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-bloom_blog_1-0)</sup> <sup>[1.1](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-bloom_blog_1-1)</sup> “BLOOM”. *BigScience Blog*. <a href="https://bigscience.huggingface.co/blog/bloom" class="external autonumber" rel="nofollow">[1]</a></span>
2.  <span id="cite_note-lescao2022-2">↑ <sup>[2.0](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-lescao2022_2-0)</sup> <sup>[2.1](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-lescao2022_2-1)</sup> <sup>[2.2](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-lescao2022_2-2)</sup> Le Scao, T., et al. (2022). “BLOOM: A 176B-Parameter Open-Access Multilingual Language Model”. *arXiv:2211.05100*. <a href="https://arxiv.org/abs/2211.05100" class="external autonumber" rel="nofollow">[2]</a></span>
3.  <span id="cite_note-siliconangle_2022-3">[↑](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-siliconangle_2022_3-0) “Researchers open-source neural network with 176B parameters”. *SiliconANGLE*. <a href="https://siliconangle.com/2022/07/12/researchers-open-source-neural-network-176b-parameters/" class="external autonumber" rel="nofollow">[3]</a></span>
4.  <span id="cite_note-huggingface_model_card-4">[↑](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-huggingface_model_card_4-0) “bigscience/bloom”. *Hugging Face*. <a href="https://huggingface.co/bigscience/bloom" class="external autonumber" rel="nofollow">[4]</a></span>
5.  <span id="cite_note-tech_behind_bloom-5">[↑](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-tech_behind_bloom_5-0) “The Technology Behind BLOOM Training”. *Hugging Face Blog*. <a href="https://huggingface.co/blog/bloom-megatron-deepspeed" class="external autonumber" rel="nofollow">[5]</a></span>
6.  <span id="cite_note-roots_paper-6">[↑](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-roots_paper_6-0) Biderman, S. et al. (2023). “The BigScience ROOTS Corpus: A 1.6 TB Composite Multilingual Dataset”. *arXiv:2303.03915*. <a href="https://arxiv.org/abs/2303.03915" class="external autonumber" rel="nofollow">[6]</a></span>
7.  <span id="cite_note-rail_license-7">[↑](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-rail_license_7-0) “BigScience OpenRAIL-M”. *BigScience Blog*. <a href="https://bigscience.huggingface.co/blog/bigscience-openrail-m" class="external autonumber" rel="nofollow">[7]</a></span>
8.  <span id="cite_note-heikkila_2022-8">[↑](https://systems-analysis.info/int/BLOOM_(language_model)_%E2%80%94_%E5%A4%A7%E5%9E%8B%E5%BC%80%E6%94%BE%E5%A4%9A%E8%AF%AD%E8%A8%80%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B#cite_ref-heikkila_2022_8-0) Heikkilä, M. “BLOOM is the first AI model to be under a...”. *X*. <a href="https://mobile.twitter.com/Melissahei/status/1546870957402427393" class="external autonumber" rel="nofollow">[8]</a></span>
