arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.18164cs.AIcs.CLcs.LG
收藏

Data-Prep-Kit:为你的大语言模型应用开发准备好数据

Data-Prep-Kit: getting your data ready for LLM application development

IBM Research(IBM研究院);Almaden Research Center IBM(IBM阿尔马登研究中心);IBM Research Israel(IBM以色列研究院);IBM Research India(IBM印度研究院);IBM Software(IBM软件公司)
David Wood, Boris Lublinsky, Alexy Roytman, Shivdeep Singh, Constantin Adam, Abdulhamid Adebayo, Sungeun An, Yuan Chi Chang, Xuan-Hong Dang, Nirmit Desai, Miche… 展开作者

David Wood, Boris Lublinsky, Alexy Roytman, Shivdeep Singh, Constantin Adam, Abdulhamid Adebayo, Sungeun An, Yuan Chi Chang, Xuan-Hong Dang, Nirmit Desai, Michele Dolfi, Hajar Emami-Gohari, Revital Eres, Takuya Goto, Dhiraj Joshi, Yan Koyfman, Mohammad Nassar, Hima Patel, Paramesvaran Selvam, Yousaf Shah, Saptha Surendran, Daiki Tsuzuku, Petros Zerfos, Shahrokh Daijavad

AI总结:

本文介绍了开源数据准备工具包 Data-Prep-Kit (DPK),它支持本地到数千CPU集群的灵活扩展,提供可扩展的数据转换模块,并已被用于 Granite 模型准备,助力AI社区增强LLM性能或进行RAG微调。

摘要:

数据准备是任何大语言模型(LLM)开发的第一步,也是非常重要的一步。本文介绍了一个易于使用、可扩展且规模灵活的开源数据准备工具包,名为 Data Prep Kit (DPK)。DPK 的架构和设计旨在使用户能够根据自身需求扩展数据准备工作。借助 DPK,用户可以在本地机器上准备数据,也可以轻松扩展到拥有数千个 CPU 核心的集群上运行。DPK 附带一组高度可扩展且可扩展的模块,用于转换自然语言和代码数据。如果用户需要额外的转换,可以利用 DPK 对转换创建的广泛支持轻松开发它们。这些模块可以独立使用,也可以通过流水线串联以执行一系列操作。在本文中,我们描述了 DPK 的架构,并展示了其从小规模到极大量 CPU 的性能表现。DPK 的模块已被用于 Granite Models [1] [2] 的准备工作。我们相信 DPK 是对 AI 社区的一项宝贵贡献,能帮助其轻松准备数据,以增强其 LLM 模型的性能,或使用检索增强生成(RAG)微调模型。

英文摘要:

Data preparation is the first and a very important step towards any Large Language Model (LLM) development. This paper introduces an easy-to-use, extensible, and scale-flexible open-source data preparation toolkit called Data Prep Kit (DPK). DPK is architected and designed to enable users to scale their data preparation to their needs. With DPK they can prepare data on a local machine or effortlessly scale to run on a cluster with thousands of CPU Cores. DPK comes with a highly scalable, yet extensible set of modules that transform natural language and code data. If the user needs additional transforms, they can be easily developed using extensive DPK support for transform creation. These modules can be used independently or pipelined to perform a series of operations. In this paper, we describe DPK architecture and show its performance from a small scale to a very large number of CPUs. The modules from DPK have been used for the preparation of Granite Models [1] [2]. We believe DPK is a valuable contribution to the AI community to easily prepare data to enhance the performance of their LLM models or to fine-tune models with Retrieval-Augmented Generation (RAG).

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

↑