Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
7
520
[ { "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. Use the instructions below and the tools available to you to assist the user.\n\nIMPORTANT: Assist with authorized security testing...
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK.\n\nYou a(...TRUNCATED)
End of preview. Expand in Data Studio

MiMo Dual-Harness SFT — DeepSeek-V4-Flash-0731

Complete recorded conversations from successful MiMo code and terminal tasks, generated by DeepSeek-V4-Flash-0731 through mini-swe-agent 2.4.6 and Claude Code 2.1.148. Both harnesses use the same DeepSeek model; Claude Code here refers to the harness, not an Anthropic model.

Generation used reasoning effort low, thinking enabled, drop_thinking=false, temperature 1.0 and top-p 0.95. Source run: 20261118-032557 (November 2026).

Contents

The export contains 2,711 conversations from 2,619 successful trials, covering 1,754 distinct tasks. There are 2,619 main conversations and 92 Claude Code subagent conversations. Subagents are independent rows with their own initial system and user messages; they are never concatenated into their parent's history. A subagent is included because its parent trial passed, not because the subagent was independently scored by the verifier.

Harness Main conversations Subagent conversations Train rows Validation rows
mini-swe-agent 1,494 0 1,413 81
Claude Code 1,125 92 1,158 59
Total 2,619 92 2,571 140

Data are stored in 24 Zstandard-compressed Parquet shards (approximately 100 MiB). The default configuration combines both harnesses. The other configurations select one harness without duplicating files. No balancing or oversampling is applied.

Schema

Each row has exactly one top-level field: messages.

Messages use the roles system, user, assistant, and tool:

  • content: recorded message text.
  • reasoning_content: assistant reasoning, separated from visible content at the recorded </think> delimiter when present.
  • tool_calls: OpenAI-style function calls with id, type, function.name, and JSON-encoded function.arguments.
  • tool_call_id: connects a tool result to its assistant call.

Optional fields are nullable in Parquet. Tool definitions are retained inside system messages, so there is no separate top-level tools column. System messages preserve the original harness instructions and DeepSeek DSML tool descriptions. They can be long. When using another model family, adapt the tool instructions and chat template before retokenizing.

Loading

After uploading this folder to a dataset repository:

from datasets import load_dataset

ds = load_dataset("YOUR_ACCOUNT/mimo-dual-harness-sft")
mini = load_dataset("YOUR_ACCOUNT/mimo-dual-harness-sft", "mini-swe-agent")
claude = load_dataset("YOUR_ACCOUNT/mimo-dual-harness-sft", "claude-code")

# Remove nullable fields if a chat template expects absent optional fields.
messages = [
    {key: value for key, value in message.items() if value is not None}
    for message in ds["train"][0]["messages"]
]

Locally, replace the repository ID with the path to this folder. Standard Parquet loading also works:

ds = load_dataset(
    "parquet",
    data_files={
        "train": "/path/to/dataset/data/*/train-*.parquet",
        "validation": "/path/to/dataset/data/*/validation-*.parquet",
    },
)

Construction and validation

The source run has 5,523 saved results out of 5,524 planned trials. We selected reward == 1 and exception_info == null, producing 2,619 candidate trials. All candidates were exported. The other 2,904 saved results and the one missing result are not included.

mini-swe-agent messages come from its native trajectory JSON. Claude Code messages come from native session JSONL files; text and tool-use fragments sharing an assistant message ID are combined. Tool results are represented as tool messages. The original initial system/user context is recovered by decoding saved prompt_ids with the generation tokenizer and matching the native conversation's first user message. This is also done separately for every subagent.

Claude Code also stores model-visible context as attachments outside ordinary messages. All 6,452 such records are restored as user-context messages: task reminders, background task notifications, file-change reminders, date changes and plan-mode reminders. Notification text comes from the native attachment; reminder text is matched to its actual rendering in the saved context tokens. Initial skill listings are already present in the recovered first prompt. Nothing is filled in from a newly invented reminder template.

Runtime-only records such as process exit markers and queue bookkeeping events are omitted. The exporter adds no message-length truncation, summarization, or fabricated final answers. Any output truncation already performed by the harness remains as recorded. All function arguments were checked as JSON objects, and every tool call was checked against its corresponding result. Every source conversation has a distinct matched prompt context within its trial. validation_report.json records the loading and integrity checks.

These are full recorded conversation histories, reconstructed for SFT. They are not a lossless representation of the final rollout input_ids / response_mask: Claude Code may rewrite or roll back context during execution. The original per-token masks are not part of this messages-only dataset. Retokenize using the training model's template and compute loss on assistant content, reasoning and tool calls; user/system messages and tool results are context only. Preserve reasoning_content in a template that supports it.

Split policy

A fixed 5% (138 of 2,762) of the original task IDs was selected for validation by sorting SHA256("42:" + task_id) before filtering successful demonstrations. All harnesses and subagents for a task stay in the same split. There is no task-ID overlap across train and validation. Near-duplicate tasks were not clustered.

The exported validation conversations are successful demonstrations only; validation loss on them is not an unbiased task success rate. Use the full held-out task list in task_splits.json for rollout evaluation, including tasks with no successful demonstration.

Provenance and reproduction

  • manifest.jsonl maps each Parquet file/row to its task ID, harness, main/subagent type, source session/file, prompt trajectory index and reward. Paths in this manifest are relative identifiers, not server-specific absolute paths.
  • task_splits.json includes the complete original task-ID split.
  • examples/ contains two readable conversations for the same task, one per harness.
  • stats.json contains export counts. excluded.jsonl is empty for this export.
  • export_sft_dataset.py is the exporter used for this snapshot. It requires the original native logs and saved trajectory arrays, plus numpy, pyarrow and transformers.
python export_sft_dataset.py \
  --run-dir /path/to/original/run \
  --model-path /path/to/DeepSeek-V4-Flash-0731 \
  --output-dir /path/to/new/output

Source data and licenses

Tasks are from dyyyyyyyy/mimo-v26-rl-oss-code-terminal-harbor, which combines the MiMo V2.6 Harbor code and terminal collections. The source task dataset declares Apache-2.0; its original license files are copied under licenses/ with their original attribution. Code appearing in observations retains its original project notices. These source notices do not declare a new blanket license for all generated conversations or harness prompt text.

Upload

Authenticate using hf auth login, then upload this directory:

hf upload YOUR_ACCOUNT/mimo-dual-harness-sft /path/to/this/dataset . --repo-type dataset

The folder structure and metadata follow the Hugging Face data configuration and dataset card formats.

Downloads last month
-