Transformers for Vision and Multimodal LLMs [FREE] thumbnail

Transformers for Vision and Multimodal LLMs [FREE]

18 lessons17 topics34h 20mself-paced

About this course

Fifteen recorded sessions on how the transformer moved from language into vision, and how vision and language are combined in multimodal models. You go from the limits of recurrent networks to self-attention, then build and study the architectures behind modern computer vision: ViT, DeiT, Swin, DETR and SAM, and finish with cross-attention for images and video.

What you will learn

  • From RNNs and Bahdanau attention to self-attention with trainable query, key and value weights
  • Multi-head attention, naive and efficient, with the weight-split implementation
  • Vision Transformer patch embedding in PyTorch, DeiT and knowledge distillation
  • Swin Transformer shifted windows, DETR object queries and Hungarian matching, and Segment Anything
  • CLIP-style contrastive learning, a nano vision-language model, and cross-attention in multimodal LLMs

What is included

  • 17 lecture recordings, about 34 hours of video
  • Course end test

Who it is for

Data scientists, ML engineers and researchers who know basic deep learning and want to work with transformers in vision and multimodal settings.

Course curriculum

17 topics • 18 lessons

34h 20m
Enjoyed the course? Spread the word1 items
  1. Leave us a testimonial
Week 1: Course introduction, computer vision in practice and AlexNet1 items
  1. Course introduction, computer vision in practice and AlexNet (lecture video)
Week 2: Transformer architecture: tokens, embeddings and the transformer block1 items
  1. Transformer architecture: tokens, embeddings, transformer block (lecture video)
Week 3: From RNNs and Bahdanau attention to simplified self-attention2 items
  1. From RNNs and Bahdanau attention to self-attention (lecture video)
  2. Simplified self-attention without trainable weights (lecture video)
Week 4: Self-attention with trainable query, key and value weights1 items
  1. Self-attention with trainable query, key and value weights (lecture video)
Week 5: Multi-head attention: dropout and efficient weight-split implementation2 items
  1. Dropout in attention and naive multi-head attention (lecture video)
  2. Efficient multi-head attention with weight splitting (lecture video)
Week 6: Vision Transformer (ViT): patch embedding in PyTorch1 items
  1. Vision Transformer patch embedding in PyTorch (lecture video)
Week 7: Vision-language models: CLIP-style contrastive learning and a nano-VLM1 items
  1. Vision-language models: contrastive learning and a nano-VLM (lecture video)
Week 8: Data-efficient Image Transformer (DeiT) and knowledge distillation1 items
  1. DeiT: knowledge distillation from a CNN teacher (lecture video)
Week 9: Swin Transformer: shifted windows and hierarchical features1 items
  1. Swin Transformer intuition: shifted windows and patch merging (lecture video)
Week 10: Coding Swin Transformer: relative position bias and window attention1 items
  1. Coding Swin: relative position bias and window partitioning (lecture video)
Week 11: Detection Transformer (DETR): object queries and Hungarian matching1 items
  1. DETR concepts: object queries and Hungarian matching (lecture video)
Week 12: Coding the Detection Transformer (DETR) with pretrained weights1 items
  1. Coding DETR for object detection with pretrained weights (lecture video)
Week 13: Segment Anything Model (SAM) and promptable segmentation1 items
  1. Segment Anything Model (SAM) and promptable segmentation (lecture video)
Week 14: Video transformer block: spatial attention, layer norm and residuals1 items
  1. Coding a video transformer block with spatial attention (lecture video)
Week 15: Cross-attention for image and video inputs in multimodal LLMs1 items
  1. Cross-attention for image and video inputs in multimodal LLMs (lecture video)
Course End Test1 items
  1. Course End Testcourse end test