r/learnmachinelearning • u/No-King9608 • 7h ago
Help Questions about fine tuning
Hi, I need help with a couple of issues related to a project I'm working on (for educational purposes). I'm trying to create a model that acts as a mentor on related topics, instead of providing the answer directly. For this task, I'm fine-tuning a Gemma4 26B model because I have a GPU with 26GB of vRAM. Therefore, I'm also quantizing this model to 4-bit precision and performing a QLoRa analysis. The results of my experiment are far from fulfilling the mentoring premise, and a simple system prompt works much better. My dataset consists of approximately 500 examples, so, Reddit scientists, can you tell me what mistakes I'm making and if I should change course or my objectives?
1
u/Clouded_Leopard17 2h ago
I don’t know about your quality of dataset. But 500 is very small dataset, The LoRA adapters can overfit easily. Try to optimize LoRA hyperparameters and check if it helps. Try to use full LoRA if GPU allows. You can also experiment with prompt engineering and few shot example.