PrepCity

Multimodal models: how a model sees a photo

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 9 pages · about 7 min

Multimodal models: how a model sees a photo

A language model reads tokens. To read a photo, the photo is cut into small squares, and each square becomes a token next to the words. See what that costs, why to shrink photos first, and why words inside a picture must never be obeyed.

Words you’ll learn

  • Multimodal model
  • Request
  • Agent harness
  • Language model
  • Patch
  • Image resizer
  • Multimodal agent
  • Shared embedding space
  • Contrastive training
  • Vector index

Page by page