unslothai/unsloth

Evaluation loss becomes constant

Open

#1,067 opened on Sep 27, 2024

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Python (5,658 forks)batch import
currently fixinggood first issue

Repository metrics

Stars
 (64,271 stars)
PR merge metrics
 (Avg merge 3d 15h) (525 merged PRs in 30d)

Description

Hi!

I am testing out unsloth to fine tune llama 3.1 8B instruct and following your notebook here.

One exception is that I have added an eval set. What is really strange is that the eval loss locks up to a specific value after around 300 steps. I mean down to the last decimal, not just flattening out. The training loss looks fine and as expected.

I have changed many parameters and tried different things but it always happens. Any idea on what can cause this?

Contributor guide