Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,4 +22,36 @@ configs:
|
|
| 22 |
data_files:
|
| 23 |
- split: train
|
| 24 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
data_files:
|
| 23 |
- split: train
|
| 24 |
path: data/train-*
|
| 25 |
+
tags:
|
| 26 |
+
- function-calling
|
| 27 |
+
- agent
|
| 28 |
+
- synthetic
|
| 29 |
+
- mathematics
|
| 30 |
+
- nlp
|
| 31 |
---
|
| 32 |
+
|
| 33 |
+
# Simple Calculator: Agentic Function-Calling Dataset
|
| 34 |
+
|
| 35 |
+
## Overview
|
| 36 |
+
This dataset contains **20,000 highly structured, synthetically generated examples** designed to train Large Language Models (LLMs) in agentic tool-calling and parameter extraction. It focuses on mapping diverse natural language mathematical queries—ranging from direct commands to conversational word problems—into deterministic, executable JSON structures for a calculator tool.
|
| 37 |
+
|
| 38 |
+
## Dataset Structure
|
| 39 |
+
The dataset trains models to isolate numerical entities and identify the correct mathematical operation required to solve the user's prompt.
|
| 40 |
+
|
| 41 |
+
### Schema
|
| 42 |
+
* **`prompt`** *(string)*: The natural language input (e.g., "If I have a 200 bill and I want to split it with 3 friends").
|
| 43 |
+
* **`tool`** *(string)*: The target target routing function (`add`, `subtract`, `multiply`, or `divide`).
|
| 44 |
+
* **`args`** *(struct)*: The extracted numerical parameters.
|
| 45 |
+
* **`a`** *(float64)*: The first numerical operand.
|
| 46 |
+
* **`b`** *(float64)*: The second numerical operand.
|
| 47 |
+
|
| 48 |
+
### Data Example
|
| 49 |
+
```json
|
| 50 |
+
{
|
| 51 |
+
"prompt": "A factory produces 45.5 items per hour. How many items does it make in 8 hours?",
|
| 52 |
+
"tool": "multiply",
|
| 53 |
+
"args": {
|
| 54 |
+
"a": 45.5,
|
| 55 |
+
"b": 8.0
|
| 56 |
+
}
|
| 57 |
+
}
|