stanford-cs336

    stanford-cs336/spring2025-lectures

    backend
    Python
    MIT
    1.9K stars
    411 forks
    1.9K GitHub watchers
    Updated Nov 3, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 1 contributor on GitHub.

    Use Cases & Benefits

    • Provides lecture materials and executable Python scripts for Stanford's CS336 course on language modeling from scratch.
    • Enables interactive learning by allowing execution and visualization of lecture code with trace generation and frontend trace viewing.
    • Use for studying foundational concepts and practical implementations of language modeling in an academic setting.
    • Use for running and debugging language modeling experiments locally or on a Slurm cluster with automated trace generation.
    • Use for developing or customizing a React-based frontend to visualize execution traces of language modeling algorithms.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • Warning: No commits in over a year (last push Oct 2025).
    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    This repo contains the lecture materials for "Stanford CS336: Language modeling from scratch".

    Located in nonexecutable/as PDFs

    Located as lecture_*.py in the root directory

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

    However, if you want to run it on the cluster, you can do:

    which copies the files to our slurm cluster, runs it there, and copies the results back. You have to setup the appropriate environment and tweak some configs to make this work (these instructions are not complete).

    Excerpt from the stanford-cs336/spring2025-lectures README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    stanford-cs336/spring2025-lectures compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    stanford-cs336/spring2025-lectures1.9K—6—
    Category median56.0K+2.3K29—

    Discover Repositories

    Search across tracked repositories by name or description