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

Add trust_remote_code to tokenizer construction #1176

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Conversation

mgoin
Copy link
Member

@mgoin mgoin commented Aug 9, 2023

This is needed for models with custom tokenizers, such as replit-code-v1-3b

Without this, you will see

ValueError: Tokenizer class ReplitLMTokenizer does not exist or is not currently imported.

@mgoin mgoin requested review from bfineran and dbogunowicz August 9, 2023 13:25
@dbogunowicz
Copy link
Contributor

@mgoin please fix quality, otherwise LGTM

dbogunowicz
dbogunowicz previously approved these changes Aug 9, 2023
@mgoin mgoin merged commit de4fb43 into main Aug 9, 2023
@mgoin mgoin deleted the tokenizer-remote-code branch August 9, 2023 15:21
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