{"adoption": {"forks": 45, "observed_at": "2026-08-28T04:03:32.455660+00:00", "stars": 1088}, "canonical_url": "https://ross.abutalabs.com/products/cs336_note_and_hw", "card": {"archived": false, "artifact_type": "learning-resource", "description": "记录我在cs336学习时的笔记和作业", "domain": ["large-language-models", "deep-learning", "tutorials", "machine-learning"], "enriched": true, "function": ["llm-training", "deep-learning", "machine-learning", "prompt-engineering"], "health_score": 68, "homepage": null, "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["weiruihhh/cs336_note_and_hw"], "name": "weiruihhh/cs336_note_and_hw", "platform": ["python"], "pushed_at": "2026-05-02T09:14:07+00:00", "repo": "weiruihhh/cs336_note_and_hw", "stars": 1088, "tags": ["cs336", "stanford", "course-notes", "homework-solutions", "transformers", "pytorch", "triton", "flash-attention", "scaling-laws", "grpo", "dpo", "reinforcement-learning", "data-cleaning", "tokenizer"], "topics": [], "urls": [], "use_cases": ["study notes for stanford cs336 building large language models", "learn how to build an llm from scratch", "reference solutions for cs336 assignments", "understand flash attention and triton kernel implementation", "learn scaling laws for large language models", "implement GRPO and DPO for LLM alignment", "learn the LLM training data cleaning pipeline"], "what_it_is": "A collection of personal course notes and completed homework solutions for Stanford CS336: Building Large Language Models from scratch. It covers Transformer fundamentals, training optimization with Triton and Flash Attention, scaling laws, data cleaning pipelines, and RL-based alignment methods like GRPO and DPO.", "when_to_avoid": ["you need a production-ready LLM training framework", "you want fully polished, complete notes - the author states several chapters are unfinished", "you need commercially licensed material - it is CC BY-NC-SA 4.0, non-commercial only"], "when_to_choose": ["you are taking or self-studying Stanford CS336 and want notes and worked assignments", "you want a structured path to building LLM components from scratch in PyTorch", "you want reference implementations of GRPO, DPO, or Flash Attention exercises"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cs336_note_and_hw", "repo": "weiruihhh/cs336_note_and_hw", "role": "main", "score": 55}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.455660+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:49:23.673337+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "92f86535f0bcce65c92bc553a6a0d78707a29eed3f42cb916eef7427ac1abe76", "fetched_at": "2026-08-28T04:03:32.455660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/weiruihhh/cs336_note_and_hw"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 80, "longevity": 32, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 458, "days_push": 123, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 55, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}