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

DataDreamer:用于合成数据生成和可复现LLM工作流的工具

DataDreamer: A Tool for Synthetic Data Generation and Reproducible LLM Workflows

University of Pennsylvania(宾夕法尼亚大学);University of Toronto(多伦多大学);Vector Institute(矢量研究院)

Ajay Patel, Colin Raffel, Chris Callison-Burch

AI总结:

本文提出DataDreamer,一个开源Python库,通过简单代码实现强大的LLM工作流,并遵循最佳实践以促进开放科学和可复现性。

摘要:

大型语言模型(LLM)已成为NLP研究者在广泛任务中的重要工具。如今,许多研究者在合成数据生成、任务评估、微调、蒸馏以及其他模型在环研究工作流中使用LLM。然而,使用这些模型时会遇到挑战,这些挑战源于其规模、闭源性质以及缺乏针对这些新兴工作流的标准化工具。这些模型的迅速崛起和这些独特挑战对开放科学以及使用这些模型的工作的可复现性产生了直接的不利影响。在本文中,我们介绍了DataDreamer,一个开源Python库,允许研究者编写简单代码来实现强大的LLM工作流。DataDreamer还帮助研究者遵循我们提出的最佳实践,以鼓励开放科学和可复现性。该库和文档可在https://github.com/datadreamer-dev/DataDreamer获取。

英文摘要:

Large language models (LLMs) have become a dominant and important tool for NLP researchers in a wide range of tasks. Today, many researchers use LLMs in synthetic data generation, task evaluation, fine-tuning, distillation, and other model-in-the-loop research workflows. However, challenges arise when using these models that stem from their scale, their closed source nature, and the lack of standardized tooling for these new and emerging workflows. The rapid rise to prominence of these models and these unique challenges has had immediate adverse impacts on open science and on the reproducibility of work that uses them. In this paper, we introduce DataDreamer, an open source Python library that allows researchers to write simple code to implement powerful LLM workflows. DataDreamer also helps researchers adhere to best practices that we propose to encourage open science and reproducibility. The library and documentation are available at https://github.com/datadreamer-dev/DataDreamer .

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

↑