← 开源
Python
增长势头
+324 小时新增 Star+0.1%
4.15k
Star
824
Fork
+17
本周
13
贡献者
创建于 2025-03-02 · 更新于 2026-12-06 · 今日第 2993 名
主要开发者
percyliangthashimhermabr
README

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.

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载