Skip to content

Speed or Smarts

You'll run one model at three quantization sizes on your own machine, time each, score each on twenty of your questions, and pick the one you'd live with.

About

A model comes in sizes: the same weights squeezed to 8 bits, 4 bits or less, trading answer quality for memory and speed. The internet will tell you 4-bit is nearly free and 2-bit is ruined, and this weekend finds out whether that's true on your laptop with your questions. You need the Fifty Questions badge or any twenty questions with answers, a stopwatch, and the patience to download three files. The trap is judging by a single clever answer, which is why you score twenty.

At a glance

Per requirement
25 XP
Completion bonus
150 XP
Requirements
5
Takes
One weekend
Skill level
Beginner (done it a few times)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own
Locked for now
Earn two more Common badges in AI Tinkering to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Download the same model in three quantizations. An 8-bit, a 4-bit and a 2 or 3-bit version of one model. On an 8 GB machine do this with a 3B model, since the 8-bit file of a 7B is about 7 GB and won't fit. Note each file size and whether it fits in your memory with room to spare. Take a screenshot of the three files with sizes. Photo
  2. 2
    Time each one on the same three prompts. Measure tokens per second and the time to the first word. Run each prompt twice and keep the second, since the first run loads the model. Take a photo of the nine timings in a grid. Photo
  3. 3
    Score each one on twenty questions with answers, blind. Use twenty from your own set, shuffle the sixty answers so you can't tell which size wrote which, score them, then reveal. Take a photo of the three totals. Photo
  4. 4
    Watch memory while the biggest one runs. Open the system monitor and note memory use and whether the machine starts swapping to disk, which shows up as a sudden crawl. Take a screenshot of the monitor mid-answer. Photo
  5. 5
    Pick one and say what you'd give up for it. Write three lines: which quantization you'll keep, how many points it lost against the biggest, and how much faster it is. Take a photo of the note next to the model file you kept. Photo