How to use from
Unsloth Studio
# Gated model: Login with a HF token with gated access permission
hf auth login
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-gemini-300 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-gemini-300 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required
# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-gemini-300 to start chatting
Load model with FastModel
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
    model_name="UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-gemini-300",
    max_seq_length=2048,
)
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Qwen2.5-Coder-7B-SFT-v1-Gemini-300

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.

Base Model

  • Trained on: unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit
  • Adapter: UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-gemini-300

Dataset

Setup

Install 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

Usage

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-gemini-300"

tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)

model = AutoModelForCausalLM.from_pretrained(
    BASE_MODEL,
    device_map="auto",
)

model = PeftModel.from_pretrained(
    model,
    ADAPTER,
)

Generate

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))

Notes

  • Fine-tuned with Unsloth + LoRA
  • Adapter-only repository (no base model weights)
  • Intended for reward generation and related coding tasks
  • Tested with unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-gemini-300

Dataset used to train UPB-RAT-Lab/qwen2.5-coder-7b-sft-v1-gemini-300