Deep Learning Lab
Guide
Module 5 · 6 lessons · 3.5 hours in class

Learning Representations from Images and Text

How do neural networks learn useful representations from different types of data?

You will learn

  • Representation learning
  • CNNs
  • Image tensors
  • Text embeddings
  • Cosine similarity
  • RNNs
  • LSTM & GRU
  • Contrastive learning
  • CLIP

Hands-on: Train a Fashion-MNIST CNN, learn text embeddings, and compare raw inputs with learned features.

Lessons

  1. Lesson 5.1: Understanding Representation Learning

    What changes when a network learns its own features instead of being given them?

    Classroom · ~35 min self-study · 8 sections · 13 code cells
    Not started Start
  2. Lesson 5.2: How Neural Networks Learn from Images

    How can a network take advantage of the fact that, in an image, position and neighbourhood matter?

    Classroom · ~61 min self-study · 12 sections · 25 code cells · 1 lab
    Not started Start
  3. Lesson 5.3: How Neural Networks Learn from Text

    How can a network turn words, which are just symbols, into numbers that capture meaning?

    Classroom · ~51 min self-study · 12 sections · 22 code cells
    Not started Start
  4. Lesson 5.4: From Sequences to Attention

    How can a network use the order of a sequence, and why did that lead to attention?

    Classroom · ~41 min self-study · 9 sections · 18 code cells · 1 lab
    Not started Start
  5. Lesson 5.5: Connecting Image and Text Representations

    How can images and text be represented in a way that lets us compare them directly?

    Classroom · ~32 min self-study · 8 sections · 14 code cells
    Not started Start
  6. Lesson 5.6: Synthesis: Putting Representation Learning into Practice

    How can we measure, rather than just eyeball, what a learned representation has gained over raw data?

    Classroom · ~26 min self-study · 4 sections · 15 code cells
    Not started Start

Module challenge

Earns the Module 5 badge

Module 5 challenge: Learning Representations from Images and Text

8 scenario questions that mix ideas from all 6 lessons. One question at a time, an explanation after each, and your score at the end. Pass mark 75%, so 6 of 8.

not attempted

Best after you have practised all 6 lessons.