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

Fix untrained tokens #1771

Merged
merged 3 commits into from
Jul 19, 2024
Merged

Fix untrained tokens #1771

merged 3 commits into from
Jul 19, 2024

Conversation

winglian
Copy link
Collaborator

mistral 12b has a bunch of untrained reserved tokens that are useful for using as chatml tokens, this will allow us to use them without having inf as the grad norm.

@winglian winglian merged commit fa91b69 into main Jul 19, 2024
8 checks passed
@winglian winglian deleted the fix-untrained-tokens branch July 19, 2024 16:21
@ehartford
Copy link
Collaborator

Weird
I'm training with no inf/nan, and I started before this went into main

djsaunde pushed a commit that referenced this pull request Dec 17, 2024
* fix untrained reserved tokens

* save model after fixing untrained embeddings

* don't need fsdp conditional here
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

Successfully merging this pull request may close these issues.

2 participants