Multimodal Prediction¶
For problems on multimodal data tables that contain image, text, and tabular data, AutoGluon provides MultiModalPredictor (abbreviated as AutoMM) that automatically selects and fuses deep learning backbones from popular packages like timm, huggingface/transformers, CLIP, etc. You can use it to build models for multimodal problems that involve image, text, and tabular features, e.g., predicting the product price based on the items’ description, photo, and other metadata, or matching images with text descriptions.
In addition, being good at multimodal problems implies that the predictor will be good for each specific modality. Thus, you can also use AutoMM to solve standard NLP/Vision tasks like sentiment classification, intent detection, paraphrase detection, image classification. Moreover, AutoMM can be used as a basic model in the multi-layer stack-ensemble of TabularPredictor.
In the following, we prepared a few tutorials to help you learn how to use AutoMM to solve problems that involve image, text, and tabular data.
Text Prediction and Entity Extraction¶
How to train high-quality text prediction models with MultiModalPredictor in under 5 minutes.
How to use MultiModalPredictor to build models on datasets with languages other than English.
How to use MultiModalPredictor for entity extraction.
Image Prediction¶
How to train image classification models with MultiModalPredictor.
How to enable zero-shot image classification in AutoMM via pretrained CLIP model.
Object Detection¶
How to train high quality object detection model with MultiModalPredictor in under 5 minutes on COCO format dataset.
How to prepare COCO2017 dataset for object detection.
How to prepare Pascal VOC dataset for object detection.
How to prepare Watercolor dataset for object detection.
How to convert a dataset from VOC format to COCO format for object detection.
How to fast finetune a pretrained model on a dataset in COCO format.
How to finetune a pretrained model on a dataset in COCO format with high performance.
How to inference with a pretrained model on a small dataset (COCO Format)
How to inference with a pretrained model on COCO dataset
How to inference with a pretrained model on VOC dataset
How to evaluate the very fast pretrained YOLOv3 model on dataset in COCO format.
How to evaluate the pretrained Faster R-CNN model with high performance on dataset in COCO format.
How to evaluate the pretrained Deformable DETR model with higher performance on dataset in COCO format
How to evaluate the pretrained Faster R-CNN model on dataset in VOC format
Matching¶
How to use AutoMM for text to text matching.
How to use semantic embeddings to improve search ranking performance.
How to use CLIP to extract embeddings for retrieval problem.
Multimodal Classification / Regression¶
How MultiModalPredictor can be applied to multimodal data tables with a mix of text, numerical, and categorical columns. Here, we train a model to predict the price of books.
How to use MultiModalPredictor to train a model that predicts the adoption speed of pets.
Advanced Topics¶
How to take advantage of larger foundation models with the help of parameter-efficient finetuning. In the tutorial, we will use combine IA^3, BitFit, and gradient checkpointing to finetune FLAN-T5-XL.
How to customize AutoMM configurations.