This model is a LoRA adapter fine-tuned from Qwen/Qwen2.5-0.5B to improve instruction-following capabilities. The goal of this project was to see whether fine-tuning a small language model on a subset of instruction-following data could improve its performance on concrete tasks.
The model was trained using the databricks/databricks-dolly-15k dataset. Instead of using the entire dataset, in order to train the model for tutor-like behaviour that uses the existing knowledge, classification, creative writing and brainstorming categories were discarded and only the following categories were selected:
closed_qa
open_qa
general_qa
information_extraction
summarization
After filtering, 10400 examples remained. The data was split into 10088 training examples and 312 test examples using a 0.03 split with a random seed of 42 for reproducibility.
Uses
This model is intended as experimentation with small instruction-following language models. The model is particularly suitable for educational on both, basic factual academic question-answering tasks(up to aproximately high school level) and experimental use, including studying the effects of parameter-efficient fine-tuning on a language model where its small size becomes an advantage in this case.
Model Limitations
The model is based on the relatively small Qwen2.5-0.5B base model and may produce less capable responses than larger language models.
Even though the model was trained on 10k(after filtering) dataset, it was trained for only one epoch, limiting the improvements to a moderate level.
This repository contains LoRA adapter weights and requires the original Qwen/Qwen2.5-0.5B base model for inference.
The model was evaluated on the same test set before and after fine-tuning using ROUGE metrics.
ROUGE1 Before: 0.2010 After: 0.2452 Change: +0.0442
ROUGE2 Before: 0.0942 After: 0.1215 Change: +0.0273
ROUGEL Before: 0.1664 After: 0.2036 Change: +0.0372
Fine-tuning resulted in an improvement across the three evaluated ROUGE metrics. ROUGE-1 increased by approximately 22.0%, ROUGE-2 by approximately 29.0%, and ROUGE-L by approximately 22.4%. Interestingly, the ROUGE-2 has improved considerably more than 1, suggesting that the fine-tuned model is producing more matching two-word sequences than matching single words.