From 311970546f3ad23e4e025b5614dbf07356df1389 Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Thu, 26 Mar 2020 14:59:49 +0100 Subject: [PATCH] rename string in pipeline --- src/transformers/pipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/pipelines.py b/src/transformers/pipelines.py index 8fd6cfdf20..89caf192cd 100755 --- a/src/transformers/pipelines.py +++ b/src/transformers/pipelines.py @@ -1307,7 +1307,7 @@ class TranslationPipeline(Pipeline): ): r""" 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_tensors: (bool, default=False) whether to return the raw "translation_token_ids" to each result