Downloads · 30 days
56
100% of all-time downloads
Offlin33er/qwen25-coder-7b-solidity-audit-v2
qwen25-coder-7b-solidity-audit-v2 is a text generation model from Offlin33er. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
V2 of Offlin33er/qwen25-coder-7b-solidity-audit. Same base model and QLoRA recipe, retrained for 1 epoch on the relabeled Offlin33er/solidity-audit-instruct-v2 dataset: all finding labels normalized into 8 canonical c…
Downloads · 30 days
56
100% of all-time downloads
All-time downloads
56
Public
Repo size
173 MB
Likes
0
Public
Click a slice to open those files.
.safetensors162 MB · 93%
From the Hugging Face model README
V2 of Offlin33er/qwen25-coder-7b-solidity-audit. Same base model and QLoRA recipe, retrained for 1 epoch on the relabeled Offlin33er/solidity-audit-instruct-v2 dataset: all finding labels normalized into 8 canonical classes (Reentrancy, Arithmetic Error, Access Control Flaw, Input Validation Error, Frontrunning / MEV, Denial of Service (DoS), Business Logic Violation, Clean (No Vulnerability)), with the system prompt rewritten to enforce the closed taxonomy verbatim.
Part of the Solidity Audit Scanner project.
A newer version exists: V3 (verified fallback resolution, best detection F1 0.986). V2 remains the best type-match config.
The V2 test split is the identical code to V1's (split-preserving relabeling), so rates are directly comparable.
| Metric | V1 adapter | V2 adapter |
|---|---|---|
| Detection precision | 1.00 | 0.986 |
| Detection recall | 1.00 | 0.971 |
| False-positive rate on clean | 0.00 | 0.033 (1/30) |
| Finding-type match | 0.30 (lenient substring/keyword) | 0.485 (strict exact canonical match) |
Read honestly:
Full per-row records: eval_results.json.
Training: 139 steps (~69 min on 1× A10G), final loss 0.5489, token accuracy 0.857 —
trackio dashboard.
Identical to V1 except the adapter id; the system prompt must be the V2 taxonomy prompt from the dataset card (the model was trained with it verbatim).
Same as V1 plus: closed 8-class taxonomy trades fine-grained labels for consistency; ~406 rows (16% of vulnerable data) carry default-mapped Business Logic labels. Not a substitute for a professional audit.
Defensive security tooling: analyzes code you paste in. Only audit contracts you are authorized to review.