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

XLM-R tokenizer, return correct unk id for corrupted input #237

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

danieldk
Copy link
Member

This should never happen, but we returned the incorrect unknown piece
identifier in the worst-case fallback (where tokenization doesn't return
any pieces).

This should never happen, but we returned the incorrect unknown piece
identifier in the worst-case fallback (where tokenization doesn't return
any pieces).
@danieldk danieldk merged commit 75f4184 into main Oct 22, 2023
6 checks passed
@danieldk danieldk deleted the bugfix/xlm-r-untokenized branch October 22, 2023 18:56
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.

1 participant