Downloads · 30 days
12
16% of all-time downloads
sainiswayam9/qwen-lora-chatbot
qwen-lora-chatbot is a text generation model from sainiswayam9. Use it when you need the model to write or continue text. It is set up for peft.
A LoRA fine-tuned version of Qwen/Qwen2.5-0.5B trained on instruction-following data using PEFT and TRL.
Downloads · 30 days
12
16% of all-time downloads
All-time downloads
74
Public
Repo size
20.1 MB
Likes
0
Public
Click a slice to open those files.
.json11.4 MB · 57%
From the Hugging Face model README
A LoRA fine-tuned version of Qwen/Qwen2.5-0.5B trained on instruction-following data using PEFT and TRL.
Swayam Saini
PEFT / LoRA Adapter for Causal Language Modeling
Qwen/Qwen2.5-0.5B
English
0.19.1
Dataset used:
yahma/alpaca-cleaned
The dataset contains instruction-response pairs designed to improve instruction-following behavior.
This repository contains a LoRA adapter trained on top of:
Qwen/Qwen2.5-0.5B
The final chatbot is created by combining:
Base Model + LoRA Adapter
This model can be used for:
This model may:
Outputs should be reviewed before use in production systems.
The adapter can be loaded using:
from transformers import AutoModelForCausalLM
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen2.5-0.5B"
)
model = PeftModel.from_pretrained(
base_model,
"sainiswayam9/qwen-lora-chatbot"
)
This project demonstrates:
Swayam Saini