# Argilla

**Argilla** 是一款开源协作工具，供 AI 工程师与领域专家构建高质量数据集，提供网页界面和 Python SDK，用于为自然语言处理（NLP）、大语言模型（LLM）和多模态项目收集针对文本、对话和图像数据的人工反馈。<sup>[1](https://github.com/argilla-io/argilla)</sup> 它支持的任务范围涵盖从文本分类、命名实体识别等传统 NLP 任务，到检索增强生成（RAG）、偏好调优等 LLM 工作，再到文本生成图像等多模态项目。<sup>[2](https://docs.argilla.io/)</sup> 该产品最初由西班牙公司 Recognai 以 Rubrix 之名开发，2022 年更名为 Argilla，并于 2024 年 6 月被 [Hugging Face](https://www.edgepedia.org/zh/hugging-face) 收购。<sup>[3](https://argilla.io/blog/recognai-rubrix-evolve-into-argilla/)</sup><sup> • </sup><sup>[4](https://argilla.io/blog/argilla-joins-hugggingface/)</sup>

| 关键事实 | 详情 |
|---|---|
| 产品性质 | 供 AI 工程师与领域专家构建高质量数据集的开源协作工具，采用 Apache-2.0 许可证<sup>[1](https://github.com/argilla-io/argilla)</sup> |
| 起源 | 由 Recognai 以 Rubrix 之名推出；2022 年 10 月 25 日更名为 Argilla，Python 包也在 1.0.0 版本由 `rubrix` 改为 `argilla`<sup>[3](https://argilla.io/blog/recognai-rubrix-evolve-into-argilla/)</sup> |
| 归属 | 2024 年 6 月被 Hugging Face 收购<sup>[4](https://argilla.io/blog/argilla-joins-hugggingface/)</sup> |
| 架构 | Python SDK、FastAPI 服务端、关系型数据库（默认 SQLite，可选 PostgreSQL）、向量数据库（Elasticsearch 或 AWS OpenSearch），以及 Vue.js 网页界面<sup>[5](https://docs.v1.argilla.io/en/latest/)</sup> |
| 部署 | 可在 Hugging Face Hub（Spaces）上免费部署，或用 Docker 自托管；Python SDK 通过 `pip install argilla` 安装<sup>[2](https://docs.argilla.io/)</sup> |
| 版本线 | Argilla 1.29 是 1.x 系列最后一个次要版本；按任务区分的旧式数据集已被淘汰，改用 V2 数据集格式<sup>[5](https://docs.v1.argilla.io/en/latest/)</sup><sup> • </sup><sup>[6](https://docs.argilla.io/latest/how_to_guides/migrate_from_legacy_datasets/)</sup> |
| 社区规模 | GitHub 仓库约有 5.1k 星标和 508 个复刻<sup>[1](https://github.com/argilla-io/argilla)</sup> |

## 历史

该产品最初名为 Rubrix，是 Recognai 内部搭建的数据标注与管理平台；这家公司用四年时间开发企业级 NLP 应用。在 2022 年 10 月 25 日的公告中，联合创始人 Daniel Vila Suero（丹尼尔·比拉·苏埃罗）写道，团队已决定全身心投入，把该产品作为一家独立公司 Argilla 来运营。更名伴随着品牌重塑：`rubrix 0.18.0` 是旧名称下的最后一个版本，`argilla` 包从 `1.0.0` 起步，迁移工作被设计得尽量简单，只需把 `import rubrix` 换成 `import argilla`。<sup>[3](https://argilla.io/blog/recognai-rubrix-evolve-into-argilla/)</sup>

这个名字取自拉丁语、意大利语和加泰罗尼亚语中表示“黏土”的词；创始人的说法是从“数据是新的石油”转向“数据是新的黏土”，即数据是用来塑造模型的材料。<sup>[3](https://argilla.io/blog/recognai-rubrix-evolve-into-argilla/)</sup><sup> • </sup><sup>[5](https://docs.v1.argilla.io/en/latest/)</sup>

2024 年 6 月，Argilla 加入 Hugging Face。收购公告称，团队将加倍投入社区数据集建设，全面支持多模态数据集，企业客户则将通过 Enterprise Hub 获得单点登录、审计、与 Inference Endpoints 集成等功能。<sup>[4](https://argilla.io/blog/argilla-joins-hugggingface/)</sup> Hugging Face 首席执行官 Clément Delangue（克莱蒙·德朗格）后来把这笔交易形容为一次主题扩展，指出平台上的数据集增长迅速，并称 Argilla 是“一支来自西班牙的非常优秀的团队”，已在数据集和协作标注上耕耘数年。<sup>[7](https://www.mattturck.com/podcast/the-4-5b-platform-driving-the-open-source-ai-revolution-clem-delangue-ceo-huggin)</sup>

## 架构

Argilla 1.x 建立在五个核心组件之上：<sup>[5](https://docs.v1.argilla.io/en/latest/)</sup>

1. **Python SDK**，通过 `pip install argilla` 安装，提供管理数据、配置和标注工作流的 API。
2. **FastAPI 服务端**，负责预处理数据、将其存入向量数据库、把应用信息保存在关系型数据库中，并对外提供 SDK 和网页界面共用的 REST API。
3. **关系型数据库**，用于存储记录元数据和标注，内置默认为 SQLite，也可另行部署 [PostgreSQL](https://www.edgepedia.org/zh/postgresql)。
4. **向量数据库**，存储记录数据，支持可扩展的向量相似度搜索和基本文档搜索，支持以独立 Docker 镜像方式部署 [Elasticsearch](https://www.edgepedia.org/zh/elasticsearch) 和 AWS OpenSearch。
5. **Vue.js 界面**，用于查看和标注数据、用户与团队，与服务器一同部署在 Argilla 的 Docker 镜像中。

数据集通过代码配置，设定字段、问题和标注指南；记录则带有字段、可选的外部 ID、元数据、向量，以及作为提示提供给标注者的模型预测等建议。<sup>[1](https://github.com/argilla-io/argilla)</sup><sup> • </sup><sup>[8](https://github.com/argilla-io/argilla/blob/develop/docs/_source/practical_guides/create_update_dataset/records.md)</sup> 从 SDK 或界面发起的查询使用 Lucene 查询语言，这是 Elasticsearch 和 OpenSearch 的原生查询语言。<sup>[9](https://github.com/argilla-io/argilla/blob/develop/docs/_source/getting_started/cheatsheet.md)</sup>

## 使用场景

**收集人工反馈。** Argilla 的既定用途是为 AI 项目收集人工反馈，涵盖传统 NLP、RAG 和偏好调优等 LLM 工作流，以及多模态模型。其代码化的方式旨在建立持续评估与模型改进的工作流，而非一次性的标注。<sup>[2](https://docs.argilla.io/)</sup> Hugging Face 的一则教程示例演示了完整流程：用 Inference API 生成合成的 LLM 输出，上传到 Argilla 数据集，由标注者评估和修正，再把结果导出为 CSV、JSON 或 Parquet，用于 TRL 的 SFTTrainer 监督微调或 DPOTrainer 偏好调优。<sup>[10](https://huggingface.co/learn/cookbook/en/enterprise_cookbook_argilla)</sup>

**构建开放数据集。** 用 Argilla 构建的社区项目包括：清洗后的 [UltraFeedback](https://www.edgepedia.org/zh/ultrafeedback) 数据集，以及 Notus 和 Notux 模型——它们利用更干净的人工反馈数据，提升了 Mistral 和 Mixtral 模型在基准测试和人工经验判断上的表现；还有一个经 distilabel 处理的 Intel Orca DPO 数据集，以及通过人工与 AI 反馈筛掉原始数据集 50% 后得到的改进版 [OpenHermes](https://www.edgepedia.org/zh/openhermes) 模型。<sup>[2](https://docs.argilla.io/)</sup> Argilla 与 Hugging Face 还联合开展了一个名为“Data is better together”（数据在一起更好）的项目，社区成员通过托管在 Hub 上的 Argilla Space 集体为 LLM 提示词的质量打分。<sup>[11](https://huggingface.co/posts/dvilasuero/680660181190026)</sup> 2024 年 11 月，被收购之后，团队推出了一套无代码工作流：用户选择数据集（自行上传，或从 Hub 上 24 万个开放数据集中挑选），把数据集 ID 粘贴进 Argilla 以建立标注界面，再把链接分享给团队或整个社区，全程无需 Python。<sup>[12](https://huggingface.co/posts/dvilasuero/744243343133134)</sup>

**研究标注。** 学术团队把 Argilla 用作标注基础设施。一项 EMNLP 2025 的人工标注研究通过用 Argilla 搭建的网页界面完成评分，界面中显示文档正文、标注指南和 0–5 分的评分量表。<sup>[13](https://aclanthology.org/2025.emnlp-main.449.pdf)</sup> 一个 2025 年的徒步路线描述语料项目在 Argilla 中运行主动学习工作流，在零样本 GLiNER 冷启动、人工修正、GLiNER 重训和重新标注之间反复迭代，直至收敛。<sup>[14](https://ceur-ws.org/Vol-4201/paper11.pdf)</sup> 2023 年的一项开源标注工具比较发现，Argilla 满足了包括多用户支持和便捷的 Docker 部署在内的全部评估标准，并指出 Argilla 和 Orbis 在其他工具最常忽视的几个方面表现突出，即嵌套标注、机器添加的标注和语料库指标。<sup>[15](https://aclanthology.org/2023.ldk-1.29.pdf)</sup>

## 2.x 版本与现状

Argilla 1.29 被宣布为 1.x 系列的最后一个次要版本，此后只修复缺陷。2.x 版本用单一的可扩展数据集格式取代了按任务区分的旧式数据集（`DatasetForTextClassification`、`DatasetForTokenClassification` 和 `DatasetForText2Text`）；`FeedbackDataset` 对象本就符合 V2 格式，只因搜索索引结构变化而需要重建索引。<sup>[5](https://docs.v1.argilla.io/en/latest/)</sup><sup> • </sup><sup>[6](https://docs.argilla.io/latest/how_to_guides/migrate_from_legacy_datasets/)</sup> 迁移会在新服务器上重建用户和工作区，并生成新的密码和 ID；V2 SDK 包含一个 `v1` 模块，用于在过渡期连接旧版服务器。<sup>[6](https://docs.argilla.io/latest/how_to_guides/migrate_from_legacy_datasets/)</sup>

2.x 系列的开发仍在继续：v2.6.0 版本增加了更新记录字段和将数据集导出到 Hub 的功能；3 月 11 日发布的 v2.8.0 改进了 OAuth 集成，支持可扩展的社交登录后端和默认的 Keycloak 单点登录，并附带了日语翻译。<sup>[16](https://github.com/argilla-io/argilla/releases)</sup>

## 局限

从业者的文章描述了几项限制。Elasticsearch 依赖对小型团队来说过于沉重，Docker 默认的 512 MB 堆内存设置在记录数超过约 10 万条的数据集上曾导致进程因内存不足而被终止，视记录大小建议配置 2 至 4 GB。[访问控制](https://www.edgepedia.org/zh/access-control)仅限于工作区级别的隔离，角色只有“标注者”和“管理员”，对受监管行业而言缺少更细粒度的基于角色的访问控制。一份第三方评测还指出，活跃的功能开发已经暂停，原团队称代码库已成熟稳定，因此自动 AI 预标注等能力必须通过 SDK 自行接入，而非内置。<sup>[17](https://dudarik.com/en/blog/argilla/)</sup> 一份文档评测同样指出，各主要版本之间变动很大，旧教程描述的界面已不复存在，并认为该工具对小型任务而言过于繁重：几百条样本用电子表格更简单，只有当出现多名标注者、需要持续收集，或需要衡量标注者一致性时，收益才开始显现。<sup>[18](https://www.aicoursereview.com/reviews/argilla-documentation-and-tutorials)</sup>

## References

1. [argilla-io/argilla on GitHub](https://github.com/argilla-io/argilla)
2. [Argilla Docs](https://docs.argilla.io/)
3. [Recognai and Rubrix renamed to Argilla, Argilla blog (October 25, 2022)](https://argilla.io/blog/recognai-rubrix-evolve-into-argilla/)
4. [Argilla is joining Hugging Face, Argilla blog (June 2024)](https://argilla.io/blog/argilla-joins-hugggingface/)
5. [Argilla 1.29 documentation](https://docs.v1.argilla.io/en/latest/)
6. [Migrate users, workspaces and datasets to Argilla 2.x, Argilla Docs](https://docs.argilla.io/latest/how_to_guides/migrate_from_legacy_datasets/)
7. [The $4.5B Platform Driving the Open Source AI Revolution, The MAD Podcast with Clément Delangue](https://www.mattturck.com/podcast/the-4-5b-platform-driving-the-open-source-ai-revolution-clem-delangue-ceo-huggin)
8. [Add and update records, Argilla documentation source](https://github.com/argilla-io/argilla/blob/develop/docs/_source/practical_guides/create_update_dataset/records.md)
9. [Cheatsheet, Argilla documentation source](https://github.com/argilla-io/argilla/blob/develop/docs/_source/getting_started/cheatsheet.md)
10. [Data Annotation with Argilla Spaces, Hugging Face Cookbook](https://huggingface.co/learn/cookbook/en/enterprise_cookbook_argilla)
11. [Data is better together, Hugging Face post by Daniel Vila (February 2024)](https://huggingface.co/posts/dvilasuero/680660181190026)
12. [Build datasets for AI on the Hugging Face Hub, Hugging Face post by Daniel Vila (November 2024)](https://huggingface.co/posts/dvilasuero/744243343133134)
13. [A Human Annotation Study, EMNLP 2025](https://aclanthology.org/2025.emnlp-main.449.pdf)
14. [A Hybrid Annotation Method and A Reference Corpus for Hiking Descriptions, CEUR-WS](https://ceur-ws.org/Vol-4201/paper11.pdf)
15. [Comparison of popular open-source annotation tools, LDK 2023](https://aclanthology.org/2023.ldk-1.29.pdf)
16. [Releases, argilla-io/argilla on GitHub](https://github.com/argilla-io/argilla/releases)
17. [Argilla: Collaborative Dataset Labeling for LLM Fine-Tuning and RLHF, dudarik.com](https://dudarik.com/en/blog/argilla/)
18. [Argilla Documentation and Tutorials Review, AI Course Review](https://www.aicoursereview.com/reviews/argilla-documentation-and-tutorials)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Language and vision AI › Natural language processing › NLP software, people, and community › Annotation, corpora, and NLP data infrastructure

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/argilla

English original: https://www.edgepedia.org/argilla
