# xLAM Function-Calling 60k (APIGen)

- **ID:** 90
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k
- **Authors:** Salesforce AI Research
- **Venue:** Hugging Face / Salesforce AI Research
- **Published:** 2024
- **Source:** huggingface
- **Language:** en
- **Access:** free
- **License:** CC-BY-4.0
- **License family:** Permissive (auto-classified)
- **Topics:** NLP / Function Calling / Agents
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/90

## Summary

xlam-function-calling-60k is a dataset of 60,000 function-calling examples collected via APIGen, an automated data-generation pipeline that produces verifiable high-quality data for function-calling applications. Each example includes a natural-language query, available tools (APIs with names, descriptions, parameters), and answers (tool calls with arguments), verified through three hierarchical stages: format checking, actual function executions, and semantic verification (human evaluation showed >95% correctness). Data was generated by DeepSeek-V2-Chat (first 33,659 entries) and Mixtral-8x22B-Instruct across 3,673 executable APIs in 21 categories.

## Attributes

- **Purpose:** Provide a verified high-quality dataset for training and evaluating LLM function-calling (tool-use) agents.
- **Scale:** 60,000 examples; 3,673 executable APIs across 21 categories
- **Used for:** Training xLAM-1b-fc-r and xLAM-7b-fc-r function-calling models (ranked #3 and #25 on Berkeley Function-Calling Leaderboard); function-calling agent research
- **Time period:** June-July 2024 release
- **Author type:** ai

## From the source (fetched 2026-10-03)

- **Repository:** Salesforce/xlam-function-calling-60k (Hugging Face)
- **Created:** Jun 13, 2024 (Hugging Face)
- **Last updated:** Jan 24, 2025 (Hugging Face)
- **Downloads (last month):** 24,562 (Hugging Face)
- **Likes:** 726 (Hugging Face)
- **Size:** 10K to 100K rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** question-answering, text-generation, reinforcement-learning (Hugging Face)
- **Formats:** json (Hugging Face)
- **Gated:** yes (Hugging Face)

## Dataset profile

- **Scale:** Paper/card: 60,000 entries; Hub size_categories 10K<n<100K; format json; modality text. Independent row recount blocked (gated; datasets-server 401).
- **Format:** JSON on Hub (card format:json). Exact column schema Unknown without gate (viewer 404).
- **Type:** Synthetic verified function-calling / tool-use SFT (+RL-tagged)
- **License:** CC-BY-4.0
- **Cost:** Free after HF gate approval
- **Languages:** English (card language:en). API argument values may include non-English strings; no LID table without gate access.
- **Modality:** Text only (function schemas + dialogues/calls)
- **Domain:** function calling; tool use; executable APIs; LLM agents
- **Time period:** Paper 2024-06-26; HF created 2024-06-13; lastModified 2025-01-24. Synthetic tool-call data (not a dated news crawl).
- **Purpose:** Train/eval function-calling agents on verifiable APIGen synthetic calls across many API categories.
- **Used for:** xLAM / Salesforce agent SFT; Berkeley Function-Calling Benchmark training signal per paper. Hub ~193.6K downloads / 685 likes (gated).
- **Authors:** Salesforce AI Research (Liu et al., arXiv 2406.18518). Synthetic via APIGen over 3,673 executable APIs / 21 categories.
- **Bias:** Synthetic API coverage follows the chosen 21 categories / 3673 APIs — category imbalance Unknown without access. Human eval reported on 600 samples in paper (not re-audited here).
- **Text quality:** Card: three-stage verification (format, execution, semantic). High intended reliability vs unverified synthetic tool dumps; residual: gated so samples not re-inspected this pass.
- **Sample size:** Card 60k total; train/test split Unknown without access.
- **Long context:** Unknown (typical tool-call turns are short-medium; not measured here).
- **Intermediate steps:** Yes (APIGen hierarchical verification). Reasoning traces Unknown.
- **Idea quality:** High
- **Novelty:** High (early large verified executable function-calling release tied to BFCL SOTA claims)
- **Text conversion:** Medium (gated HF accept first). After access: standard datasets load.
- **Collection method:** Request HF access then download
- **Static:** Unknown (lastModified 2025-01-24)
- **Processed:** Yes (verified synthetic packaging)

## Links

- Dataset: https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k
- Related: https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k
- Related: https://arxiv.org/abs/2406.18518
- Related: https://apigen-pipeline.github.io/

## Research notes

- Gated (requires accepting license and citing APIGen). Paper: arxiv 2406.18518. 1,896 affected data points were regenerated in July 2024 after community-identified issues.
- papers_local id 723. Discord bare link. Distinct from already-cataloged NousResearch/hermes-function-calling-v1. Blank over guess on schema/splits while gated.

## Similar entries

- [hermes-function-calling-v1](https://papers.projxon.ai/entries/160) (dataset, #160)
- [Agent Memory Repo (Cognition) — open spec for persistent agent memory](https://papers.projxon.ai/entries/1269) (code, #1269)
- [Scaling Verifiable Environments for Long-horizon Work Agents](https://papers.projxon.ai/entries/1289) (paper, #1289)
- [Raven: The Harness of Harnesses for Composable Agentic Intelligence](https://papers.projxon.ai/entries/1249) (paper, #1249)
- [flow-1 (Laminar) — RL-trained model for agent trace error detection](https://papers.projxon.ai/entries/1266) (model, #1266)
- [ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results](https://papers.projxon.ai/entries/830) (benchmark, #830)
