Downloads · 30 days
4
27% of all-time downloads
black279/Qwen_LeetCoder
Qwen_LeetCoder is a text generation model from black279. Use it when you need the model to write or continue text. It is set up for peft.
Downloads · 30 days
4
27% of all-time downloads
All-time downloads
15
Public
Parameters
504M
745 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors662 MB · 88%
How the weights are stored.
U8325M · 64%
From the Hugging Face model README
A lightweight Qwen2.5-0.5B model fine-tuned using Unsloth + LoRA (PEFT) for efficient text-generation tasks. This model is optimized for low-VRAM systems, fast inference, and rapid experimentation.
This model is a parameter-efficient fine-tuned version of the base model:
unsloth/qwen2.5-0.5b-unsloth-bnb-4bitIt is intended as a compact research model for text generation, instruction following, and as a baseline for custom SFT/RLHF projects.
unsloth/qwen2.5-0.5b-unsloth-bnb-4bitGitHub Repo (Training Code): https://github.com/Sriramdayal/Unsloth-LLM-finetuningv1
Base Model:
unsloth/qwen2.5-0.5b-unsloth-bnb-4bit
This model inherits all biases from Qwen2.5 training data and may generate:
Users must implement:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
from peft import PeftModel
base = "unsloth/qwen2.5-0.5b-unsloth-bnb-4bit"
adapter = "black279/Qwen_LeetCoder"
tokenizer = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(
base,
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter)
inputs = tokenizer("Hello!", return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was trained using custom datasets prepared through:
(Replace with your actual dataset if you want more accuracy.)
Framework: Unsloth + TRL + PEFT
Training type: Supervised Fine-Tuning (SFT)
Precision: bnb-4bit quantization during training
LoRA Ranks: (insert your actual values if different)
r=16, alpha=32, dropout=0.05(You can update this later after running eval benchmarks.)
@misc{Sriramdayal2025QwenLoRA,
title={Qwen2.5-0.5B Unsloth LoRA Fine-Tune},
author={Sriram Dayal},
year={2025},
howpublished={\url{https://github.com/Sriramdayal/Unsloth-LLM-finetuningv1}},
}
@Sriramdayal