Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 03 · AI · Past the basics · about 16 min to read

Watch: CNNs: how a machine learned to see
▶ VideoPlay it as a journeyTutor comes with a plan

Sound and moving pictures: speech, TTS and video

Teaching It To See
Teaching It To See · Open board

: a photograph cut into squares and slid into a sentence. Sound and video use the same move: cut the signal into small pieces and give each piece a list of numbers.

Before you start. From Tokens & Embeddings: a model never reads letters, it reads a list of numbers for each token, and every list has the same length. From Attention & the Transformer: a transformer lets every piece in a row look at every other piece, and its cost grows with the square of the row length. From Diffusion & Image Generation (sculpting from noise): a diffusion model starts from pure noise and removes a little of it at each step until a picture is left. From Multimodality (teaching an LLM to see): a photo is cut into patches, and each patch becomes a list shaped like a word’s list.

Lesson 32 of 83 in AI

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The problem: a recording the model cannot read
  • Speech to text: a picture of sound, then a reader
  • Audio tokens: sound as a short list of whole numbers
  • Video: a stack of pictures, cut in time as well
  • Diffusion Transformer: removing noise with attention
  • Reading sound: from samples to encoder positions
  • Rounding against codebooks, by hand
  • The video count and the DiT count, in code

Terms it explains: log-mel spectrogram, neural audio codec, audio token, residual quantization, spacetime patch, Diffusion Transformer, Common mistakes, 2//tok.

Related paper

Review AI