Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
a438a094
Unverified
Commit
a438a094
authored
Apr 20, 2023
by
Oscar
Committed by
GitHub
Apr 20, 2023
Browse files
fix: Correct small typo in docstring (#22857)
* fix: Correct small typo in docstring * fix: Run make fixup
parent
4cfe328b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/transformers/pipelines/conversational.py
src/transformers/pipelines/conversational.py
+4
-4
No files found.
src/transformers/pipelines/conversational.py
View file @
a438a094
...
...
@@ -18,10 +18,10 @@ logger = logging.get_logger(__name__)
class
Conversation
:
"""
Utility class containing a conversation and its history. This class is meant to be used as an input to the
[`ConversationalPipeline`]. The conversation contains
a number of
utility function to manage the addition of new
user
input and generated model responses. A conversation needs to contain an unprocessed user input before being
passed
to the [`ConversationalPipeline`]. This user input is either created when the class is instantiated, or by
calling
`conversational_pipeline.append_response("input")` after a conversation turn.
[`ConversationalPipeline`]. The conversation contains
several
utility function
s
to manage the addition of new
user
input
s
and generated model responses. A conversation needs to contain an unprocessed user input before being
passed
to the [`ConversationalPipeline`]. This user input is either created when the class is instantiated, or by
calling
`conversational_pipeline.append_response("input")` after a conversation turn.
Arguments:
text (`str`, *optional*):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment