Free no signup, no paywall

Machines do not read.
Here is what they do instead.

JCR Labz builds teaching material for natural language processing: the book, the slides, the code that produces every table in them, and animations that build a representation in front of you one word at a time.

Try it here

Throw away the word order and see what is left.

This is the first idea in the course, running on your sentence. A bag of words keeps which words appeared and how often, and forgets the sequence entirely. Type something and watch how much a model gives up for a fixed-length vector.

As written, in order

In the bag, counted


nlp.jcrlabz.com

Natural Language Processing, from corpus statistics to grounded LLMs

Seven units in order, so nothing arrives out of nowhere. Start at "what even is a word" and finish knowing why attention works. Read it in the browser or take the PDF.

329pages of book
26slide decks
22worked examples
7browser labs

Tidbits

One idea at a time, no maths required.

Small facts about language and machines that are worth knowing even if you never train a model. Each one links to the page that explains it properly.


The labs

Things you can poke with your hands.

All of it runs in your browser, on your text, with no server and no model download. Drag a slider until something breaks. That is the point.


What this is

One subject, taught four ways.

Everything here is written for a 30-hour course in natural language processing, and every piece is built from the same source, so the book, the slides and the code cannot drift apart.

The book

307 pages that go where slides cannot: the derivations, the worked tables and eight projects you build. Reads in the browser, or download the PDF.

The slides

26 decks, in the order they are taught, with the diagrams the lectures use. Free to take and re-teach.

The code

21 scripts that produce every worked table in the book. If a number is printed, a script computes it, and you can open that script in Colab.

The labs

Seven demos that run in your browser. Nothing to install, no model to download, and nothing hidden behind a signup.