conversations listlengths 2 118 | n_tokens int64 79 32.8k | agent stringclasses 0
values | completed stringclasses 0
values | dataset stringclasses 1
value | episode stringclasses 0
values | expected_answer stringclasses 692
values | hf_repo stringclasses 3
values | hf_revision stringclasses 1
value | injected_classes stringclasses 385
values | judgment stringclasses 0
values | kind stringclasses 2
values | license stringclasses 2
values | loss_mask_note stringclasses 1
value | meta_json stringlengths 266 310 β | metadata stringlengths 2 425 β | mix_source stringclasses 4
values | model stringclasses 0
values | n_chars stringlengths 3 6 β | n_messages stringclasses 18
values | n_turns stringclasses 46
values | not_errored_cut stringclasses 0
values | original_source stringclasses 22
values | original_teacher stringclasses 7
values | problem stringclasses 707
values | recovery_ish stringclasses 1
value | result stringclasses 0
values | run_id stringclasses 0
values | shard stringclasses 6
values | source stringclasses 1
value | subset stringclasses 6
values | task_complete_in_last stringclasses 0
values | trial_name stringlengths 16 41 β | upstream_columns stringclasses 3
values | upstream_source stringclasses 17
values | uuid stringlengths 32 42 β | verified stringclasses 0
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[
{
"role": "user",
"content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w... | 4,383 | null | null | null | null | null | null | null | [{"at": 7, "classes": ["tool_call_content", "tool_call_content"], "malformed_train_loss": 0, "recovery_train_loss": 1}, {"at": 11, "classes": ["missing_field"], "malformed_train_loss": 0, "recovery_train_loss": 1}] | null | null | null | train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant turns (upstream train_loss kept); consumed by SkyRL tokenize | null | null | recovery | null | 15554 | null | 10 | null | synthetic_structural_recovery | GLM-4.6 | null | true | null | null | null | null | null | null | task_4799__7WCuRSs | null | nl2bash | null | null |
[
{
"role": "user",
"content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w... | 10,815 | null | null | null | null | null | null | null | [{"at": 11, "classes": ["bare_tool_call", "bare_tool_call"], "malformed_train_loss": 0, "recovery_train_loss": 1}, {"at": 13, "classes": ["missing_field", "missing_field", "missing_field"], "malformed_train_loss": 0, "recovery_train_loss": 1}] | null | null | null | train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant turns (upstream train_loss kept); consumed by SkyRL tokenize | null | null | recovery | null | 53115 | null | 13 | null | synthetic_structural_recovery | GLM-4.6 | null | true | null | null | null | null | null | null | inferredbugs-8018__62rumVj | null | Inferred Bugs | null | null |
[
{
"role": "user",
"content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w... | 15,888 | null | null | null | null | null | null | null | [{"at": 3, "classes": ["tool_call_content"], "malformed_train_loss": 0, "recovery_train_loss": 1}, {"at": 21, "classes": ["commands_only"], "malformed_train_loss": 0, "recovery_train_loss": 1}] | null | null | null | train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant turns (upstream train_loss kept); consumed by SkyRL tokenize | null | null | recovery | null | 48828 | null | 17 | null | synthetic_structural_recovery | GLM-4.7 | null | true | null | null | null | null | null | null | issue-3577__2prwWpU | null | swesmith | null | null |
[
{
"role": "user",
"content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w... | 9,607 | null | null | null | null | null | null | null | [{"at": 3, "classes": ["role_leak"], "malformed_train_loss": 0, "recovery_train_loss": 1}, {"at": 9, "classes": ["missing_field", "missing_field"], "malformed_train_loss": 0, "recovery_train_loss": 1}] | null | null | null | train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant turns (upstream train_loss kept); consumed by SkyRL tokenize | null | null | recovery | null | 33674 | null | 20 | null | synthetic_structural_recovery | GLM-4.6 | null | true | null | null | null | null | null | null | superuser-84145__jtNhfpn | null | stack_exchange | null | null |
[
{
"role": "user",
"content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w... | 3,098 | null | null | null | null | null | null | null | [{"at": 3, "classes": ["prose"], "malformed_train_loss": 0, "recovery_train_loss": 1}, {"at": 5, "classes": ["tool_call_content"], "malformed_train_loss": 0, "recovery_train_loss": 1}] | null | null | null | train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant turns (upstream train_loss kept); consumed by SkyRL tokenize | null | null | recovery | null | 12615 | null | 6 | null | synthetic_structural_recovery | GLM-4.6 | null | true | null | null | null | null | null | null | superuser-18628__spSUNHy | null | stack_exchange | null | null |
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED) | 9,382 | null | null | null | null | null | null | null | "[{\"at\": 9, \"classes\": [\"json_syntax\", \"json_syntax\"], \"malformed_train_loss\": 0, \"recove(...TRUNCATED) | null | null | null | "train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant tur(...TRUNCATED) | null | null | recovery | null | 28798 | null | 14 | null | synthetic_structural_recovery | GLM-4.6 | null | true | null | null | null | null | null | null | tezos-0739_copy6__ZuBoLpt | null | stack_exchange | null | null |
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED) | 18,942 | null | null | null | null | null | null | null | "[{\"at\": 3, \"classes\": [\"bare_tool_call\", \"bare_tool_call\"], \"malformed_train_loss\": 0, \"(...TRUNCATED) | null | null | null | "train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant tur(...TRUNCATED) | null | null | recovery | null | 70186 | null | 14 | null | synthetic_structural_recovery | GLM-4.6 | null | true | null | null | null | null | null | null | synatra-2940__ipRcNAK | null | neulab | null | null |
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED) | 5,405 | null | null | null | null | null | null | null | "[{\"at\": 5, \"classes\": [\"commands_only\"], \"malformed_train_loss\": 0, \"recovery_train_loss\"(...TRUNCATED) | null | null | null | "train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant tur(...TRUNCATED) | null | null | recovery | null | 18810 | null | 10 | null | synthetic_structural_recovery | GLM-4.6 | null | true | null | null | null | null | null | null | superuser-25228__rfh8ciu | null | stack_exchange | null | null |
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED) | 4,080 | null | null | null | null | null | null | null | "[{\"at\": 3, \"classes\": [\"json_syntax\", \"json_syntax\", \"json_syntax\"], \"malformed_train_lo(...TRUNCATED) | null | null | null | "train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant tur(...TRUNCATED) | null | null | recovery | null | 15744 | null | 9 | null | synthetic_structural_recovery | GPT-OSS-120B | null | true | null | null | null | null | null | null | codeforces-05067__NEC9TDf | null | codeforces | null | null |
[{"role":"user","content":"You are an AI assistant tasked with solving command-line tasks in a Linux(...TRUNCATED) | 16,076 | null | null | null | null | null | null | null | "[{\"at\": 5, \"classes\": [\"tool_call_content\", \"tool_call_content\", \"tool_call_content\"], \"(...TRUNCATED) | null | null | null | "train_loss=0 on injected failures and all user turns; 1 on recovery and other teacher assistant tur(...TRUNCATED) | null | null | recovery | null | 56062 | null | 16 | null | synthetic_structural_recovery | GLM-4.7 | null | true | null | null | null | null | null | null | dockerfile-14993_copy1__nTyrUtg | null | taskmaster | null | null |
Grug SFT mix v2 (40M tokens)
A 40M-token SFT mix for Grug-67B-A2B (open-athena Datakit SFT 2026-09-21), built to fix its terminus-2 agent failures: malformed actions (tool-call dialects, commands-only JSON, role-token leaks, prose instead of JSON), no recovery after a parse error, and weak context-summarization handoffs. It is a pilot: small enough to train cheaply, meant to be scaled with the same recipe if it moves the agentic evals.
7,518 conversations, 40.0M tokens (Grug tokenizer, chat template, enable_thinking=false), of which
12.1M are trained (train_loss=1 assistant turns).
| component | rows | tokens | share of tokens | trained tokens | share of trained |
|---|---|---|---|---|---|
recovery β synthetic structural recovery |
403 | 4.8M | 12.0% | 1.55M | 12.8% |
handoff β AgentTrove context-summarization handoffs |
435 | 10.0M | 25.0% | 0.82M | 6.8% |
agentic β AgentTrove clean completed trajectories |
2,315 | 22.0M | 54.9% | 7.67M | 63.5% |
non_agentic β Nemotron IF / math / science |
4,365 | 3.2M | 8.0% | 2.05M | 17.0% |
Format
data/train-00000-of-00001.parquet, one conversation per row:
conversations:list<struct<role: string, content: string, train_loss: int8>>.train_lossis 1 on assistant turns to train on and 0 on everything else: user / tool turns, assistant turns the terminus-2 harness rejected, and injected malformed turns in recovery rows (they stay in the context so the model learns the recovery, not the failure).mix_source:recovery | handoff | agentic | non_agentic;n_tokens: templated length.- Provenance (strings, may be null):
original_source,original_teacher,trial_name,kind,upstream_source,hf_repo,license,injected_classes,meta_json, ...
Every row ends with an assistant turn and is at most 32,768 tokens (longer rows were skipped, not
truncated). Assistant turns carry no <think> reasoning (non-thinking student).
Train with loss on all assistant turns while honouring train_loss, e.g. SkyRL main_sft
(marianna13/SkyRL@a469e524 or later): messages_key=conversations train_on_what=all_assistant_messages.
Components
agentic β open-thoughts/AgentTrove@b395a430
terminus-2 trajectories, clean-completion cut: exp_* / unknown sources dropped, strong teachers only
(GLM-4.7, GLM-4.6, GLM-5.0, Kimi K2.0 Thinking, Kimi-2.5, MiniMax M2.0, GPT-5, GPT-OSS-120B), last
turn a complete non-error task_complete, longest episode per (trial, run), β€20k per source
(184,015-row pool). Assistant turns are trained only if the original text parses as terminus-2 JSON.
handoff β AgentTrove GLM-4.7 rows around a context-summarization handoff (β€3 trials per task,
16,312-row pool): summary (the old agent writes the handoff summary; only the summary is trained),
answers (the old agent answers the new agent's questions; only the answers are trained),
continuation (the new agent asks questions and resumes the task). This mix: 199 summary,
143 answers, 93 continuation.
recovery β clean agentic trajectories with 1β2 injection points each. Before a teacher turn,
1β3 failed attempts are inserted, each a re-rendering of that same teacher turn in one of Grug's
measured error styles, followed by the harness's real parse-error message (produced by harbor's
terminus-2 parser); the teacher's valid turn follows as the trained recovery. Style shares follow
Grug 09.21's rejected turns (non-thinking mode): tool-call dialect in content 22%, commands-only
16%, missing field 15%, role-token leak 13%, prose 11%, bare <tool_call> 10%, JSON syntax 9%,
other schema 3%; a failure repeats with the same style 95% and word for word 34% of the time (Grug:
92% / 34%). No Grug output text is used. Trajectories used here are excluded from agentic.
non_agentic β Nemotron post-training v3 SFT sets (nvidia/Nemotron-SFT-Math-v4,
nvidia/Nemotron-SFT-Science-v2, nvidia/Nemotron-SFT-Instruction-Following-Chat-v3), reasoning
stripped, as an anti-forgetting slice.
Build
Token-balanced sampling (seed 50) with
build_sft_mix_5k.py --balance tokens --total-tokens 40000000 --fractions recovery:0.12,handoff:0.25,agentic:0.55,non_agentic:0.08 --max-tokens 32768
in marianna13/monorepo (rl/scripts/data/, rl/scripts/sft_gen/;
issue 0048). mix_manifest.json has the per-component quotas, counts and skips.
Limitations
- Pilot size: 435 handoff and 403 recovery conversations.
- Handoff rows are long contexts with short trained replies, so handoff is 25% of the tokens but 6.8% of the trained tokens.
- AgentTrove traces come from several teacher models; SWE and terminal sources may overlap other public SFT mixes. Not an evaluation set.
License
The mix is released under CC BY-SA 4.0 because it contains CC BY-SA 4.0 Nemotron rows
(Science-v2, Math-v4); the AgentTrove-derived rows are Apache-2.0 upstream. Per-row license /
hf_repo columns identify the Nemotron sources. Teacher-model outputs remain subject to their
providers' terms.
- Downloads last month
- 55