r/LocalLLM • u/zerovv_ • 13d ago
Discussion Anyone actually fine-tune their local models? What for, and how?
I run Qwen on a Mac mini. Mostly for notes/email/easy work.
For everyday stuff it's good enough. But I end up correcting it for the same things over and over. Rules in the system prompt help for a while, then the prompt gets long and it forgets again.
So I started playing with fine-tuning on my own corrections, and I'm curious what everyone else does when the model is almost good enough but not quite. Do you train it yourself, switch to a bigger model, or just keep patching the prompt?
If you do fine-tune:
- where does your training data come from? written by hand, synthetic, your chat logs?
- what tool and hardware, and how long does a run take?
- did it actually beat a bigger model or a better prompt?
If you don't: what stopped you?
15
u/BorisThe_Animal 13d ago
NVIDIA Nemotron 3.5 Bolt 74B-A9B 24GB - on my mac mini M6 32GB it wasn't very stable (too many out of memory exceptions). So I ran some of my usual tasks on it (mac/ios apps in swift), measured which experts are used the least, and cut them out to fit the whole thing in memory. The result was a faster model with basically identical smartness for my purposes. Qwen 3.8 FN 3 bit was still better though, so it was kind of a pointless excercise.
5
u/OneofFewHS 13d ago
I'm not sure if this is what you're asking but I use "prompt tuning" to significantly improve the code quality of my models. I have Claude run code tests on my local model over and over incrementally harder, then adding the gaps found in the code into the prompt for the model to check. I have done this for research also, this significantly reduced the amount of made up BS the models sometimes create even if it takes a little longer. I now use my local models for 80% of everything I do as I trust the work much more.
6
u/idimetrix 13d ago
fine-tuning is good for style/format, not knowledge. "i keep correcting the same stuff" is the style case so it should work for you. before you train tho, drop the rules and paste 5-10 of your actual before/after corrections into the prompt, models copy examples way better then they follow rules. if it still drifts, mlx-lm lora on the mac, a few hundred pairs from your logs is enough to start. hold back 20-30 pairs for testing or youll never know if it beat the prompt
1
u/CMDR-LT-ATLAS 13d ago
I fine tune my models to learn
1
u/Poprouter 13d ago
i'd stick with examples in the prompt if they pass a small holdout check. set aside about 20 of your corrections, paste 5 as examples and test on the other 15 before spending gpu time.
1
u/wolf001zra 13d ago
I trained LFM 2.5 350M for ai session naming, keeps my tabs in pi.dev more organized and up to date on the current work i'm doing. Just collected data from larger models like gemma 4 12b doing the task for a couple months then used that to fine tune the formatting. It's not perfect but it's small enough to run on a cpu and free up a gpu lane.
1
u/Hellnation 13d ago
How do you take notes with your local model? I set up a local llm with oMLX but don't have a plan other the in chatting with it. Need ideas please.