Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- tool-use
|
| 9 |
+
- function-calling
|
| 10 |
+
- zeroclaw
|
| 11 |
+
- agent
|
| 12 |
+
- synthetic
|
| 13 |
+
size_categories:
|
| 14 |
+
- n<1K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# ZeroClaw Tool-Use Training Data
|
| 18 |
+
|
| 19 |
+
Training dataset for teaching LLMs to use tools in the [ZeroClaw](https://github.com/lucasmcoleman/zeroclaw) autonomous agent runtime.
|
| 20 |
+
|
| 21 |
+
## Format
|
| 22 |
+
|
| 23 |
+
Standard chat-messages JSONL. Each line is a complete multi-turn conversation:
|
| 24 |
+
|
| 25 |
+
```json
|
| 26 |
+
{"messages": [{"role": "system", "content": "..."}, {"role": "user", "content": "..."}, {"role": "assistant", "content": "<tool_call>...</tool_call>"}]}
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
## Stats
|
| 30 |
+
|
| 31 |
+
- **457 examples** with 1470 tool-call turns
|
| 32 |
+
- **25 tools** covered: shell, file_read, file_write, file_edit, glob_search, content_search, memory_store/recall/forget, cron_add/list/remove, web_fetch, web_search, http_request, git_operations, browser, delegate, pushover, backup_tool, pdf_read, screenshot, project_intel, security_ops, tool_search
|
| 33 |
+
- **Tool call format**: XML-wrapped JSON (`<tool_call>{"name": "...", "arguments": {...}}</tool_call>`)
|
| 34 |
+
- Includes multi-tool chains, error recovery scenarios, and reasoning traces
|
| 35 |
+
|
| 36 |
+
## Generation
|
| 37 |
+
|
| 38 |
+
- 108 hand-crafted scenarios covering core tool patterns
|
| 39 |
+
- LLM-generated scenarios (via local models) for diversity
|
| 40 |
+
- Validated: no empty user messages, all results are strings, all tools are valid
|
| 41 |
+
- Completion-only loss masking: only assistant turns contribute to training loss
|
| 42 |
+
|
| 43 |
+
## Usage
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
from datasets import load_dataset
|
| 47 |
+
dataset = load_dataset("lmcoleman/zeroclaw-tool-use-training", split="train")
|
| 48 |
+
```
|