hello·ai

1 project

Projects

A topic explains one idea. An example works out how to think about a situation. A project is the thing you actually sit down and build — every step, in the order you would really do them, including the ones that go wrong. Each is the practical last step of a track.

Projects open in their own page, with a step checklist that remembers where you got to. Nothing is gated: if you want to read the recipe before the material, read it.

Build a text classifier

23 steps · 6 partsa weekend, or a few evenings

Take a pile of free text nobody has labelled and end up with a classifier that picks a label or honestly declines — small enough to run on a CPU or a phone.

The whole pipeline, in the order you would really do it: get the text, beat a no-model baseline, compare four families of encoder on your own data and write down why you picked one, convert it to something a phone can run, let clustering propose the labels, turn scores into a decision that can say nothing, and prove the shipped build gives the same answers your laptop did.

What you end up with

  • A 25 MB sentence encoder that takes text and returns one vector
  • A label set you derived from your own data, not one you guessed
  • A 100 KB index of prototypes, and a scorer that abstains on a tie
  • A parity fixture proving the device agrees with Python

What you will type

Pythonscikit-learnONNX RuntimeTypeScript

The practical end of Classifying with small models. It restates what it needs as it goes, so it stands on its own.

Start the project →

#classification#embeddings#evaluation#deployment

Why these are separate

Everything else on this site is written to be read once, in order, in ten minutes. A project is written to be followed at a keyboard over hours, which wants a different page: a persistent list of steps, copyable code, a checkbox per step and the traps called out where you will hit them. So projects get their own pages rather than being squeezed into the reader.

They are also the honest test of the material. If you can read a track and still not build the thing, the track was decoration.