-
Notifications
You must be signed in to change notification settings - Fork 413
In "Use in transformers", use messages if conversational #728
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
pipelineSnippet = pipelineSnippet.concat(["pipe(messages)"]); | ||
} | ||
|
||
return [pipelineSnippet.join("\n"), autoSnippet]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In another PR we could use apply_chat_template
and call generate
in the autoSnippet
for conversational models.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with suggestions
Co-authored-by: Julien Chaumond <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🔥
Increase visibility of conversational capabilities of
text-generation
pipeline