Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
19
tools
listlengths
89
89
[ { "role": "system", "content": "You are a Radicle and Git expert assistant. You help users perform repository operations using rad and git CLI commands via tool calls.\n\nKey rules:\n- To create a Radicle patch, use git_push_patch (runs `git push rad HEAD:refs/patches`). Do NOT use `rad patch create` — that...
[ { "type": "function", "function": { "name": "rad_patch_list", "description": "List patches in a Radicle repository. By default shows open patches.", "parameters": { "type": "object", "properties": { "state": { "type": "string", "enum": [ ...
[ { "role": "system", "content": "You are a Radicle and Git expert assistant. You help users perform repository operations using rad and git CLI commands via tool calls.\n\nKey rules:\n- To create a Radicle patch, use git_push_patch (runs `git push rad HEAD:refs/patches`). Do NOT use `rad patch create` — that...
[ { "type": "function", "function": { "name": "rad_patch_list", "description": "List patches in a Radicle repository. By default shows open patches.", "parameters": { "type": "object", "properties": { "state": { "type": "string", "enum": [ ...
[ { "role": "system", "content": "You are a Radicle and Git expert assistant. You help users perform repository operations using rad and git CLI commands via tool calls.\n\nKey rules:\n- To create a Radicle patch, use git_push_patch (runs `git push rad HEAD:refs/patches`). Do NOT use `rad patch create` — that...
[ { "type": "function", "function": { "name": "rad_patch_list", "description": "List patches in a Radicle repository. By default shows open patches.", "parameters": { "type": "object", "properties": { "state": { "type": "string", "enum": [ ...
[ { "role": "system", "content": "You are a Radicle and Git expert assistant. You help users perform repository operations using rad and git CLI commands via tool calls.\n\nKey rules:\n- To create a Radicle patch, use git_push_patch (runs `git push rad HEAD:refs/patches`). Do NOT use `rad patch create` — that...
[ { "type": "function", "function": { "name": "rad_patch_list", "description": "List patches in a Radicle repository. By default shows open patches.", "parameters": { "type": "object", "properties": { "state": { "type": "string", "enum": [ ...
[ { "role": "system", "content": "You are a Radicle and Git expert assistant. You help users perform repository operations using rad and git CLI commands via tool calls.\n\nKey rules:\n- To create a Radicle patch, use git_push_patch (runs `git push rad HEAD:refs/patches`). Do NOT use `rad patch create` — that...
[ { "type": "function", "function": { "name": "rad_patch_list", "description": "List patches in a Radicle repository. By default shows open patches.", "parameters": { "type": "object", "properties": { "state": { "type": "string", "enum": [ ...
[{"role":"system","content":"You are a Radicle and Git expert assistant. You help users perform repo(...TRUNCATED)
[{"type":"function","function":{"name":"rad_patch_list","description":"List patches in a Radicle rep(...TRUNCATED)
[{"role":"system","content":"You are a Radicle and Git expert assistant. You help users perform repo(...TRUNCATED)
[{"type":"function","function":{"name":"rad_patch_list","description":"List patches in a Radicle rep(...TRUNCATED)
[{"role":"system","content":"You are a Radicle and Git expert assistant. You help users perform repo(...TRUNCATED)
[{"type":"function","function":{"name":"rad_patch_list","description":"List patches in a Radicle rep(...TRUNCATED)
[{"role":"system","content":"You are a Radicle and Git expert assistant. You help users perform repo(...TRUNCATED)
[{"type":"function","function":{"name":"rad_patch_list","description":"List patches in a Radicle rep(...TRUNCATED)
[{"role":"system","content":"You are a Radicle and Git expert assistant. You help users perform repo(...TRUNCATED)
[{"type":"function","function":{"name":"rad_patch_list","description":"List patches in a Radicle rep(...TRUNCATED)
End of preview. Expand in Data Studio

Radicle + Git Tool Calling Dataset

Synthetic training data for teaching language models to call Radicle and Git CLI tools. Each example is a multi-message conversation with structured tool calls in the HF/TRL standard format.

Format

Each example has two top-level fields:

  • messages — conversation in chat format (system, user, assistant, tool roles)
  • tools — 89 tool schemas in OpenAI function-calling format
from datasets import load_dataset
from transformers import AutoTokenizer

dataset = load_dataset("h-d-h/rad-model-dataset")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct")

example = dataset["train"][0]
text = tokenizer.apply_chat_template(
    example["messages"],
    tools=example["tools"],
    tokenize=False,
)

This works with any model that supports tool-use chat templates (Qwen, Llama, Mistral, etc.). The tokenizer's chat template handles injecting tool schemas in the model's expected format.

Tools

89 tool schemas covering:

  • Radicle (61 tools): patch management, issue tracking, repository operations, identity, node management, COB operations, sync, config
  • Git (28 tools): status, log, diff, commit, push, pull, branch, checkout, rebase, cherry-pick, stash, tag, blame, clone, remote management, and more

Example categories

Category Description
Single-tool One user request, one tool call
Multi-step workflows Chained operations (e.g., find patch, checkout, review, merge, push)
Multi-turn dialogues Back-and-forth conversations with follow-up questions
Error recovery Tool returns an error, assistant explains and retries with corrected arguments
Negative examples Questions that should be answered with text, not tool calls

Dataset stats

  • ~870 examples (exact count varies with generation seed)
  • 90/10 stratified train/eval split (at least one example per category in eval)
  • All 89 tools represented in both train and eval sets
  • Fully synthetic, English only

Generation

Examples are generated by dataset/generate.py from the rad-model repository. Sources include hand-crafted seeds, compositional randomized variations, workflow templates mined from real session patterns, and examples derived from the official Radicle user guide.

License

Apache-2.0

Downloads last month
25

Models trained or fine-tuned on h-d-h/rad-model-dataset