Skip to content
Projects

stanford-cs336/lectures has 4,067 GitHub stars and 806 forks. GitHot measured +3 stars in 24 hours. Last checked 2026-11-08 15:38 UTC. Last push 2026-09-12.

How these counts are measured

This repository contains the lecture materials for Stanford's Language Modeling from Scratch (CS336).

Measured star growth

in 24h
+3
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Spring 2026 CS336 lectures

This repository contains the lecture materials for Stanford's Language Modeling from Scratch (CS336).

Executable lectures

These are named lecture_XX.py.

Setup

    uv sync
    git clone https://github.com/percyliang/edtrace

You can compile a lecture by running:

    python execute.py -m lecture_01

which generates a var/traces/lecture_01.json and caches any images as appropriate.

To view it locally:

Load a local server to view at http://localhost:5173?trace=var/traces/sample.json:

    npm run --prefix=edtrace/frontend dev

Deploy to the main website:

    npm run --prefix=edtrace/frontend build
    git add assets
    git ci -am "<some message>"
    git push

Non-executable lectures

These are named lecture_XX.pdf.

Explore related projects