-
Hey all! Having come from training via Unsloth I was expecting epochs to be the standard, but running Was just wondering if there was some flag I was missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
mlx-lm lora may not have built-in support for that, but it could be achieved by calculating epochs based on iterations and batch size, adjusting them to achieve similar fine-tuning epochs.
|
Beta Was this translation helpful? Give feedback.
Ohh weirdly I just implemented your code and now it's not properly reading the number of entries in the JSONL. It's meant to be 140 entries, but for some reason it's detecting 18 as iters_per_epoch? That's both with my version of your code + your original code. Going to try debug but clearly something is up with the way I implemented it. Unless I'm misunderstanding iters.
EDIT: figured out it's because as is, your code is counting the number of letters in the string that points to the file! Had to rejig it:
This is finally working as intended 😊