Skip to content

Commit

Permalink
Add VQA task
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Aug 30, 2024
1 parent fe140c6 commit 09ae91a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions optimum/exporters/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class TasksManager:
"text2text-generation": "AutoModelForSeq2SeqLM",
"text-classification": "AutoModelForSequenceClassification",
"token-classification": "AutoModelForTokenClassification",
"visual-question-answering": "AutoModelForVisualQuestionAnswering",
"zero-shot-image-classification": "AutoModelForZeroShotImageClassification",
"zero-shot-object-detection": "AutoModelForZeroShotObjectDetection",
}
Expand Down

0 comments on commit 09ae91a

Please sign in to comment.