Skip to content

Commit

Permalink
[pipelines] updated docstring with vqa alias (huggingface#28951)
Browse files Browse the repository at this point in the history
updated docstring with vqa alias
  • Loading branch information
cmahmut authored and steven committed Feb 14, 2024
1 parent e365fe1 commit 8344853
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 8344853

Please sign in to comment.