Skip to content

Dataset · glaiveai

Function calling in dialogues with JSON descriptions

glaiveai/glaive-function-calling

52k English function calling examples with SYSTEM, USER, ASSISTANT, and JSON function calls.

What's inside

The dataset contains about 52k text examples for the function calling task. Each example includes a system prompt with a JSON description of available functions, a user message, and an assistant response; function calls and their responses are marked in separate blocks. Data is in English, generated via Glaive.

What you can do with it

  • Fine-tuning LLMs to invoke functions via JSON schema
  • Creating LoRA for agents and tool use
  • Evaluating models on function selection and JSON call generation
Tasks
Text generation
Languages
English
Size
10K–100K rows
Downloads this month
449
Likes
108

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("glaiveai/glaive-function-calling")