From 2876c123e5b9e7bd64ef38fd26944949efde051e Mon Sep 17 00:00:00 2001 From: cmahmut <159416666+cmahmut@users.noreply.github.com> Date: Mon, 12 Feb 2024 14:34:08 +0000 Subject: [PATCH] [`pipelines`] updated docstring with vqa alias (#28951) updated docstring with vqa alias --- src/transformers/pipelines/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/pipelines/__init__.py b/src/transformers/pipelines/__init__.py index 5fa34055aa4a79..72e8b2b4aa9232 100755 --- a/src/transformers/pipelines/__init__.py +++ b/src/transformers/pipelines/__init__.py @@ -528,7 +528,7 @@ def check_task(task: str) -> Tuple[str, Dict, Any]: - `"translation"` - `"translation_xx_to_yy"` - `"video-classification"` - - `"visual-question-answering"` + - `"visual-question-answering"` (alias `"vqa"` available) - `"zero-shot-classification"` - `"zero-shot-image-classification"` - `"zero-shot-object-detection"`