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

Update chat template docs to remove Blenderbot #33254

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

Rocketknight1
Copy link
Member

The chat template docs reference Blenderbot, but this model is quite obsolete and doesn't actually have a chat template. The examples worked for a while because a default chat template was set, but these have now been deprecated.

This update rewrites the doc with more modern models.

Fixes #33246

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

@Rocketknight1
Copy link
Member Author

Ready for review, cc @LysandreJik !

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Indeed, much better to feature more recent models. Thanks for the doc update @Rocketknight1

@Rocketknight1 Rocketknight1 merged commit 0d86727 into main Sep 3, 2024
9 checks passed
@Rocketknight1 Rocketknight1 deleted the chat_template_doc_fix branch September 3, 2024 11:18
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request Sep 3, 2024
* Update docs to remove obsolete Blenderbot

* Remove another reference to Blenderbot
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.

ValueError: Cannot use apply_chat_template() because tokenizer.chat_template is not set
3 participants