Datasets:
messages listlengths 11 372 | tools listlengths 7 7 | metadata dict |
|---|---|---|
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-101","segment_id":"antonblanchard__microwatt-pr-101::co(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-101","segment_id":"antonblanchard__microwatt-pr-101::co(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-102","segment_id":"antonblanchard__microwatt-pr-102::se(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-114","segment_id":"antonblanchard__microwatt-pr-114::se(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-120","segment_id":"antonblanchard__microwatt-pr-120::se(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-122","segment_id":"antonblanchard__microwatt-pr-122::se(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-153","segment_id":"antonblanchard__microwatt-pr-153::se(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-165","segment_id":"antonblanchard__microwatt-pr-165::se(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-178","segment_id":"antonblanchard__microwatt-pr-178::se(...TRUNCATED) |
[{"role":"system","content":"You are opencode, an interactive CLI tool that helps users with softwar(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Executes a given bash command in a pers(...TRUNCATED) | {"instance_id":"antonblanchard__microwatt-pr-198","segment_id":"antonblanchard__microwatt-pr-198::se(...TRUNCATED) |
OriGent-SFT-Data
OriGent Suite: OriGent-RL · OriGent-SFT · OriGent-SFT-Data · OriGent-RL-Data
OriGent-SFT-Data bundles the supervised fine-tuning (SFT) resources for OriGent (3.5 GiB total):
- Sanitized Teacher Trajectories (
trajectories/): 8,447 verified multi-turn hardware engineering trajectories (9,060 interaction segments; 475,755 assistant turns withstep_loss_mask = 1, of which 435,966 remain supervised after the 8K turn-level reasoning mask) collected with DeepSeek-V4.1 Flash under OpenCode1.18.22across 61 hardware repositories (3.2 GiB across 17 JSONL shards). - Harbor Task Definitions & Tests (
tasks/,tasks.jsonl,instance_to_image.tsv): 8,861 verified executable Harbor tasks across 62 hardware repositories (325 MiB), covering 100% of the 8,447 trajectory tasks (has_sft_trajectory: true) plus 414 additional verified tasks from the same SFT repository pool, backed by 8,837 unique container references (origent-sft:<24-hex>).
All SFT repositories are strictly disjoint from both OriGent-RL-Data (23 repositories) and HWE-Bench (6 evaluation repositories).
Note on
OriGent-SFTtraining segments: The releasedtrajectories/shards contain the9,060multi-turn interaction segments across8,447tasks. The releasedOriGent-SFTcheckpoint additionally included610standalone compaction-summary samples extracted from the raw OpenCode SQLite sessions and dropped 3 over-262K segments plus 3 trailing batch-alignment segments (9,054 + 610 = 9,664segments across8,444tasks;906updates over 3 epochs).
Repository Layout
OriGent-SFT-Data/
├── README.md
├── SHA256SUMS # SHA-256 checksums for all 17 trajectory shards + task index files
├── tasks.jsonl # 8,861 task metadata rows (instance_id, repository, image, has_sft_trajectory)
├── instance_to_image.tsv # instance_id -> origent-sft:<24-hex>
├── trajectories/
│ ├── train-00000-of-00017.jsonl
│ └── ... (17 shards, 3.2 GiB total)
└── tasks/
└── <instance_id>/
├── instruction.md # Problem statement + evaluation constraints
├── task.toml # Harbor v1.3 spec (6h agent, 1h verifier, no-network)
└── tests/
├── test.sh # Harbor verifier entry point -> /logs/verifier/reward.txt
├── target.sh # PR-specific fail-to-pass behavioral check
├── regression.sh # Neighboring functionality pass-to-pass suite
└── baseline_head.txt
Sanitization
All trajectories and task definitions are scrubbed of credentials, proxy/host endpoints, and infrastructure fingerprints. Any assistant turn modified during trajectory sanitization has step_loss_mask set to 0 so every supervised token remains verbatim teacher output.
Trajectory Record Schema
Each line in trajectories/train-*.jsonl represents one training segment:
{
"messages": [
{ "role": "system", "content": "...", "step_loss_mask": 0 },
{ "role": "user", "content": "<problem statement>", "step_loss_mask": 0 },
{
"role": "assistant",
"reasoning_content": "...",
"content": "...",
"tool_calls": [
{ "id": "call_...", "type": "function", "function": { "name": "bash", "arguments": { "command": "..." } } }
],
"step_loss_mask": 1
},
{ "role": "tool", "tool_call_id": "call_...", "content": "...", "step_loss_mask": 0 }
],
"tools": [ "..." ],
"metadata": {
"instance_id": "antonblanchard__microwatt-pr-101",
"segment_id": "antonblanchard__microwatt-pr-101::compact-1",
"segment_index": 0,
"segment_count": 2,
"repo": "antonblanchard/microwatt",
"number": 101,
"base_commit": "<40-hex-sha>",
"teacher": "DeepSeek V4.1 Flash 1017"
}
}
Usage
Download trajectories only (3.2 GiB)
hf download henryen/OriGent-SFT-Data --repo-type dataset \
--include "trajectories/*" --include "SHA256SUMS" \
--local-dir ./OriGent-SFT-Data
Convert trajectories to Miles SFT format
Use training/sft/render_v3_sft_tokens.py from the OriGent codebase to build Miles train.jsonl + canonical-tokens.u32 (with 8K turn-level reasoning masking and 256K context filtering; retains 9,057 segments across 8,447 tasks):
python3 training/sft/render_v3_sft_tokens.py \
--input ./OriGent-SFT-Data/trajectories \
--tokenizer /path/to/Qwen3.6-35B-A3B \
--output-dir ./train_data \
--max-reasoning-tokens 8192 \
--max-seq-len 262144 \
--workers 16
Download Harbor task definitions (325 MiB)
python3 oci/download_tasks.py \
--repo-id henryen/OriGent-SFT-Data \
--output-dir ./sft_tasks \
--allow-pattern "tasks/antonblanchard__microwatt-*"
When rebuilding SFT task images from repository templates (scripts/render_repo_template.py), copy the newly generated baseline commit SHA from /opt/repoenv/base_commit.txt into tests/baseline_head.txt before running the Harbor verifier.
License
Released under the Apache License 2.0. Individual upstream hardware repositories remain subject to their respective open-source licenses.
Citation
@article{cui2026origent,
title = {OriGent: Post-Training Hardware Engineering Agents through Scalable Environment Synthesis},
author = {Fan Cui and Kexing Zhou and Youwei Zhuo},
journal = {arXiv preprint arXiv:2611.38637},
year = {2026},
url = {https://arxiv.org/abs/2611.38637}
}
- Downloads last month
- 18