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

API-BLEND:用于训练和基准测试 API LLM 的综合语料库

API-BLEND: A Comprehensive Corpora for Training and Benchmarking API LLMs

IBM Research(IBM研究院)

Kinjal Basu, Ibrahim Abdelaziz, Subhajit Chaudhury, Soham Dan, Maxwell Crouse, Asim Munawar, Sadhana Kumaravel, Vinod Muthusamy, Pavan Kapanipathi, Luis A. Lastras

AI总结:

针对工具增强型大语言模型缺乏API调用数据的问题,论文提出API-BLEND语料库,通过整理并转换现有数据集覆盖API检测、槽位填充和排序等任务,可用于训练与系统基准测试。

摘要:

大语言模型(LLM)日益需要有效使用工具和外部应用程序编程接口(API)来规划并完成任务。因此,能够获取足量涉及工具/API调用的训练与测试数据的方法受到极大关注。为应对这一挑战,已出现两类主要研究策略:第一类聚焦合成数据生成技术,第二类则涉及整理与任务相邻的数据集,并将其转化为基于API/工具的任务。本文聚焦于识别、整理和转换现有数据集的任务,并进而推出API-BLEND,这是一个用于训练和系统测试工具增强型LLM的大型语料库。这些数据集模拟涉及API任务的真实场景,例如API/工具检测、槽位填充以及对检测到的API进行排序。我们展示了API-BLEND数据集在训练和基准测试两方面的效用。

英文摘要:

There is a growing need for Large Language Models (LLMs) to effectively use tools and external Application Programming Interfaces (APIs) to plan and complete tasks. As such, there is tremendous interest in methods that can acquire sufficient quantities of train and test data that involve calls to tools / APIs. Two lines of research have emerged as the predominant strategies for addressing this challenge. The first has focused on synthetic data generation techniques, while the second has involved curating task-adjacent datasets which can be transformed into API / Tool-based tasks. In this paper, we focus on the task of identifying, curating, and transforming existing datasets and, in turn, introduce API-BLEND, a large corpora for training and systematic testing of tool-augmented LLMs. The datasets mimic real-world scenarios involving API-tasks such as API / tool detection, slot filling, and sequencing of the detected APIs. We demonstrate the utility of the API-BLEND dataset for both training and benchmarking purposes.

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

↑