01Chapter 1: Embeddings: representing images and text as vectorsThis chapter assumes you know Python, basic linear algebra (dot products and vector norms), and the idea of a neural network that maps inputs to vectors. You do not need prior experience with CLIP.2 min read
02Chapter 2: Training data: image-text pairs from the webPrerequisites: This chapter assumes you can read basic Python and PyTorch tensor code, you know what softmax and cross-entropy loss do, and you understand that a neural network maps an input to a vector called an embedding.2 min read
03Chapter 3: Prompt templates and prompt ensemblingThis chapter assumes you know PyTorch tensors, cosine similarity, and the basic idea of a CLIP model, which maps images and text into one shared vector space. Code runs with transformers and torch installed.2 min read