Downloads · 30 days
10
11% of all-time downloads
freeqaz/decomp-synth-lifter-v14-evalformat-qwen3.5-9b-lora
decomp-synth-lifter-v14-evalformat-qwen3.5-9b-lora is a machine learning model from freeqaz. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
A LoRA adapter that tunes Qwen3.5-9B for multi-turn, feedback-driven byte-exact decompilation matching: the model proposes C++ source, the real original compiler + objdiff grade the result, and the model reads the str…
Downloads · 30 days
10
11% of all-time downloads
All-time downloads
89
Public
Repo size
713 MB
Likes
0
Public
Click a slice to open those files.
.safetensors693 MB · 97%
From the Hugging Face model README
A LoRA adapter that tunes Qwen3.5-9B for multi-turn, feedback-driven byte-exact decompilation matching: the model proposes C++ source, the real original compiler + objdiff grade the result, and the model reads the structured feedback pane (fuzzy %, diff regions, compiler diagnostics) to fix its own near-misses over successive turns. This is the project's strongest 9B on that agentic instrument.
This adapter comes out of a campaign teaching fleets of AI coding agents to reconstruct shipped game binaries byte-for-byte — matching decompilation, the console-preservation community's gold standard: rewrite C++ until the original vintage compiler, at the original flags, reproduces the retail machine code exactly. In that campaign, agent swarms byte-matched over 44,000 functions of a stripped retail Xbox 360 binary in about ten weeks — with every proposal judged by the real compiler and objdiff, never by a model.
decomp-synth is the search-and-ML side of that system: an engine that searches behavior-preserving C++ rewrites against the real build, and mines its own verified attempts into training data. Where the single-turn siblings in this family propose blind, this adapter closes the loop: it is trained on the eval-format conversation shape, so the compiler's structured verdict on turn N is the prompt for turn N+1. The design rule stays the same throughout: models propose, deterministic oracles dispose — a fuzzy match score is a search gradient and an adversary, and byte-exact recompilation is the only terminal judge.
Background reading, in order:
| base | Qwen/Qwen3.5-9B (apache-2.0) |
| method | LoRA r=64, α=128, dropout 0.05, bf16 |
| corpus | 3,946 chat-rendered rows: byte-exact repair chains (PowerPC X360 MSVC + GameCube/Wii mwcc), eval-format feedback panes |
| trained | 2026-08-27 |
| format | chat (Qwen chat template), single- and few-turn |
Cell B conversation instrument: 4-turn compile-in-the-loop trajectories on 118 held-out start states (GameCube mwcc clone substrate), paired against a derangement-scrambled-feedback control, byte-exact witness as the endpoint. K=2 replicas, T=0.6.
A follow-up rank ladder (r32/r64/r128 on a successor corpus) measured FLAT — adapter capacity is not the ceiling at 9B; data is.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-9B", dtype="bfloat16", device_map="auto")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-9B")
model = PeftModel.from_pretrained(base, "freeqaz/decomp-synth-lifter-v14-evalformat-qwen3.5-9b-lora")
This adapter wants a loop, not a prompt. Unlike the RAW single-turn siblings, it is trained to converse with the compiler:
The feedback must be real: this model's edge is reading a true verdict,
so wiring it to anything but an actual compile-and-score seam discards what
it was trained for. It is strongest finishing near-matches (≥97 fuzzy) —
pair it with a wide single-turn sampler (the v13/27B siblings) that gets
functions close, then let this one land them. At 9B it fits a single 24 GB
GPU in bf16; for serving, vLLM with --enable-lora works well.
| adapter | base | format | role |
|---|---|---|---|
| v10 | Qwen3.6-27B | RAW | single-turn matcher, reference 27B |
| gtp0c | Qwen3.8-27B | RAW | v10 recipe verbatim on the newer base (matched pair) |
| v13-chain r32 | Qwen3.5-9B | RAW | headline single-turn 9B |
| v13-chain r64 | Qwen3.5-9B | RAW | rank-capacity null twin of the r32 |
| v14-evalformat (this repo) | Qwen3.5-9B | chat | multi-turn feedback-driven, strongest agentic 9B |
| v16-v5chat | Qwen3.5-9B | chat | broadest corpus, research artifact with stated negatives |
| v17-full | Qwen3.5-9B | chat+tools | first tool-trajectory generation, unevaluated |
| v17-matched | Qwen3.5-9B | chat+tools | byte-exact-only trajectory filter of v17-full (contrast arm), unevaluated |
| v17-full r64 | Qwen3.5-9B | chat+tools | rank-capacity twin of v17-full r32 (r64/α128), unevaluated |
| v17-mix | Qwen3.5-9B | chat+tools | v17 trajectories + single-turn supply mix (broadest v17 corpus), unevaluated |
PUBLISHED.json (shipped) carries per-file sha256 written by the training
job at publish time. Two internal metadata files it pins
(train_summary.json, artifact-manifest.json) are retained in the
project's artifact store but not shipped here — they carry training-box
paths. adapter_config.json was rewritten post-training to the HF base id;
original bytes at provenance/adapter_config.orig.json.
Adapter weights: Apache-2.0. Training rows derive from public
CC0-1.0-dedicated decompilation projects: Xbox 360 Rock Band 3 / Dance
Central 3 community decompilations (MSVC PPC) and the zeldaret Wind
Waker / Twilight Princess decompilations (mwcc GameCube). CC0 covers the
decomp contributors' authorship, not the game publishers' rights in the
underlying works; see
the v10 card
for the full discussion. Corpora are not
published; PUBLISHED.json names the corpus file and sha256 as provenance.