Datasets:
Python SFT: 95,230 verified rows (IR normalized + LLM, post-hoc rationale)
Browse filesFiles changed (2)
24 unmodified lines25262724 unmodified linesTools: `recovery/python_sft/` in https://github.com/yil384/rtl-qwen-sft.Prompts inherit the licenses of their sources (see the Verilog dataset card).24 unmodified lines252627282930313233343536373839404142434445464748495051525354555657585960616224 unmodified linesTools: `recovery/python_sft/` in https://github.com/yil384/rtl-qwen-sft.Prompts inherit the licenses of their sources (see the Verilog dataset card).## Update 2026-12-02: `python_sft.ir.jsonl` (59,453 + 2,801 rows)`python_sft.ir.jsonl` has 62,254 rows: Verilog -> Python by the AST-level IR transpiler (`verilog_to_python.py`, PyVerilog), kept only if it passes the sameiverilog golden-trace check (300 cycles, exact match, X ignored). Following ChipMATE sec. 2.3 an LLM (Qwen3-Coder-30B-A3B-Instruct) then appended a **post-hoc rationale** to the verified code:it is a plausible explanation written after the fact, not a record of how the converter derived the code. Rationales that mention Verilog or the converter, or call the code redundant/odd, were dropped and regenerated once; rows still without a clean rationale were left out.2,801 of these ids also exist in `python_sft.train.jsonl` (V32 / v12 answers); use the main file's answer for those.**Known differences from the V32 style (not yet normalized):**- 20,403 of 21,275 sequential skeletons read the clock (`clk = inputs.get('clk', 0)`); V32 never reads clk. Verified rows still pass because the harness does not pass clk.- 50,930 answers contain the converter's `for _iter in range(N)` repeat loop and `_nba_*` temporaries.- 549 rationales say "continuous assignment" (Verilog wording).- `python_sft.train.jsonl` (8,995 rows) is unchanged.## Update 2026-12-02 (final local build): 95,230 verified rows`python_sft.train.jsonl` replaced by the merged set (unique ids, V32 skeleton format, every answer passes the iverilog golden trace: 300 cycles,one eval() = one posedge, resets pulsed, X bits ignored, exact match):| answer origin | rows || --- | ---: || ir_transpile_normalized+posthoc_rationale | 65491 || llm_verilog_hint+posthoc_rationale | 20744 || v32_reuse | 4699 || v12_reuse | 4296 |Sources: {'codev_r1': 39738, 'vericoder': 32278, 'verimm': 11356, 'verithoughts': 6427, 'verireason_luna': 5431}. Combinational 55995, sequential 39235.- `ir_transpile_normalized`: AST-level IR transpiler output, normalized to the V32 convention (clock inputs not read, the transpiler's `for _iter in range(2)` settle loop unrolled to one pass, skeleton re-extracted), re-verified after normalization (98.2% of the first batch survived; the rest were dropped).- `llm_verilog_hint`: Qwen3-Coder-30B-A3B-Instruct, shown the reference Verilog, 2 samples, first verified sample kept. Pass rate on the rows the transpiler could not handle: 64.2% (main pool), 44.6% (extra pool).- Rationales (`<think>`) of the IR and LLM rows are **post-hoc**, written by Qwen3-Coder-30B after the code was verified (ChipMATE sec. 2.3); they are not records of how the code was derived. `v32_reuse` / `v12_reuse` rows keep their original rationale.- Rows without a clean rationale after two passes were left out. Rows whose Verilog has inout ports, no outputs, or mostly X outputs (about 1.3k) cannot be checked and are not included.- "Verified" = finite differential simulation against the Verilog, not formal equivalence.
123version https://git-lfs.github.com/spec/v1oid sha256:e4657698cd5a4dd56d1bdd894ee4748e28a1ab3cbf5e5f03cd54a66a0b46357esize 103532494123version https://git-lfs.github.com/spec/v1oid sha256:f9239edd637f66431d0a51282ffa8a9e4d9639dfa1320f8a7ece5803c8ca2b60size 720419914
README.md+35
python_sft.train.jsonl+2-2