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

[docs] add the missing tokenizer when pushing models to huggingface hub #33428

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

faaany
Copy link
Contributor

@faaany faaany commented Sep 11, 2024

What does this PR do?

I tried to run the documentation, but got the following failure that the tokenizer is not to be found in the hf hub. The reason is that we don't pass the tokenizer to Trainer. So this PR fixes this issue.

@stevhliu Pls have a review. Thx!

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing! 🤗

@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.

@stevhliu stevhliu merged commit cea9ec0 into huggingface:main Sep 11, 2024
8 checks passed
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
@faaany faaany deleted the fix_doc_bug branch February 7, 2025 02: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.

3 participants