{"adoption": {"forks": 3321, "observed_at": "2026-08-28T04:11:37.664993+00:00", "stars": 24840}, "canonical_url": "https://ross.abutalabs.com/products/mingpt", "card": {"archived": false, "artifact_type": "library", "description": "A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training", "domain": ["large-language-models", "deep-learning", "education", "machine-learning"], "enriched": true, "function": ["llm-training", "deep-learning", "machine-learning"], "health_score": 20, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["karpathy/minGPT"], "name": "karpathy/minGPT", "platform": ["python"], "pushed_at": "2024-08-15T04:09:40+00:00", "repo": "karpathy/minGPT", "stars": 24840, "tags": ["gpt", "transformer", "pytorch", "educational", "language-model", "minimal-implementation", "gpu"], "topics": [], "urls": [], "use_cases": ["learn how the GPT transformer model works internally", "train a small GPT model from scratch in PyTorch", "implement a character-level language model on a text file", "load a pretrained GPT-2 and generate text from a prompt", "study a readable reference implementation of a transformer", "train GPT on toy tasks like integer addition"], "what_it_is": "A minimal, clean PyTorch re-implementation of OpenAI's GPT covering both training and inference in roughly 300 lines of code. It is designed primarily for education and interpretability, and is now semi-archived in favor of the author's nanoGPT rewrite.", "when_to_avoid": ["you need state-of-the-art performance or recent features - use nanoGPT instead", "you want to fine-tune large production-grade models", "you need active maintenance and community support"], "when_to_choose": ["you want a small, readable codebase to understand GPT architecture", "you need a hackable starting point for transformer experiments", "you are teaching or learning about language model training"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mingpt", "repo": "karpathy/minGPT", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "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:11:37.664993+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:37.664993+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T16:56:09.188707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ad81f8f2df8881aaf0e2d6aaa55eb869887ed80cc59442e496ec5882d7171315", "fetched_at": "2026-08-28T04:11:37.664993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/minGPT"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "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": 2207, "days_push": 748, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 8, "stale_scrape": false}}