{"adoption": {"forks": 777, "observed_at": "2026-08-28T04:09:09.274933+00:00", "stars": 5070}, "canonical_url": "https://ross.abutalabs.com/products/reasoning-from-scratch", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Implement a reasoning LLM in PyTorch from scratch, step by step", "domain": ["large-language-models", "deep-learning", "artificial-intelligence", "tutorials"], "enriched": true, "function": ["llm-training", "machine-learning", "reinforcement-learning", "llm-inference"], "health_score": 99, "homepage": "https://mng.bz/lZ5B", "language": "Jupyter Notebook", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["rasbt/reasoning-from-scratch"], "name": "rasbt/reasoning-from-scratch", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-26T01:52:13+00:00", "repo": "rasbt/reasoning-from-scratch", "stars": 5070, "tags": ["pytorch", "reasoning-models", "chain-of-thought", "rlhf", "grpo", "from-scratch", "book", "educational", "jupyter-notebooks"], "topics": ["ai", "artificial-intelligence", "deep-learning", "large-language-models", "llms", "machine-learning", "python", "pytorch", "reasoning", "reinforcement-learning", "chain-of-thought", "distillation", "grpo", "inference-time-scaling", "llm", "math-reasoning", "reasoning-models", "rlhf", "test-time-compute"], "urls": [], "use_cases": ["learn how reasoning LLMs like DeepSeek R1 work internally", "implement chain-of-thought reasoning from scratch in PyTorch", "understand GRPO and RLHF fine-tuning step by step", "build a small functional reasoning model for education", "study inference-time scaling and test-time compute", "accompany a hands-on book on reasoning models"], "what_it_is": "The official code repository for the book 'Build a Reasoning Model (From Scratch)' by Sebastian Raschka, containing step-by-step PyTorch implementations of a reasoning LLM. It teaches how to add reasoning capabilities like chain-of-thought and RL-based fine-tuning (GRPO, RLHF) to a pre-trained base LLM for educational purposes.", "when_to_avoid": ["you need a production-ready reasoning LLM or inference server", "you want pre-trained state-of-the-art models rather than educational implementations", "you need large-scale training infrastructure rather than small-scale learning code"], "when_to_choose": ["you want to deeply understand how reasoning models are built, not just use them", "you prefer learning by implementing in PyTorch from scratch", "you are following the Manning book and need its official code", "you want educational, well-tested notebook-based code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/reasoning-from-scratch", "repo": "rasbt/reasoning-from-scratch", "role": "main", "score": 71}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "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:09:09.274933+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.274933+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:02:49.218037+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "65397d3261c2638431f07021f5282a33a5c60ca095d3d846292af312273c27f3", "fetched_at": "2026-08-28T04:09:09.274933+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rasbt/reasoning-from-scratch"}, {"content_hash": "aa25817e63ecefc8803d094be240f6fb889fa5ed3569a9e83beee4691b720e64", "fetched_at": "2026-08-29T08:57:45.229465+00:00", "kind": "homepage", "missing": false, "url": "https://mng.bz/lZ5B"}, {"content_hash": "9e27304d775714a2a1aafab50aedf6c06e81722765dc3138f73d28af23292a66", "fetched_at": "2026-08-29T08:57:45.239202+00:00", "kind": "site_page", "missing": false, "url": "https://www.manning.com/faq"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 39, "rhythm": 52}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 547, "days_push": 8, "days_rel": 107, "gap_med": null, "n_releases_24m": 1}, "score": 71, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}