Downloads · 30 days
0
UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-chatgpt-300
qwen2.5-coder-7b-sft-v1-chatgpt-300 is a machine learning model from UPB-RAT-Lab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
LoRA adapter fine-tuned using Unsloth on the Auto Reward Generation dataset.
Downloads · 30 days
0
Access
Public
Updated Jun 23, 2026
Repo size
334 MB
Likes
0
Public
Click a slice to open those files.
.safetensors323 MB · 97%
From the Hugging Face model README
LoRA adapter fine-tuned using Unsloth on the Auto Reward Generation dataset.
⚠️ This repository contains LoRA adapter weights only. You must load a compatible base model before using this adapter.
unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bitUPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-chatgpt-300Install dependencies:
pip install transformers peft accelerate bitsandbytes huggingface_hub
If the base model requires authentication, log in to Hugging Face:
huggingface-cli login
or in Python:
from huggingface_hub import login
login("YOUR_HF_TOKEN")
You can create an access token at:
https://huggingface.co/settings/tokens
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
BASE_MODEL = "unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit"
ADAPTER = "UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-chatgpt-300"
tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)
model = AutoModelForCausalLM.from_pretrained(
BASE_MODEL,
device_map="auto",
)
model = PeftModel.from_pretrained(
model,
ADAPTER,
)
prompt = "Generate a reward function for a reinforcement learning task."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=256,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit