Stanford CS336 Student Implements Tokenizer From Scratch, Shares Takeaways

stanfordnlp · x · 2026-10-02

A student following Stanford NLP's CS336 class — which teaches language modeling from scratch — has implemented the pre-tokenizer and tokenizer themselves and shared their takeaways in a thread. CS336 is Stanford's open course for building LMs from the ground up.

Original post →

More from Models

Models channel →