Downloads · 30 days
9
14% of all-time downloads
RichWoollcott/DCL-Qwen3-4B-Instruct-2507-LoRA
DCL-Qwen3-4B-Instruct-2507-LoRA is a text generation model from RichWoollcott. 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.
The LoRA adapter (r=16, α=32, attention+MLP targets) behind DCL-Qwen3-4B-Instruct-2507, a fine-tune of Qwen/Qwen3-4B-Instruct-2507 that authors and repairs DCL (Russell
Downloads · 30 days
9
14% of all-time downloads
All-time downloads
65
Public
Repo size
144 MB
Likes
0
Public
Click a slice to open those files.
.safetensors132 MB · 92%
From the Hugging Face model README
The LoRA adapter (r=16, α=32, attention+MLP targets) behind DCL-Qwen3-4B-Instruct-2507, a fine-tune of Qwen/Qwen3-4B-Instruct-2507 that authors and repairs DCL (Russell East's Declarative Capability Language). See the main model card for the evaluation table, the required serving prompt, and limitations.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
m = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507",
dtype=torch.bfloat16, device_map="auto")
m = PeftModel.from_pretrained(m, "RichWoollcott/DCL-Qwen3-4B-Instruct-2507-LoRA")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
Note: the adapter was trained against the 4-bit quantised base (QLoRA); applied to the full-precision base as above, behaviour matches the released merged model to within quantisation noise — the frozen-exam receipts were graded on the merged Q4_K_M build.
Trained on a private corpus of 507 compiler-verified, fully synthetic rows with Unsloth + TRL (PEFT 0.19.1) — kept private to protect the integrity of the frozen evaluation exam. Apache-2.0; base LICENSE retained.