# Hugging Face

**Hugging Face** 是一家美国公司，运营着 [Hugging Face Hub](https://www.edgepedia.org/zh/hugging-face-hub)——一个基于 Git 的在线平台，机器学习社区在上面共享模型、数据集和演示应用；公司同时维护着 [Transformers](https://www.edgepedia.org/zh/hugging-face-transformers)、Datasets、Tokenizers 等一系列开源库。<sup>[1](https://huggingface.co/docs/hub/main/index)</sup> 公司于 2016 年在纽约市由克莱芒·德朗格（Clément Delangue，首席执行官）、朱利安·肖蒙（Julien Chaumond，首席技术官）和[托马斯·沃尔夫](https://www.edgepedia.org/zh/thomas-wolf)（Thomas Wolf，首席科学官）创立，最初是一款面向青少年的聊天机器人应用；2018 年开源 Transformers 库之后，公司于 2019 年转向开源机器学习基础设施。<sup>[2](https://research.contrary.com/company/hugging-face)</sup> 如今 Hub 已成为共享开放机器学习产物的通用场所，2026 年英伟达（NVIDIA）同意以 129.3 亿美元收购该公司。<sup>[3](https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face/)</sup>

| 关键事实 | 详情 |
|---|---|
| 成立 | 2016 年，纽约市，由克莱芒·德朗格、朱利安·肖蒙和托马斯·沃尔夫创立；最初是一款面向青少年的聊天机器人应用<sup>[2](https://research.contrary.com/company/hugging-face)</sup> |
| Hub 内容 | Hub 上托管着超过 200 万个模型、150 万个数据集和 150 万个 AI 应用（Spaces）<sup>[1](https://huggingface.co/docs/hub/main/index)</sup> |
| 核心库 | Transformers（涵盖文本、视觉、音频、视频和多模态任务的模型定义），以及 Datasets、Tokenizers 等相关工具<sup>[4](https://github.com/huggingface/transformers)</sup> |
| 融资 | 截至 2026 年 1 月共融资 3.952 亿美元；最近一轮为 2023 年 8 月由 Salesforce Ventures 领投的 2.35 亿美元 D 轮融资，投后估值 45 亿美元<sup>[2](https://research.contrary.com/company/hugging-face)</sup> |
| 收购 | 英伟达同意以 12,930,300,000 美元收购 Hugging Face，2026 年 9 月 3 日确认<sup>[3](https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face/)</sup><sup> • </sup><sup>[5](https://techcrunch.com/2026/09/03/nvidia-confirms-it-will-buy-hugging-face-for-12-9-billion/)</sup> |
| 营收 | Sacra 估计 2026 年 8 月的年度经常性收入为 1.5 亿美元，高于 2025 年底估计的 8100 万美元；公司本身不直接披露该数字<sup>[6](https://sacra.com/c/hugging-face/)</sup><sup> • </sup><sup>[7](https://betanews.com/article/hugging-face-13-billion-sale/)</sup> |
| 变现方式 | 免费增值与开放核心：Hub 和各类库免费，另有付费的 Pro（每月 9 美元）、Team（每用户每月 20 美元）和企业版方案，以及按用量计费的计算资源<sup>[8](https://huggingface.co/docs/hub/main/billing)</sup><sup> • </sup><sup>[9](https://www.digitalocean.com/resources/articles/hugging-face-vs-replicate)</sup> |

## 历史

公司于 2016 年以面向青少年的消费级聊天机器人起步，名字取自“拥抱脸”表情符号，并通过 Betaworks 加速器获得了早期种子资金。<sup>[2](https://research.contrary.com/company/hugging-face)</sup><sup> • </sup><sup>[7](https://betanews.com/article/hugging-face-13-billion-sale/)</sup> 转折点出现在 2018 年底，谷歌（Google）发布了 BERT（基于变换器的双向编码器表示）。Hugging Face 团队在一周内制作并开源了 BERT 的 PyTorch 实现，这明确了公司的方向，并促使其在 2019 年转向开源机器学习基础设施。<sup>[2](https://research.contrary.com/company/hugging-face)</sup> Sacra 将产品市场契合的时间定在 2018 年，当时公司开源了为运行其聊天机器人而构建的 Transformers 库，其中包含 30 个预训练模型。<sup>[6](https://sacra.com/c/hugging-face/)</sup>

2019 年，模型 Hub（Model Hub）随之推出，定位为“模型界的 GitHub”：一个开放平台，任何人都可以通过 Git LFS 上传、下载模型权重并对其进行版本控制。<sup>[10](https://zsjunai.github.io/history-of-ai/en/houses/huggingface)</sup> 托马斯·沃尔夫及其同事的 Transformers 库论文发表于 EMNLP 2020 的系统演示分会场；当时 Hub 上存有 2,097 个用户上传的预训练和微调模型，其中 BERT 和 GPT-2 最受欢迎。<sup>[11](https://aclanthology.org/2020.emnlp-demos.6.pdf)</sup> 2021 年初，Hub 上的模型数量突破 1 万个。2022 年下半年，[Stable Diffusion](https://www.edgepedia.org/zh/stable-diffusion) 在 Hub 上迅速走红；2022 年 7 月，[BigScience](https://www.edgepedia.org/zh/bigscience) 协作项目发布了 BLOOM——一个覆盖 46 种自然语言和 13 种编程语言的 1760 亿参数模型，其权重以负责任人工智能许可证（RAIL）发布。2023 年 Meta 发布 [Llama 2](https://www.edgepedia.org/zh/llama-2) 后，Hub 成为其官方分发渠道。<sup>[10](https://zsjunai.github.io/history-of-ai/en/houses/huggingface)</sup>

## 产品与生态

**Hub** 是核心：面向模型、数据集和应用的基于 Git 的仓库，以及用于非版本化、可变对象存储的存储桶（Storage Buckets）。<sup>[1](https://huggingface.co/docs/hub/main/index)</sup> 围绕它是一套库栈，覆盖从数据准备到训练、对齐和部署的完整流水线：Datasets、基于 Rust 的 Tokenizers、Accelerate、PEFT（包括 LoRA）和 TRL。<sup>[10](https://zsjunai.github.io/history-of-ai/en/houses/huggingface)</sup>

**Transformers** 充当模型定义框架，支持文本、计算机视觉、音频、视频和多模态模型领域最先进的机器学习，兼顾推理与训练。Hub 上有超过 100 万个 Transformers 模型检查点；受支持的模型定义可与 Axolotl、Unsloth、DeepSpeed、FSDP 和 PyTorch-Lightning 等训练框架，以及 vLLM、SGLang 和 TGI 等推理引擎兼容。<sup>[4](https://github.com/huggingface/transformers)</sup> 自 2020 年的论文以来，该库同时支持 PyTorch 和 [TensorFlow](https://www.edgepedia.org/zh/tensorflow)，并实现两个框架之间的互操作。<sup>[11](https://aclanthology.org/2020.emnlp-demos.6.pdf)</sup>

典型的工作流从上传到部署：从业者将模型或数据集推送到 Hub 仓库，用模型卡或数据集卡加以说明，然后可以通过 Spaces——Hub 的应用托管服务——对外提供服务；Spaces 支持 Gradio 和 Streamlit 的 Python SDK、静态 HTML/CSS/[JavaScript](https://www.edgepedia.org/zh/javascript) 页面以及基于 Docker 的部署。<sup>[1](https://huggingface.co/docs/hub/main/index)</sup> 若要在无需管理服务器的情况下进行推理，Hub 通过推理提供方（Inference Providers）提供无服务器的编程 API，以及按用量计费的专用推理端点（Inference Endpoints）。<sup>[1](https://huggingface.co/docs/hub/main/index)</sup><sup> • </sup><sup>[8](https://huggingface.co/docs/hub/main/billing)</sup>

## Hub 如何运作

每个模型仓库都是一个受版本控制的文件夹，可以包含模型的所有文件，并配有一个承载元数据的落地页。上传内容可以包含遵循米切尔（Mitchell）等人模型卡框架的模型卡，描述模型的训练属性、预训练期间使用的数据集、引用文献，以及模型及其预测中已知的偏差。<sup>[11](https://aclanthology.org/2020.emnlp-demos.6.pdf)</sup> 模型卡的概念源自[玛格丽特·米切尔](https://www.edgepedia.org/zh/margaret-mitchell)（Margaret Mitchell）、蒂姆尼特·格布鲁（Timnit Gebru）及其谷歌同事 2018 年的论文《模型卡用于模型报告》，该文在 2019 年 ACM 公平、问责与透明会议上发表。<sup>[12](https://aiwiki.ai/wiki/model_hubs)</sup> 模型仓库还可以附带任务元数据、语言、评估结果和 TensorBoard 训练指标图表。<sup>[1](https://huggingface.co/docs/hub/main/index)</sup>

**安全**是一个现实问题，因为许多模型以 [Python pickle](https://www.edgepedia.org/zh/python-pickle) 文件形式分发，这种格式在文件被反序列化的瞬间就能执行任意代码；研究人员屡次在 Hub 上发现利用这一点的恶意模型，促使平台对上传内容进行恶意软件扫描。<sup>[12](https://aiwiki.ai/wiki/model_hubs)</sup> Hugging Face 还通过与 [VirusTotal](https://www.edgepedia.org/zh/virustotal) 合作，对其 220 多万个公共仓库进行扫描，作为一项安全合规服务。<sup>[6](https://sacra.com/c/hugging-face/)</sup>

## 数字一览

规模数字因日期和统计方法而异。Hub 文档统计有超过 200 万个模型、150 万个数据集和 150 万个 Spaces。<sup>[1](https://huggingface.co/docs/hub/main/index)</sup> 截至 2026 年 8 月 14 日，平台托管了 300 多万个模型和 100 万个数据集，仅 2025 年就新增约 118 万个新模型。<sup>[7](https://betanews.com/article/hugging-face-13-billion-sale/)</sup> 英伟达的公告称，有超过 1800 万名开发者和 20 多万家公司使用该平台，平台上有 300 万个模型、50 万个数据集和 100 万个应用。<sup>[3](https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face/)</sup> Sacra 依据公司声明报告称，平台有 1300 万用户，分布在 50 万个组织中，超过 30% 的[财富500强](https://www.edgepedia.org/zh/fortune-500)企业持有已验证账户；不同来源的用户数字并不一致（1300 万用户、1500 万名构建者和超过 1800 万名开发者都曾被提及）。<sup>[6](https://sacra.com/c/hugging-face/)</sup><sup> • </sup><sup>[3](https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face/)</sup> 2026 年底的数据集数量在不同来源之间也存在分歧：英伟达和 [TechCrunch](https://www.edgepedia.org/zh/techcrunch) 的公告称 50 万个，而公司自己 2026 年夏季的数字为 100 万个。<sup>[3](https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face/)</sup><sup> • </sup><sup>[7](https://betanews.com/article/hugging-face-13-billion-sale/)</sup>

累计活动量巨大：自 2019 年作为 PyTorch 格式 BERT 和 GPT-2 模型的分发点启动以来，模型 Hub 已录得 17 亿次累计独立下载。<sup>[13](https://arxiv.org/html/2512.03073v1)</sup> Transformers 库每天安装超过 300 万次，是超过 12 亿次累计安装的一部分；2026 年 1 月至 8 月间，Spaces 从 100 万个增长到 144 万个。<sup>[7](https://betanews.com/article/hugging-face-13-billion-sale/)</sup> huggingface/transformers 的 GitHub 仓库创建于 2018 年 10 月 29 日，采用 Apache 2.0 许可证，现有 167,599 个星标和 34,847 次复刻。<sup>[4](https://github.com/huggingface/transformers)</sup>

## 商业模式与合作

Hugging Face 将其模式描述为：为机器学习社区构建协作平台，并通过提供高级功能和便捷的 AI 计算访问来实现变现。<sup>[8](https://huggingface.co/docs/hub/main/billing)</sup> 其结构是免费增值加开放核心：Transformers 库、模型 Hub 和数据集 Hub 免费且开源，收入来自订阅、基于用量的基础设施费用和企业合同。<sup>[2](https://research.contrary.com/company/hugging-face)</sup> 公司表示，其年化运行收入已突破 1 亿美元，同时为 97% 的用户保持平台免费和开源。<sup>[14](https://analyticsindiamag.com/ai-news/hugging-face-crosses-100-million-in-annual-run-rate)</sup> Sacra 估计 2026 年 8 月的年度经常性收入为 1.5 亿美元，高于 2025 年底估计的 8100 万美元和 2023 年 8 月约 3000 万美元的水平；betanews 仅报道收入“估计超过 1 亿美元”，公司本身不直接披露该数字。<sup>[6](https://sacra.com/c/hugging-face/)</sup><sup> • </sup><sup>[7](https://betanews.com/article/hugging-face-13-billion-sale/)</sup>

付费档位包括每月 9 美元的 Pro 账户、每用户每月 20 美元的 Team 账户，以及每用户每月 50 美元的企业账户，提供更高的存储、带宽和 API 速率限制，以及可在推理提供方、推理端点、升级版 Spaces 硬件和 Jobs 之间使用的每月计算额度。<sup>[9](https://www.digitalocean.com/resources/articles/hugging-face-vs-replicate)</sup><sup> • </sup><sup>[8](https://huggingface.co/docs/hub/main/billing)</sup> 计算服务按用量计费，可从账单仪表板监控；推理端点的基于 CPU 的实例起价为每小时 0.033 美元。<sup>[8](https://huggingface.co/docs/hub/main/billing)</sup><sup> • </sup><sup>[2](https://research.contrary.com/company/hugging-face)</sup>

**云合作**是第二条收入渠道：Hugging Face 与 AWS、Azure 和谷歌云合作，让客户可以在自己选择的云中使用其解决方案，由云服务商直接计费。<sup>[8](https://huggingface.co/docs/hub/main/billing)</sup> 与微软（Microsoft）的合作将超过 1 万个 Hugging Face 模型放入 Azure AI Foundry，供一键部署使用；谷歌云上 Hugging Face 的使用量在三年内增至原来的 10 倍。<sup>[6](https://sacra.com/c/hugging-face/)</sup> 2025 年 3 月，Cerebras 与 Hugging Face 宣布合作，将 Cerebras Inference 集成到 Hub 中，以每秒超过 2000 个令牌的速度运行 Llama 3.3 70B 等模型，号称比领先的 GPU 解决方案快 70 倍，服务于当时使用推理 API 的 500 万名开发者。<sup>[15](https://www.businesswire.com/news/home/20250311323559/en/Hugging-Face-Partners-with-Cerebras-to-Give-Developers-Access-to-Industrys-Fastest-AI-Inference-for-Open-Source-Models)</sup>

## 与其他平台的比较

Hub 最接近的通用型对应物是 ModelScope——阿里巴巴达摩院于 2022 年 11 月推出的开放模型即服务平台，常被称为中国版的 Hugging Face，据报道截至 2025 年 10 月拥有超过 12 万个开源模型。<sup>[12](https://aiwiki.ai/wiki/model_hubs)</sup> 框架原生的 Hub 范围更窄：PyTorch Hub 本身不托管权重，而是通过 hubconf.py 入口文件从 GitHub 仓库加载模型；TensorFlow Hub 已弃用并并入 Kaggle Models；ONNX Model Zoo 已归档并迁移到 Hugging Face。<sup>[12](https://aiwiki.ai/wiki/model_hubs)</sup> 早在 2020 年，Transformers 论文就提出了这一区别，将 Hub 描述为与 Torch Hub、TensorFlow Hub 等通用 Hub 相比的领域专用平台，这使得自动模型分析、模型页面上的实时推理以及与 exBERT 等工具的链接成为可能。<sup>[11](https://aclanthology.org/2020.emnlp-demos.6.pdf)</sup> 在服务侧，被 Cloudflare 收购的 Replicate 托管开放和自定义模型，通过按使用付费的 API 运行；Ollama 的库则以 GGUF 格式分发本地大语言模型。<sup>[12](https://aiwiki.ai/wiki/model_hubs)</sup>

## 开放性、治理与英伟达收购

Hub 上的“开放”涵盖一个光谱。根据开源促进会（Open Source Initiative）对开源模型和开放权重模型的区分，Hub 下载量中流向披露训练数据的模型的比例从 2022 年的超过 79% 下降到 2025 年的 39%。<sup>[13](https://arxiv.org/html/2512.03073v1)</sup> Hub 支持门控模型，即作者要求下载前接受许可证或提供联系方式；门控模型占所有模型下载量的 3.6% 以上，Meta 的 Llama 系列就在其中。<sup>[13](https://arxiv.org/html/2512.03073v1)</sup><sup> • </sup><sup>[12](https://aiwiki.ai/wiki/model_hubs)</sup> 模型卡记录了局限性和偏差，但这类措施只是提醒用户，而非彻底解决偏差问题。<sup>[2](https://research.contrary.com/company/hugging-face)</sup>

**收购。** 2026 年 8 月，有报道称 Hugging Face 正在探索以 130 亿美元或更高的估值出售，几乎是其 45 亿美元 D 轮估值的近三倍。<sup>[7](https://betanews.com/article/hugging-face-13-billion-sale/)</sup> 路透社于 2026 年 8 月 26 日援引《信息》的报道称，英伟达已同意以 129 亿美元收购该公司，<sup>[16](https://www.reuters.com/technology/nvidia-talks-acquire-hugging-face-13-billion-deal-business-insider-reports-2026-08-27/)</sup> 英伟达于 2026 年 9 月 3 日确认了这笔 129.3 亿美元的收购。<sup>[5](https://techcrunch.com/2026/09/03/nvidia-confirms-it-will-buy-hugging-face-for-12-9-billion/)</sup> 英伟达承诺，在 Hugging Face 上构建或部署不需要使用英伟达的计算资源，平台将继续保持开放和多云。<sup>[3](https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face/)</sup> 《纽约时报》将这笔交易描述为将英伟达的芯片和数据中心基础设施与 Hugging Face 数以百万计可免费下载的开源 AI 模型相结合，并使英伟达站到了关于人工智能系统应如何构建的争论中的一方。<sup>[17](https://www.nytimes.com/2026/09/03/technology/nvidia-hugging-face.html)</sup>

## References

1. [Hugging Face Hub documentation](https://huggingface.co/docs/hub/main/index)
2. [Hugging Face Business Breakdown & Founding Story, Contrary Research](https://research.contrary.com/company/hugging-face)
3. [NVIDIA to Acquire Hugging Face, NVIDIA Blog](https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face/)
4. [huggingface/transformers, GitHub repository](https://github.com/huggingface/transformers)
5. [Nvidia confirms it will buy Hugging Face for $12.9 billion, TechCrunch](https://techcrunch.com/2026/09/03/nvidia-confirms-it-will-buy-hugging-face-for-12-9-billion/)
6. [Hugging Face revenue, valuation & funding, Sacra](https://sacra.com/c/hugging-face/)
7. [Hugging Face explores sale worth $13 billion or more, BetaNews](https://betanews.com/article/hugging-face-13-billion-sale/)
8. [Billing, Hugging Face documentation](https://huggingface.co/docs/hub/main/billing)
9. [Hugging Face vs Replicate, DigitalOcean](https://www.digitalocean.com/resources/articles/hugging-face-vs-replicate)
10. [House: Hugging Face, History of AI](https://zsjunai.github.io/history-of-ai/en/houses/huggingface)
11. [Transformers: State-of-the-Art Natural Language Processing, EMNLP 2020 System Demonstrations](https://aclanthology.org/2020.emnlp-demos.6.pdf)
12. [Model hubs, AI Wiki](https://aiwiki.ai/wiki/model_hubs)
13. [Economies of Open Intelligence, arXiv preprint](https://arxiv.org/html/2512.03073v1)
14. [Hugging Face Crosses $100 Million in Annual Run Rate, Analytics India Magazine](https://analyticsindiamag.com/ai-news/hugging-face-crosses-100-million-in-annual-run-rate)
15. [Hugging Face Partners with Cerebras, Business Wire](https://www.businesswire.com/news/home/20250311323559/en/Hugging-Face-Partners-with-Cerebras-to-Give-Developers-Access-to-Industrys-Fastest-AI-Inference-for-Open-Source-Models)
16. [Nvidia agrees to buy Hugging Face for $12.9 billion, Reuters](https://www.reuters.com/technology/nvidia-talks-acquire-hugging-face-13-billion-deal-business-insider-reports-2026-08-27/)
17. [Nvidia Buys Hugging Face in $12.9 Billion Deal, The New York Times](https://www.nytimes.com/2026/09/03/technology/nvidia-hugging-face.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › AI companies, people, and products › AI chips, compute, and infrastructure companies

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/hugging-face

English original: https://www.edgepedia.org/hugging-face
