unsloth icon indicating copy to clipboard operation
unsloth copied to clipboard

llama3 sft trainer configuration error when max_steps=None

Open raj-chinagundi opened this issue 9 months ago • 2 comments

Screenshot 2024-05-05 at 6 23 22 PM

None and int can't be compared. I don't know how to fix this, commented the code to make it run but it still couldn't override this error.

raj-chinagundi avatar May 05 '24 12:05 raj-chinagundi

Oh :( Sorry on the issue

danielhanchen avatar May 05 '24 18:05 danielhanchen

i found an easy fix to set it as -1, I am not sure if that is what None was intended to do

raj-chinagundi avatar May 06 '24 18:05 raj-chinagundi