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

[T5 and Llama Tokenizer] remove warning #29346

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Conversation

ArthurZucker
Copy link
Collaborator

@ArthurZucker ArthurZucker commented Feb 28, 2024

What does this PR do?

The call to super().tokenize(text, **kwargs) included add_special_tokens which doe snot exist. Small regression from #28010. Superseeds #29278 as it is time sensitive.

Fixes #29273

@ArthurZucker ArthurZucker merged commit 7c87f35 into main Feb 28, 2024
19 checks passed
@ArthurZucker ArthurZucker deleted the fix-llama-tok-warning branch February 28, 2024 09:41
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

ArthurZucker added a commit that referenced this pull request Feb 28, 2024
* remove warning

* add co-author

* update

---------

Co-authored-by: hiaoxui <[email protected]>
ArthurZucker added a commit that referenced this pull request Mar 1, 2024
* remove warning

* add co-author

* update

---------

Co-authored-by: hiaoxui <[email protected]>
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.

Weird warning when calling LlamaTokenizer.__call__
4 participants