Skip to main content

Multimodal tasks

Adapted for this playbook from the 🤗 Transformers documentation by Hugging Face. Official page: https://huggingface.co/docs/transformers/tasks/document_question_answering. Images © Hugging Face (documentation-images) unless noted. This is not a substitute for the upstream docs — verify against the current version.

Covers Hugging Face pages: document_question_answering and related multimodal task guides

Document VQA example imagery — Source: Hugging Face

Source: Hugging Face Transformers documentation.

Few-shot VLM example imagery — Source: Hugging Face

Source: Hugging Face Transformers documentation.

Typical multimodal jobs​

  • Visual question answering
  • Document question answering / DocVQA
  • Image captioning
  • Vision-language chat
  • Any-to-any multimodal generation (model-dependent)

Always load AutoProcessor with the model. See Processors and Chat templates.

CLIP overview imagery — Source: Hugging Face

Source: Hugging Face documentation images.

Discussion

Comments​

Share feedback or questions about this page. No account required.

Loading comments…