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 for token bug that skips EOS #815

Merged
merged 3 commits into from
Nov 20, 2024
Merged

fix for token bug that skips EOS #815

merged 3 commits into from
Nov 20, 2024

Conversation

ahmeda14960
Copy link
Contributor

This will actually add EOS if the tokenizer doesn't have it (HF is not good for this)

src/levanter/data/text.py Outdated Show resolved Hide resolved
@ahmeda14960 ahmeda14960 merged commit 8509037 into main Nov 20, 2024
8 checks passed
@ahmeda14960 ahmeda14960 deleted the fix_sft_eos branch November 20, 2024 23:28
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