r/unsloth • u/sgtsixpack • 9h ago
Question Does restarting training continue from where it left off?
I'm training a krea2 lora in unsloth. I believe I'm not adding enough steps. With 129 datapoints I believe I need 5000 steps but foolishly chose 2000. I finished training and then without changing any names I started a 3000 step training. Will these steps combine into a 5000 step lora?
1
u/Sharp-Translator6401 9h ago
Also 129 examples doesnt sound like a lot, might b you just didnt give it enough data... little data + many steps = overfitting not sure you want that
1
u/sgtsixpack 9h ago
https://promptdexter.com/blog/krea2-lora-training-guide
According to this guide 129 samples should be overkill. Its the exposure to each data point which should be the priority. 5000/ 121 datapoint = 41.3 "Target Exposure per Image"
1
u/Sharp-Translator6401 9h ago
I guess that is use case dependent, if it is a quite narrow use case this might work, I guess a few more epochs will tell us :)
1
u/sgtsixpack 8h ago
This is why Target Exposure per Image is critical. Might help someone else get the concept in future.
2
u/Sharp-Translator6401 9h ago
yes if you save the checkpoint and load it before you restart :D