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

Load special tokens if available #141

Merged
merged 4 commits into from
Jan 26, 2023
Merged

Load special tokens if available #141

merged 4 commits into from
Jan 26, 2023

Conversation

jonatanklosko
Copy link
Member

@jonatanklosko jonatanklosko commented Dec 29, 2022

Closes #104.

We now load special tokens from special_tokens_map.json if available. I also moved the tokenizers implementation to a single macro to avoid the duplication.

@jonatanklosko jonatanklosko merged commit 44ab39d into main Jan 26, 2023
@jonatanklosko jonatanklosko deleted the jk-special-tokens branch January 26, 2023 14:34
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.

Load tokenizer special tokens
2 participants