arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.14019cs.CLcs.AI
收藏

Unitxt:面向生成式 AI 的灵活、可共享且可复用的数据准备与评估

Unitxt: Flexible, Shareable and Reusable Data Preparation and Evaluation for Generative AI

IBM Research(IBM研究院)
Elron Bandel, Yotam Perlitz, Elad Venezian, Roni Friedman-Melamed, Ofir Arviv, Matan Orbach, Shachar Don-Yehyia, Dafna Sheinwald, Ariel Gera, Leshem Choshen, Mi… 展开作者

Elron Bandel, Yotam Perlitz, Elad Venezian, Roni Friedman-Melamed, Ofir Arviv, Matan Orbach, Shachar Don-Yehyia, Dafna Sheinwald, Ariel Gera, Leshem Choshen, Michal Shmueli-Scheuer, Yoav Katz

AI总结:

本文提出 Unitxt 库,通过模块化数据准备与评估组件及集中式目录,解决生成式 NLP 流水线难定制、难复现和难共享的问题。

摘要:

在生成式 NLP 的动态环境中,传统文本处理流水线限制了研究的灵活性与可复现性,因为它们是针对特定数据集、任务和模型组合量身定制的。复杂性不断上升,涉及系统提示、模型特定格式、指令等,这要求转向一种结构化、模块化且可定制的解决方案。为满足这一需求,我们提出 Unitxt,这是一个创新库,用于为生成式语言模型定制文本数据准备和评估。Unitxt 与 HuggingFace 和 LM-eval-harness 等常用库原生集成,并将处理流程拆解为模块化组件,使从业者能够轻松定制和共享。这些组件涵盖模型特定格式、任务提示以及许多其他全面的数据集处理定义。Unitxt-Catalog 集中管理这些组件,促进现代文本数据工作流中的协作与探索。Unitxt 不仅是一个工具,更是一个社区驱动的平台,使用户能够协作构建、共享和推进其流水线。欢迎加入 Unitxt 社区:https://github.com/IBM/unitxt!

英文摘要:

In the dynamic landscape of generative NLP, traditional text processing pipelines limit research flexibility and reproducibility, as they are tailored to specific dataset, task, and model combinations. The escalating complexity, involving system prompts, model-specific formats, instructions, and more, calls for a shift to a structured, modular, and customizable solution. Addressing this need, we present Unitxt, an innovative library for customizable textual data preparation and evaluation tailored to generative language models. Unitxt natively integrates with common libraries like HuggingFace and LM-eval-harness and deconstructs processing flows into modular components, enabling easy customization and sharing between practitioners. These components encompass model-specific formats, task prompts, and many other comprehensive dataset processing definitions. The Unitxt-Catalog centralizes these components, fostering collaboration and exploration in modern textual data workflows. Beyond being a tool, Unitxt is a community-driven platform, empowering users to build, share, and advance their pipelines collaboratively. Join the Unitxt community at https://github.com/IBM/unitxt!

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑