Downloads · 30 days
9
8% of all-time downloads
Pablo-Flores-Mollinedo/verilog-qwen3.5-9b-v33-thinking-reinforced-lora
verilog-qwen3.5-9b-v33-thinking-reinforced-lora is a text generation model from Pablo-Flores-Mollinedo. Use it when you need the model to write or continue text. It is set up for peft.
PEFT LoRA adapter for Qwen/Qwen3.5-9B, trained for Verilog/RTL generation while preserving reasoning ability and reinforcing compile/functional correctness.
Downloads · 30 days
9
8% of all-time downloads
All-time downloads
117
Public
Repo size
253 MB
Likes
0
Public
Click a slice to open those files.
.safetensors233 MB · 92%
From the Hugging Face model README
PEFT LoRA adapter for Qwen/Qwen3.5-9B, trained for Verilog/RTL generation while preserving reasoning ability and reinforcing compile/functional correctness.
Prompt the model to reason briefly, then emit final Verilog between tags:
Thinking:
[BEGIN]
module TopModule(...);
...
endmodule
[DONE]
Use code inside [BEGIN] / [DONE] as final artifact.
Local VerilogEval v2 spec-to-RTL direct single-adapter eval, no retry, no selector, no compiler feedback before final answer:
v33 max4096: compile 113/156, pass 80/156 = 51.3%
v33 max1024: compile 101/156, pass 76/156 = 48.7%
These are clean direct adapter results, not agentic pipeline results. The project best practical pipeline remains a separate verifier-selector system.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = "Qwen/Qwen3.5-9B"
adapter = "Pablo-Flores-Mollinedo/verilog-qwen3.5-9b-v33-thinking-reinforced-lora"
tok = AutoTokenizer.from_pretrained(adapter, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(base, trust_remote_code=True, device_map="auto")
model = PeftModel.from_pretrained(model, adapter)