Argilla 2.4 发布:零代码构建微调与评估数据集
Argilla 2.4 版本正式集成至 Hugging Face Hub,允许用户通过图形界面直接导入数据集并定义标注问题。该更新实现了无需编写代码即可构建高质量微调与评估数据集的功能,显著降低了数据准备门槛。
关联知识实体
报道正文
本文目录3 个章节
Argilla 2.4:在 Hub 上轻松构建微调与评估数据集——无需代码
发布于 2024 年 11 月 4 日 在 GitHub 上更新 点赞 46
Natalia Elvira nataliaElv ben burtenshaw burtenshaw Daniel Vila dvilasuero
我们非常激动地分享自 Argilla 加入 Hugging Face 以来最具影响力的功能:你可以从任意 Hub 数据集开始,无需编写任何代码即可准备 AI 数据集!使用 Argilla 的 UI,你可以轻松地从 Hugging Face Hub 导入数据集、定义问题,并开始收集人类反馈。
不熟悉 Argilla?Argilla 是一款免费、开源的数据中心型工具。借助 Argilla,AI 开发者和领域专家可以协作构建高质量数据集。Argilla 是 Hugging Face 家族的一员,并与 Hub 完全集成。想了解更多吗?请阅读这篇介绍性博客文章。
为什么这项新功能对你和社区很重要?
- Hugging Face Hub 包含 23 万个数据集,可作为你 AI 项目的基础。
- 它简化了从 Hugging Face 社区或专业团队收集人类反馈的过程。
- 它使那些对特定领域拥有深厚知识但不确定如何编写代码的用户也能参与数据集创建,实现了数据集创建的民主化。
使用场景
这项新功能推动了在 Hub 上构建高质量数据集的民主化:
- 如果你已发布了一个开放数据集并希望社区贡献数据,将其导入一个公开的 Argilla Space 并向全世界分享 URL!
- 如果你想从零开始标注一个新数据集,将 CSV 文件上传到 Hub,导入到你的 Argilla Space,然后开始标注!
- 如果你想为模型的微调或评估整理现有的 Hub 数据集,将该数据集导入 Argilla Space 并开始整理!
- 如果你想改进现有的 Hub 数据集以惠及社区,将其导入 Argilla Space 并开始提供反馈!
工作原理
First, you need to deploy Argilla. The recommended way is to deploy on Spaces following this guide. The default deployment comes with Hugging Face OAuth enabled, meaning your Space will be open for annotation contributions from any Hub user. OAuth is perfect for use cases when you want the community to contribute to your dataset. If you want to restrict annotation to you and other collaborators, check this guide for additional configuration options.
Import a HF dataset from the Hub in the Argilla UI
Once Argilla is running, sign in and click the “Import dataset from Hugging Face” button on the Home page. You can start with one of our example datasets or input the repo id of the dataset you want to use.
In this first version, the Hub dataset must be public. If you are interested in support for private datasets, we’d love to hear from you on GitHub.
Argilla automatically suggests an initial configuration based on the dataset’s features, so you don’t need to start from scratch, but you can add questions or remove unnecessary fields. Fields should include the data you want feedback on, like text, chats, or images. Questions are the feedback you wish to collect, like labels, ratings, rankings, or text. All changes are shown in real time, so you can get a clear idea of the Argilla dataset you’re configuring.
Once you’re happy with the result, click “Create dataset” to import the dataset with your configuration. Now you’re ready to give feedback!
You can try this for yourself by following the quickstart guide. It takes under 5 minutes!
This new workflow streamlines the import of datasets from the Hub, but you can still import datasets using Argilla’s Python SDK if you need further customization.
We’d love to hear your thoughts and first experiences. Let us know on GitHub or the HF Discord!