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

Fix ConversationalPipeline tests #26217

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Fix ConversationalPipeline tests #26217

merged 1 commit into from
Sep 18, 2023

Conversation

Rocketknight1
Copy link
Member

This PR fixes the failing conversation pipeline tests in the CI. The causes were:

  1. BlenderBotSmall was missing a default_chat_template
  2. The old Conversation object distinguished between processed and unprocessed user inputs. The new object doesn't! This caused a couple of tests that were expecting the old behaviour to fail. ConversationalPipeline has already been updated to handle the new behaviour, so only a few test values needed to be changed.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Cool! Did not like the previous distinction anyway 👿

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 18, 2023

The documentation is not available anymore as the PR was closed or merged.

@Rocketknight1 Rocketknight1 merged commit f0a6057 into main Sep 18, 2023
@Rocketknight1 Rocketknight1 deleted the fix_conversation_tests branch September 18, 2023 14:08
MKhalusova pushed a commit to MKhalusova/transformers that referenced this pull request Sep 19, 2023
Add BlenderbotSmall templates and correct handling for conversation.past_user_inputs
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
Add BlenderbotSmall templates and correct handling for conversation.past_user_inputs
blbadger pushed a commit to blbadger/transformers that referenced this pull request Nov 8, 2023
Add BlenderbotSmall templates and correct handling for conversation.past_user_inputs
EduardoPach pushed a commit to EduardoPach/transformers that referenced this pull request Nov 18, 2023
Add BlenderbotSmall templates and correct handling for conversation.past_user_inputs
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