|
Download README.md from netm8/m4-coding-agent-v2-dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.24 kB
-
https://huggingface.co/datasets/netm8/m4-coding-agent-v2-dataset/resolve/main/README.md
- Command line
-
hf download hf://datasets/netm8/m4-coding-agent-v2-dataset/README.md
-
curl -L -o README.md https://huggingface.co/datasets/netm8/m4-coding-agent-v2-dataset/resolve/main/README.md
3.24 kB
metadata
dataset_info:
- config_name: default
features:
- name: source
dtype: string
- name: messages
list:
- name: role
dtype: string
- name: content
dtype: string
splits:
- name: train
num_bytes: 335668622
num_examples: 23475
- name: validation
num_bytes: 6825452
num_examples: 500
download_size: 119197784
dataset_size: 342494074
- config_name: opd_prompts
features:
- name: source
dtype: string
- name: prompt
dtype: string
splits:
- name: train
num_bytes: 7824598
num_examples: 4000
download_size: 3227874
dataset_size: 7824598
- config_name: rlvr
features:
- name: task_kind
dtype: string
- name: filename
dtype: string
- name: prompt
dtype: string
- name: original_code
dtype: string
- name: test_code
dtype: string
- name: test_cases_json
dtype: string
splits:
- name: train
num_bytes: 6504400
num_examples: 2500
download_size: 2545458
dataset_size: 6504400
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: validation
path: data/validation-*
- config_name: opd_prompts
data_files:
- split: train
path: opd_prompts/train-*
- config_name: rlvr
data_files:
- split: train
path: rlvr/train-*
m4-coding-agent-v2-dataset
Training and verification dataset built for netm8/qwen3-8b-m4-agent-v2, an 8B local coding agent based on Qwen/Qwen3-8B.
What's in the dataset
The dataset has 30,475 rows organized into three configs matching the three training stages:
| Config | Rows | Purpose |
|---|---|---|
default |
23,475 train / 500 val | Multi-turn coding trajectories and multi-language coding examples normalized into a single five-tool schema (read_file, edit_file, grep_search, list_files, run_command). |
opd_prompts |
4,000 | Diverse coding prompts used for Stage 2 on-policy distillation from Qwen3-Coder-30B-A3B-Instruct. |
rlvr |
2,500 | Executable verification tasks: 1,500 decontaminated competitive programming problems (stdin/stdout test cases) and 1,000 Python AST bug-mutation edit_file tasks where each bug was verified to fail tests before the fix and pass after. The final 100 bug-fix tasks were held out strictly for evaluation. |
Key data engineering steps
- Unified 5-tool schema: Multi-turn trajectories from different agent harnesses (such as SWE-rebench and SWE-smith) were remapped into a single consistent Qwen3
<tool_call>JSON schema. - Execution-verified bug mutations: Python AST mutations (off-by-one errors, boundary condition flips, operator bugs) were automatically executed against unit tests so only genuine, reproducible failing-to-passing fixes were kept.
- Multi-language coverage: Stage 1 SFT includes Python, C++, TypeScript/JavaScript, Rust, Go, Java, Bash, and SQL alongside tool-use trajectories.
Loading
from datasets import load_dataset
sft = load_dataset("netm8/m4-coding-agent-v2-dataset", "default")
opd = load_dataset("netm8/m4-coding-agent-v2-dataset", "opd_prompts")
rlvr = load_dataset("netm8/m4-coding-agent-v2-dataset", "rlvr")