Downloads · 30 days
13
9% of all-time downloads
MaleekNoob/qwen3-0.6b-lora-v1
qwen3-0.6b-lora-v1 is a machine learning model from MaleekNoob. 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 peft. The card lists the license as mit.
This is a fine-tuned version of Qwen3-0.6B optimized for instruction following. It serves as the "Instruct" foundation for further RL-based alignment (GRPO).
Downloads · 30 days
13
9% of all-time downloads
All-time downloads
137
Public
Repo size
173 MB
Likes
0
Public
Click a slice to open those files.
.safetensors80.8 MB · 84%
From the Hugging Face model README
This is a fine-tuned version of Qwen3-0.6B optimized for instruction following. It serves as the "Instruct" foundation for further RL-based alignment (GRPO).
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
model_id = "Qwen/Qwen3-0.6B"
adapter_id = "MaleekNoob/qwen3-0.6b-lora-v1"
tokenizer = AutoTokenizer.from_pretrained(adapter_id)
base_model = AutoModelForCausalLM.from_pretrained(
model_id, torch_dtype=torch.bfloat16, device_map="auto"
)
model = PeftModel.from_pretrained(base_model, adapter_id)
inputs = tokenizer(
"User: Explain what a Binary Search Tree is.\nAssistant:",
return_tensors="pt"
).to("cuda")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was trained on a single NVIDIA T4 GPU with the following hyperparameters to ensure stability and prevent catastrophic forgetting:
This SFT phase successfully corrected base model hallucinations (e.g., misidentifying world capitals) and established a coherent conversational tone suitable for downstream RL alignment.
This version fixes the original issues:
- at the start).