Fine-Tuned Student Profile Assistant
This repository contains a QLoRA/LoRA fine-tuning project based on
Qwen/Qwen2.5-0.5B-Instruct.
Profile covered
- Name: Stephen Dhanush F
- College: Dayananda Sagar University
- Program: MSc Data Science
Repository files
app.pyβ Gradio chatbot for Hugging Face Spaces.train.pyβ reproducible QLoRA fine-tuning script.training_data.jsonβ training examples.training_notebook.ipynbβ original notebook.requirements.txtβ Python dependencies.README.mdβ project documentation.
Training
Use a CUDA-enabled GPU:
pip install -r requirements.txt
python train.py
The LoRA adapter and tokenizer are saved in:
./stephen_dhanush_profile_model/
Hugging Face model repository
After training, upload the contents of stephen_dhanush_profile_model/
to your Hugging Face model repository. The adapter files are generated
by training and are not included in this source package.
Hugging Face Space
For a Gradio Space, keep app.py, requirements.txt, and the trained
adapter directory available to the Space. If the adapter is stored in a
separate Hugging Face model repository, download/snapshot it into the
Space at ./stephen_dhanush_profile_model before starting the app.
Base model
Qwen/Qwen2.5-0.5B-Instruct
This project uses LoRA/PEFT rather than saving a complete copy of the base model.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support