Skip to content

Commit

Permalink
[pipelines] updated docstring with vqa alias (#28951)
Browse files Browse the repository at this point in the history
updated docstring with vqa alias
  • Loading branch information
cmahmut authored Feb 12, 2024
1 parent cf4c20b commit 1709886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/pipelines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 1709886

Please sign in to comment.