Downloads · 30 days
8
17% of all-time downloads
archit11/qwen2.5-coder-3b-hyperswitch-track-a-lora
qwen2.5-coder-3b-hyperswitch-track-a-lora is a text generation model from archit11. 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.
LoRA adapter trained for repository-specific extended pretraining on hyperswitch source code.
Downloads · 30 days
8
17% of all-time downloads
All-time downloads
47
Public
Repo size
131 MB
Likes
0
Public
Click a slice to open those files.
.safetensors120 MB · 91%
From the Hugging Face model README
LoRA adapter trained for repository-specific extended pretraining on hyperswitch source code.
Qwen/Qwen2.5-Coder-3Br=16)https://huggingface.co/datasets/archit11/hyperswitch-code-corpus-track-aThis repo stores adapter weights and tokenizer artifacts. Load it with PEFT on top of the base model.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base = "Qwen/Qwen2.5-Coder-3B"
adapter = "archit11/qwen2.5-coder-3b-hyperswitch-track-a-lora"
tokenizer = AutoTokenizer.from_pretrained(adapter)
model = AutoModelForCausalLM.from_pretrained(base, trust_remote_code=True)
model = PeftModel.from_pretrained(model, adapter)