Downloads · 30 days
3
4% of all-time downloads
vxkyyy/verilog-specialist-32b-adapters
verilog-specialist-32b-adapters is a text generation model from vxkyyy. Use it when you need the model to write or continue text. It is set up for peft.
A domain-specialized PEFT/LoRA adapter for Verilog and RTL generation, built on top of unsloth/qwen2.5-coder-32b-instruct-bnb-4bit.
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
75
Public
Repo size
537 MB
Likes
1
Public
Click a slice to open those files.
.safetensors537 MB · 100%
From the Hugging Face model README
A domain-specialized PEFT/LoRA adapter for Verilog and RTL generation, built on top of unsloth/qwen2.5-coder-32b-instruct-bnb-4bit.
This model is intended to improve large language model performance on hardware-description-language tasks such as:
It is designed as a specialist model layer for AgentIC, a full-stack autonomous silicon engineering framework.
vxkyyy/verilog-specialist-32b-adapters is a lightweight adapter checkpoint trained to specialize a 32B coder model for Verilog / RTL-oriented text generation.
This repository contains adapter weights only and is not a standalone base model.
The adapter is best used when a workflow needs stronger HDL generation quality than a general-purpose coding model can provide, especially for:
leaf RTL module generation
synthesizable code rewrites
hardware-style code completion
iterative repair in verification/debug loops
Developed by: vxkyyy
Shared by: vxkyyy
Project: AgentIC / Buildstack Lab
Model type: PEFT LoRA adapter for causal language modeling / text generation
Language(s): English, Verilog, HDL-style technical text
License: -
Finetuned from model: unsloth/qwen2.5-coder-32b-instruct-bnb-4bit
This model is intended for:
Example prompts:
This adapter is especially useful when plugged into larger systems such as:
Within AgentIC, this model is best used for:
react_agent.py or designer.pyThis model is not intended to replace:
It should not be treated as a guaranteed-correct chip design engine.
This model inherits limitations from the underlying base model and from adapter-based specialization.
Known limitations include:
Because it is adapter-based, output quality is also bounded by the capabilities of the base model.
Users should:
This repository contains adapter weights only.
Load it on top of the declared base model.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base_model_id = "unsloth/qwen2.5-coder-32b-instruct-bnb-4bit"
adapter_id = "vxkyyy/verilog-specialist-32b-adapters"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
device_map="auto",
torch_dtype="auto"
)
model = PeftModel.from_pretrained(base_model, adapter_id)
prompt = """
Write synthesizable Verilog for a synchronous FIFO with:
- width = 8
- depth = 16
- active-low reset
- full and empty flags
- no non-synthesizable constructs
"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=300)
print(tokenizer.decode(outputs, skip_special_tokens=True))