{"adoption": {"forks": 287, "observed_at": "2026-08-28T04:03:35.929104+00:00", "stars": 1102}, "canonical_url": "https://ross.abutalabs.com/products/llm_from_scratch", "card": {"archived": false, "artifact_type": "learning-resource", "description": null, "domain": ["large-language-models", "deep-learning", "machine-learning", "tutorials"], "enriched": true, "function": ["llm-training", "deep-learning", "machine-learning"], "health_score": 49, "homepage": null, "language": "Python", "license": "GPL-3.0", "license_family": "copyleft", "maturity": "active", "member_repos": ["vivekkalyanarangan30/llm_from_scratch"], "name": "vivekkalyanarangan30/llm_from_scratch", "platform": ["python", "cross-platform"], "pushed_at": "2025-10-23T11:29:04+00:00", "repo": "vivekkalyanarangan30/llm_from_scratch", "stars": 1102, "tags": ["pytorch", "transformer", "rlhf", "mixture-of-experts", "hands-on-curriculum", "nano-gpt-style", "education", "gpu"], "topics": [], "urls": [], "use_cases": ["learn how transformers and self-attention work from first principles", "train a tiny LLM from scratch in PyTorch", "understand RLHF and PPO implementation", "implement mixture-of-experts layers", "learn modern LLM techniques like RoPE, RMSNorm, and KV cache", "study the full LLM pipeline from pretraining to alignment"], "what_it_is": "A hands-on Python/PyTorch curriculum that builds large language models from scratch, covering transformer architecture, training, modern improvements like RoPE and MoE, and alignment via SFT, reward modeling, and PPO-based RLHF. It is structured as a step-by-step educational course with runnable code rather than a production library.", "when_to_avoid": ["you need a production-ready training framework", "you want pretrained models or inference serving", "you need distributed multi-node training at scale"], "when_to_choose": ["you want to learn LLM internals by coding them yourself", "you need a structured curriculum covering pretraining through RLHF", "you prefer PyTorch-based educational code over high-level frameworks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/llm_from_scratch", "repo": "vivekkalyanarangan30/llm_from_scratch", "role": "main", "score": 39}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "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:35.929104+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:35.929104+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:45:40.019465+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccc425b1eb1f4a8c0715489acfeadbcf1ec5ec7c0d72274a560f124c8ca87b44", "fetched_at": "2026-08-28T04:03:35.929104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vivekkalyanarangan30/llm_from_scratch"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 48, "longevity": 27, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 389, "days_push": 314, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 39, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}