Bootcamp / Session 1 / 1.2
Session 1.2 · Act one · Eric Ma, Moderna
One trick, next-token prediction, explained well enough that you can teach it to your own lab and trace any answer a model gives you back to it. No math, no code. Every demo runs a real, tiny model in your browser.
Eric's closing table is the starting point for Part 1.4, where each row gets a practice from Tommy and a rule from us.
| What you see | Cause | Habit that catches it |
|---|---|---|
| It makes something up | Prediction without lookup | Verify against primary sources |
| Same prompt, different answer | Sampling | Log model, settings, and prompts |
| Out-of-date answers | Training cutoff date | Check current sources |
| Repeats the field's old mistakes | Copies its training data | Read with the literature's biases in mind |
| Echoes sensitive text you pasted | Nothing in the mechanism keeps secrets | Keep patient and unpublished data out of consumer tools |
docker compose up, then open port 8000.github.com/UMMS-Biocore/next-token
ReadingLanguage models for biological research: a primerNature Methods, 2024.nature.com
Going deeper3Blue1BrownVisual explanations of neural networks and transformers.youtube.com/@3blue1brown
Going deeperWelch LabsRecommended by Eric for the history and intuition of modern AI.youtube.com/@WelchLabsVideo