Downloads · 30 days
5
17% of all-time downloads
affableiq/btl-2-coder-7B
btl-2-coder-7B is a text generation model from affableiq. 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.
BTL-2 Coder 7B is a LoRA adapter for unsloth/Qwen2.5-Coder-7B-Instruct, trained for structured code-review findings.
Downloads · 30 days
5
17% of all-time downloads
All-time downloads
29
Public
Repo size
657 MB
Likes
0
Public
Click a slice to open those files.
.safetensors646 MB · 98%
From the Hugging Face model README
BTL-2 Coder 7B is a LoRA adapter for unsloth/Qwen2.5-Coder-7B-Instruct, trained for structured code-review findings.
Use this model for local-first code review:
It is not yet a general autonomous coding agent and should not be marketed as a SWE-Bench repair model.
unsloth/Qwen2.5-Coder-7B-Instruct4,000 API teacher traces + 1,000 template traces4,500 train / 500 eval24096Only redacted, opt-in traces should be used for future training.
Use strict schema prompting:
Return only a JSON array. No markdown and no wrapper object.
Each finding must include: severity, file, line, title, evidence, recommendation, confidence.
severity must be exactly one of: critical, high, medium, low.
Never put a category in severity.
confidence must be a number from 0 to 1, never a string label.
Every finding must include concrete evidence and a non-empty recommendation.
Example output:
[
{
"severity": "critical",
"file": "src/users.ts",
"line": 42,
"title": "SQL injection through string-built query",
"evidence": "The user id is concatenated directly into the SQL string.",
"recommendation": "Use a parameterized query.",
"confidence": 0.96
}
]
| Eval | JSON parse | Schema valid | Numeric confidence | Category hit | File hit | Precision | Recall | Weighted severity recall |
|---|---|---|---|---|---|---|---|---|
| Heldout 100 strict | 1.000 | 0.952 | 1.000 | 0.783 | 0.840 | - | - | - |
| Heldout 30 strict v2 | 1.000 | 0.975 | 1.000 | 0.867 | 0.867 | - | - | - |
| Seeded 15 strict | 1.000 | 1.000 | 1.000 | 0.933 | 1.000 | 0.933 | 0.933 | 0.956 |
This Hugging Face repo should include:
adapter_model.safetensorsadapter_config.jsontokenizer.jsontokenizer_config.jsonchat_template.jinjatraining_args.binREADME.md