Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
the dataset is currently locked, please try again later.
Error code:   LockedDatasetTimeoutError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

example_id
string
task_id
string
rollout_id
string
turn_id
string
harness
string
difficulty
string
common_task
bool
rollout_turn_count
int32
teacher_model
string
teacher_revision
string
harness_version
string
source_sha256
string
prompt
unknown
completion
unknown
tools
unknown
claude-code:0119_907_119907848_qa_1:b6efdf13a974
0119_907_119907848_qa_1
sdee0026474d3c1a1231302e5
b6efdf13a974
claude-code
hard
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
c572f8f9664db04ac84d580b85b0b125f2efa429cccec6bca2f2d468eafac67d
[ { "role": "system", "content": "You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou are an interactive agent that helps users with software engineering tasks.\n\nIMPORTANT: Assist with authorized security testing, defensive security, CTF challenges, and educational contexts. Refuse request...
[ { "role": "assistant", "content": null, "refusal": null, "annotations": null, "audio": null, "function_call": null, "tool_calls": [ { "id": "chatcmpl-tool-ad79a2b5d1ef66fe", "type": "function", "function": { "name": "Bash", "arguments": {...
[ { "type": "function", "function": { "name": "Agent", "description": "Launch a new agent to handle complex, multi-step tasks. Each agent type has specific capabilities and tools available to it.\n\nAvailable agent types are listed in <system-reminder> messages in the conversation.\n\nWhen using t...
claude-code:0119_907_119907848_qa_1:e4a9bb2762a1
0119_907_119907848_qa_1
sdee0026474d3c1a1231302e5
e4a9bb2762a1
claude-code
hard
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
c572f8f9664db04ac84d580b85b0b125f2efa429cccec6bca2f2d468eafac67d
[ { "role": "system", "content": "You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou are an interactive agent that helps users with software engineering tasks.\n\nIMPORTANT: Assist with authorized security testing, defensive security, CTF challenges, and educational contexts. Refuse request...
[ { "role": "assistant", "content": "This is the Breast Cancer Wisconsin dataset. Let me inspect it properly.", "refusal": null, "annotations": null, "audio": null, "function_call": null, "tool_calls": [ { "id": "chatcmpl-tool-9d523e6307c5229c", "type": "function", ...
[ { "type": "function", "function": { "name": "Agent", "description": "Launch a new agent to handle complex, multi-step tasks. Each agent type has specific capabilities and tools available to it.\n\nAvailable agent types are listed in <system-reminder> messages in the conversation.\n\nWhen using t...
claude-code:0119_907_119907848_qa_1:ae8b160dedad
0119_907_119907848_qa_1
sdee0026474d3c1a1231302e5
ae8b160dedad
claude-code
hard
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
c572f8f9664db04ac84d580b85b0b125f2efa429cccec6bca2f2d468eafac67d
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":"Data is clean: 569 rows, 30 numeric features, binary target `diagnos(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
claude-code:0119_907_119907848_qa_1:bb60cf534776
0119_907_119907848_qa_1
sdee0026474d3c1a1231302e5
bb60cf534776
claude-code
hard
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
c572f8f9664db04ac84d580b85b0b125f2efa429cccec6bca2f2d468eafac67d
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":"With the standard pipeline (removing `id`, train/test split with `te(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
claude-code:0119_907_119907848_qa_1:5f7be599fc44
0119_907_119907848_qa_1
sdee0026474d3c1a1231302e5
5f7be599fc44
claude-code
hard
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
c572f8f9664db04ac84d580b85b0b125f2efa429cccec6bca2f2d468eafac67d
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":"\n\nDone. The logistic regression model achieves **97.36842105263158(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
claude-code:0107_327_107327801_qa_2:04f21bbe64bf
0107_327_107327801_qa_2
s38cf0ec73dca5d91e348ba29
04f21bbe64bf
claude-code
medium
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
eca05ee9c62c42171c621a0e908293b48ae39dda3ca1c29b664e256ca06e4497
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":null,"refusal":null,"annotations":null,"audio":null,"function_call":n(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
claude-code:0107_327_107327801_qa_2:99af4c7c5cd6
0107_327_107327801_qa_2
s38cf0ec73dca5d91e348ba29
99af4c7c5cd6
claude-code
medium
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
eca05ee9c62c42171c621a0e908293b48ae39dda3ca1c29b664e256ca06e4497
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":"Encoding issue — let me try latin-1/cp1252.","refusal":null,"annot(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
claude-code:0107_327_107327801_qa_2:de25c126bcdf
0107_327_107327801_qa_2
s38cf0ec73dca5d91e348ba29
de25c126bcdf
claude-code
medium
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
eca05ee9c62c42171c621a0e908293b48ae39dda3ca1c29b664e256ca06e4497
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":null,"refusal":null,"annotations":null,"audio":null,"function_call":n(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
claude-code:0107_327_107327801_qa_2:3da2eb1696d0
0107_327_107327801_qa_2
s38cf0ec73dca5d91e348ba29
3da2eb1696d0
claude-code
medium
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
eca05ee9c62c42171c621a0e908293b48ae39dda3ca1c29b664e256ca06e4497
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":null,"refusal":null,"annotations":null,"audio":null,"function_call":n(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
claude-code:0107_327_107327801_qa_2:08c8781c887e
0107_327_107327801_qa_2
s38cf0ec73dca5d91e348ba29
08c8781c887e
claude-code
medium
true
5
Qwen/Qwen3.8-27B
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
2.1.270
eca05ee9c62c42171c621a0e908293b48ae39dda3ca1c29b664e256ca06e4497
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"assistant","content":"\n\nDone.\n\n**Step-by-step:**\n1. Inspected `PoliceKillingsUS.csv` (...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Launch a new agent to handle complex, (...TRUNCATED)
End of preview.

SmolDataEnvs Multi-harness SFT

Ready-to-load TRL SFT data from Qwen3.8-27B trajectories on data-analysis tasks. It contains 17,929 assistant responses from 3,189 successful rollouts, covering 888 unique tasks and four harnesses.

Each conversational row is one recorded prompt plus the next assistant completion and its available tool schemas. Previous assistant messages and tool outputs are context; only the current completion is supervised. No incompatible conversation roots are stitched together.

Choose a configuration

Configuration Examples Rollouts Use
all (default) 17,929 3,189 Portable prompt/completion messages, all harnesses
opencode 4,825 801 OpenCode messages
claude-code 4,581 781 Claude Code messages
codex 4,078 797 Codex messages
mini-swe-agent 4,445 810 Mini-SWE-Agent messages
lfm25_2_6b 17,929 3,189 Validated LFM2.5-2.6B input IDs and labels
qwen35_2b 17,929 3,189 Validated Qwen3.5-2B input IDs and labels
from datasets import load_dataset

# datasets 5.0.0 preserves the heterogeneous message/tool fields.
ds = load_dataset("FineEnvs/SmolDataEnvs-multiharness-sft", "all", split="train")
print(ds[0]["prompt"], ds[0]["completion"], ds[0]["tools"])

prompt, completion and tools use the Datasets Json feature. They load as Python lists/dictionaries, not JSON strings. This preserves tool arguments without injecting null-valued keys or flattening nested structures. Files are Parquet; no custom dataset loader is required.

Metadata includes example_id, task_id, rollout_id, turn_id, harness, difficulty, common_task, rollout_turn_count, teacher/model revisions and the source rollout hash.

Quick SFT: LFM2.5-2.6B

The tokenized configuration is the simplest and fastest route for the two validated models. It avoids repeated tokenization and already contains exact completion-only labels (-100 for context). Install requirements.txt first; the TRL commit is pinned because label handling is version-sensitive.

import torch
from datasets import load_dataset
from transformers import AutoModelForCausalLM, AutoTokenizer
from trl import SFTConfig, SFTTrainer

model_id = "LiquidAI/LFM2.5-2.6B"
revision = "654f9463ce32b05d0429d76fe1f580b27d4c1ac0"
ds = load_dataset("FineEnvs/SmolDataEnvs-multiharness-sft", "lfm25_2_6b", split="train")
ds = ds.select_columns(["input_ids", "labels"])
tokenizer = AutoTokenizer.from_pretrained(model_id, revision=revision)
model = AutoModelForCausalLM.from_pretrained(
    model_id, revision=revision, dtype=torch.bfloat16, attn_implementation="sdpa",
)
trainer = SFTTrainer(
    model=model,
    processing_class=tokenizer,
    train_dataset=ds,
    args=SFTConfig(
        output_dir="lfm-multiharness-sft",
        num_train_epochs=2, learning_rate=3e-6, lr_scheduler_type="constant",
        per_device_train_batch_size=1, gradient_accumulation_steps=8,
        bf16=True, optim="paged_adamw_8bit", gradient_checkpointing=True,
        max_length=None, packing=False, loss_type="chunked_nll",
        dataset_kwargs={"skip_prepare_dataset": True},
        assistant_only_loss=False, save_strategy="epoch", report_to="none",
    ),
)
trainer.train()
trainer.save_model("lfm-multiharness-sft/final")
tokenizer.save_pretrained("lfm-multiharness-sft/final")

These tokenized configurations are specific to the pinned student model/tokenizer revisions. Do not use them for other models. Labels are unshifted; TRL applies the causal shift. Teacher IDs/logprobs are not student targets.

Run either model with one script

train_sft.py supports both models, tokenized or conversational input, harness filtering, and matched-task selection. Defaults reproduce the training hyperparameters above, with epoch checkpoint saves. It saves a dataset revision receipt and the model's original inference template.

hf download FineEnvs/SmolDataEnvs-multiharness-sft --repo-type dataset \
  --include train_sft.py requirements.txt --local-dir multiharness-sft
cd multiharness-sft
pip install -r requirements.txt

python train_sft.py --model lfm --output-dir lfm-sft
python train_sft.py --model qwen --output-dir qwen-sft

Run the two commands in separate GPU allocations to train concurrently. Full fine-tuning uses long sequences: maximum 68,673 tokens for LFM and 73,577 for Qwen. The reference configuration uses one 80 GB H100 per trainer, without truncation.

# Use readable messages and native TRL completion-only tokenization instead.
python train_sft.py --model qwen --dataset-config all --output-dir qwen-messages

# Restrict to OpenCode, or to tasks that have successes in all four harnesses.
python train_sft.py --model lfm --harness opencode --output-dir lfm-opencode
python train_sft.py --model lfm --common-tasks --output-dir lfm-matched

The conversational recipe uses completion_only_loss=True. LFM needs the bundled training template to avoid a generation-prefix mismatch. Qwen's training prefix follows the recorded response's reasoning presence. The script restores the original inference template before saving; reference evaluation uses Qwen thinking disabled and LFM thinking preserved. Other models require their own prefix/mask checks.

Selection and provenance

  • Source: AdithyaSK/qwen38-27b-harbor-rollouts, revision 3d826b6854acdb4e4918e5047cdf9f70eb38602e.
  • Teacher: Qwen/Qwen3.8-27B, revision 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0. Collection used Harbor with Daytona sandboxes and retained the first correct, valid captured rollout per task/harness, with at most three attempts.
  • The attempted pool contained 1,000 tasks: 400 medium and 600 hard. Published successes cover 377 medium and 511 hard unique tasks. This is success-selected demonstration data, not an estimate of pass@1.
  • Four credential-containing rollouts remain excluded. No test-task, test-notebook or normalized test-question overlap was found with the fixed 250-task evaluation set used in these experiments.
  • common_task=True identifies 692 tasks with successes in every harness, or 2,768 matched rollouts. common_tasks.json lists their IDs. If making an additional train/validation split, group by task_id so related turns and harnesses remain together.
  • Sampling is standard turn-level SFT. rollout_turn_count is metadata; it does not automatically equalize rollout or harness weights. For a controlled OpenCode-versus-multi-harness comparison, also match task selection and training budget.
  • manifest.json records source checksums, counts, tokenizer revisions, template hashes and student token statistics. Original full captures and teacher logprobs remain in the source dataset.

Validation

Every exported row is round-trip checked through Parquet. Student input IDs and labels match the completed full-corpus native TRL audits; historical context is masked and completions contain supervised tokens. The reference training setup also passed save/resume, longest-example and four-harness evaluation smokes. Hub loading and a CPU TRL update are checked separately in verification.json.

The default configuration is portable. Model-specific features, APIs and mask semantics were tested with the exact versions in requirements.txt; changing tokenizers/templates requires revalidation. Task/data licenses from the source dataset continue to apply.

Downloads last month
-

Collection including FineEnvs/SmolDataEnvs-multiharness-sft