Downloads · 30 days
8
50% of all-time downloads
Shreshthh/my-sft-model
my-sft-model is a text generation model from Shreshthh. Use it when you need the model to write or continue text. It is set up for peft.
This model is a Supervised Fine-Tuned (SFT) version of Qwen2.5-1.5B, trained using Unsloth with LoRA adapters for parameter-efficient fine-tuning on limited hardware.
Downloads · 30 days
8
50% of all-time downloads
All-time downloads
16
Public
Repo size
28.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors17.5 MB · 52%
From the Hugging Face model README
This model is a Supervised Fine-Tuned (SFT) version of Qwen2.5-1.5B, trained using Unsloth with LoRA adapters for parameter-efficient fine-tuning on limited hardware.
The goal of this model is to learn improved instruction-following behavior from curated prompt–response examples.
It serves as a foundation checkpoint for future experimentation, including reward modeling and reinforcement learning (RLHF / GRPO).
This model can be used for:
This model is intended to be further fine-tuned for:
This model is not suitable for:
Users should apply human oversight when using this model.
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="./my_sft_model",
max_seq_length=2048,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
prompt = "Explain gravity simply."
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(
**inputs,
max_new_tokens=100,
temperature=0.7,
top_p=0.9,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))