Skip to content

sai-nirish/cs-336-lectures

 
 

Repository files navigation

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:

    uv run python -m edtrace.execute -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/lecture_01.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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.4%
  • HTML 0.6%