Commit 31197054 authored by Patrick von Platen's avatar Patrick von Platen
Browse files

rename string in pipeline

parent 7420a6a9
...@@ -1307,7 +1307,7 @@ class TranslationPipeline(Pipeline): ...@@ -1307,7 +1307,7 @@ class TranslationPipeline(Pipeline):
): ):
r""" r"""
Args: Args:
*texts: (list of strings) articles to be summarized *texts: (list of strings) texts to be translated
return_text: (bool, default=True) whether to add a decoded "translation_text" to each result return_text: (bool, default=True) whether to add a decoded "translation_text" to each result
return_tensors: (bool, default=False) whether to return the raw "translation_token_ids" to each result return_tensors: (bool, default=False) whether to return the raw "translation_token_ids" to each result
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment