CLAILGSEJun 26, 2024

APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets

arXiv:2406.18518v1165 citationsHas Code
Originality Highly original
AI Analysis

This addresses the need for high-quality datasets in function-calling applications, offering a scalable solution with verified data to advance agent domains.

The paper tackles the problem of generating diverse and reliable datasets for function-calling agent models by introducing APIGen, an automated pipeline that produces verifiable datasets, resulting in models achieving state-of-the-art performance on benchmarks, such as a 7B model outperforming GPT-4 and a 1B model surpassing GPT-3.5-Turbo and Claude-3 Haiku.

The advancement of function-calling agent models requires diverse, reliable, and high-quality datasets. This paper presents APIGen, an automated data generation pipeline designed to synthesize verifiable high-quality datasets for function-calling applications. We leverage APIGen and collect 3,673 executable APIs across 21 different categories to generate diverse function-calling datasets in a scalable and structured manner. Each data in our dataset is verified through three hierarchical stages: format checking, actual function executions, and semantic verification, ensuring its reliability and correctness. We demonstrate that models trained with our curated datasets, even with only 7B parameters, can achieve state-of-the-art performance on the Berkeley Function-Calling Benchmark, outperforming multiple GPT-4 models. Moreover, our 1B model achieves exceptional performance, surpassing GPT-3.5-Turbo and Claude-3 Haiku. We release a dataset containing 60,000 high-quality entries, aiming to advance the field of function-calling agent domains. The dataset is available on Huggingface: https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k and the project homepage: https://apigen-pipeline.github.io/

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes