Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
2
244
slice
stringclasses
4 values
source
stringclasses
4 values
category
stringclasses
418 values
has_tools
bool
2 classes
n_turns
int64
2
244
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
7
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
8
[ { "role": "system", "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax." }, { "role": "user", "content": "What is the exact code shown in this VS Co...
code_gen
cmndcntrlcyber/code-trainer-offsec-dataset
java
false
3
[ { "role": "system", "content": "Follow the user's instructions precisely. Use only the supplied fictional tools. Independent calls that can safely run together must be emitted in one assistant turn. Never invent tool results or perform unrequested changes." }, { "role": "user", "content": "Retri...
agentic
greghavens/fable-5-coding-and-debugging-traces
multi-turn-state
true
8
[ { "role": "user", "content": "How can I extract the year from a given URL using a regular expression?" }, { "role": "assistant", "content": "You can use the re.findall() function from the re module to extract the year from a URL. Here's an example code snippet:\n\nimport re\n\nurl = \"https://ex...
instruction
teknium/OpenHermes-2.5
general
false
2
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
9
[ { "role": "system", "content": "You are an autonomous coding agent running on the user's machine.\n\nYou work in the current directory of a real repository. Use your tools to read, search, create, and edit files and to run shell commands (tests, builds, type-checkers). Some tools are deferred: only their na...
agentic
greghavens/fable-5-coding-and-debugging-traces
debug-mutable-default
true
10
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
5
[ { "role": "system", "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax." }, { "role": "user", "content": "Extract and reproduce the code visible in ...
code_gen
cmndcntrlcyber/code-trainer-offsec-dataset
rust
false
3
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
11
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
9
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
5
[ { "role": "system", "content": "You are an autonomous coding agent running on the user's machine.\n\nYou work in the current directory of a real repository. Use your tools to read, search, create, and edit files and to run shell commands (tests, builds, type-checkers). Some tools are deferred: only their na...
agentic
greghavens/fable-5-coding-and-debugging-traces
debug
true
10
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
7
[ { "role": "system", "content": "You are an autonomous coding agent running on the user's machine.\n\nYou work in the current directory of a real repository. Use your tools to read, search, create, and edit files and to run shell commands (tests, builds, type-checkers). Some tools are deferred: only their na...
agentic
greghavens/fable-5-coding-and-debugging-traces
seed-authoring
true
55
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
5
[ { "role": "system", "content": "Follow the user's instructions precisely. Use only the supplied fictional tools. Independent calls that can safely run together must be emitted in one assistant turn. Never invent tool results or perform unrequested changes." }, { "role": "user", "content": "Pleas...
agentic
greghavens/fable-5-coding-and-debugging-traces
missing-parameter
false
3
[ { "role": "system", "content": "You are a helpful assistant, who always provide explanation. Think like you are answering to a five year old." }, { "role": "user", "content": "This is some data: Sunday SANSKRIT_WORD Aditya; Sunday COLOR red.\n\nGenerate a detailed description of this data" }, ...
instruction
teknium/OpenHermes-2.5
general
false
3
[ { "role": "system", "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax." }, { "role": "user", "content": "What source code is visible in this editor...
code_gen
cmndcntrlcyber/code-trainer-offsec-dataset
csharp
false
3
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
7
[ { "role": "system", "content": "Follow the user's instructions precisely. Use only the supplied fictional tools. Independent calls that can safely run together must be emitted in one assistant turn. Never invent tool results or perform unrequested changes." }, { "role": "user", "content": "Searc...
agentic
greghavens/fable-5-coding-and-debugging-traces
relevance-abstention
true
5
[ { "role": "system", "content": "You are an AI assistant. User will you give you a task. Your goal is to complete the task as faithfully as you can. While performing the task think step-by-step and justify your steps." }, { "role": "user", "content": "Here is a dialogue:\nDelia: Hey Sandra, thank...
instruction
teknium/OpenHermes-2.5
general
false
3
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
11
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
5
[ { "role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>\n{\"type\": \"functi...
tool_calling
glaiveai/glaive-function-calling-v2
function_calling
true
11
End of preview. Expand in Data Studio

code-trainer-v9-mixed

40,401-row mixed training dataset for supervised fine-tuning (SFT) in the Code-Trainer / RTPI pipeline. Used for both Qwen 14B (V9 SFT) and Gemma 26B (aggressive-full1 SFT) training.

Composition

Slice Source Rows (train) Purpose
A -- Code generation cmndcntrlcyber/code-trainer-offsec-dataset (8K subsample) 7,074 Preserve code-gen quality
B -- Tool calling glaiveai/glaive-function-calling-v2 (19K cap) ~15,125 High-density tool calling
B+ -- Multi-tool synthetic Synthetic from Slice B pairs (~2K) ~2,000 Multi-call per turn
C -- Agentic multi-turn greghavens/fable-5-coding-and-debugging-traces (10K cap) 8,994 Multi-step agent behaviour
D -- English instruction teknium/OpenHermes-2.5 (8K cap) 7,208 Language anchor
  • Tool coverage: 25,964 / 40,401 train rows (64.3%) contain tool definitions
  • Format: Unified ChatML, tool calls formatted via apply_chat_template(tools=...)
  • Split: 90/10 train/validation (seed 42)

Schema

Each row has a messages list in ChatML format, plus metadata columns:

  • slice: which data slice (A, B, B+, C, D)
  • source: original dataset name
  • category: content category
  • has_tools: whether the row contains tool definitions
  • n_turns: number of conversation turns

How to use

from datasets import load_dataset
ds = load_dataset("cmndcntrlcyber/code-trainer-v9-mixed")
print(f"Train: {len(ds['train'])}, Val: {len(ds['validation'])}")
print(ds["train"][0]["messages"][:2])

Reproducibility

python -m src.phase2_preprocessing.scripts.build_v9_mixed_dataset --config src/config/config.yaml
Downloads last month
58

Models trained or fine-tuned on atlas-institute/code-trainer-v9-mixed