Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate loss spikes #115

Open
dlwh opened this issue Mar 10, 2022 · 0 comments
Open

Investigate loss spikes #115

dlwh opened this issue Mar 10, 2022 · 0 comments

Comments

@dlwh
Copy link
Member

dlwh commented Mar 10, 2022

We occasionally get large spikes in the training loss during training. For example:
image

The system ends up recovering, but it can take quite a long time. This may not be worth worrying about because the system does recover, but we should understand this.

One hypothesis is we get "bad batches" where the data is garbage, is thus high perplexity, and gives us bad gradients.

Another is instability related to fp16.

@dlwh dlwh added this to the Mistral V2 milestone Mar 10, 2022
@dlwh dlwh removed this from the Mistral V2 milestone Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant