Bitpath

Boss lesson · Unit 02

Pick a precision

Memory, speed and quality for one job on one device

12 exercisesabout 3 min

What you practise

  • Memory, speed and quality for a given job
  • Where quality falls off
  • Distillation and a smaller model as the other way down

Try a question from this lesson

Pick one

You must run a model with 7 billion weights on a device with 8 GB free. Which is the most precise format whose weights fit?

The ideas

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

The three-way trade

Fewer bits always means less memory, in exact proportion. It often means more speed, because less data has to be read for every token. It always means some rounding error, and that grows fast: each bit removed doubles the step.

Memory and speed can be calculated. Quality has to be measured.

Concept

The other way down

Fewer bits is one way to shrink a model. Fewer weights is the other: a smaller model, often distilled, meaning trained to imitate a larger one.

A small model at high precision and a large model at low precision can take the same memory. Which is better for your job is an eval question, not a size question.

9 more exercises in the app

  • 3× type the answer
  • 2× multiple choice
  • 1× true or false
  • 1× fill the blanks
  • 1× match the pairs
  • 1× order the lines

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy