Ross ROSS = Recommend OSS · open-source software intelligence for agents

stanford-cs336/assignment1-basics resource

Student version of Assignment 1 for Stanford CS336 - Language Modeling From Scratch observed · 2026-08-28

github.com/stanford-cs336/assignment1-basics · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

57/100

  • Activity 76
  • Release rhythm 45
  • Longevity 37
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 518
  • days_rel: 157
  • days_push: 148
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2652 stars · 2709 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

The student starter code for Stanford CS336 Assignment 1, where learners implement language model basics (tokenizer, transformer, training loop) from scratch in Python. It includes unit tests, adapters, and data download scripts for TinyStories and OpenWebText samples.

Use cases

  • learn to build a language model from scratch
  • implement a BPE tokenizer in Python
  • practice training a transformer on TinyStories
  • coursework for Stanford CS336 language modeling
  • hands-on LLM pretraining exercises

When to choose

  • you want to understand LLM internals by implementing them yourself
  • you are following the CS336 course and need the assignment scaffold
  • you prefer minimal scaffolding with tests to guide implementation

When to avoid

  • you need a production-ready training framework
  • you want prebuilt models or high-level APIs like Hugging Face
  • you are not prepared to write substantial code yourself

Facets

learning-resource · maturity active

machine-learning llm-training testing large-language-models deep-learning education python cross-platform course-assignment transformer language-modeling stanford-cs336 educational natural-language-processing

2 sources

Member repositories

RepositoryRoleHealth v2
stanford-cs336/assignment1-basicsmain57

For agents

markdown · JSON · MCP: product_card(name="stanford-cs336/assignment1-basics")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem