{"adoption": {"forks": 7180, "observed_at": "2026-08-28T04:12:18.355217+00:00", "stars": 55036}, "canonical_url": "https://ross.abutalabs.com/products/minimind", "card": {"archived": false, "artifact_type": "learning-resource", "description": "🧠 Train a 64M-parameter LLM from scratch in just 2h!", "domain": ["large-language-models", "artificial-intelligence", "deep-learning", "education"], "enriched": true, "function": ["llm-training", "machine-learning", "deep-learning", "llm-inference", "chatbot", "rag", "agent-framework"], "health_score": 94, "homepage": "https://jingyaogong.github.io/minimind", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["jingyaogong/minimind"], "name": "jingyaogong/minimind", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-21T08:49:07+00:00", "repo": "jingyaogong/minimind", "stars": 55036, "tags": ["train-from-scratch", "pytorch", "moe", "rlhf", "dpo", "grpo", "lora", "sft", "pretraining", "model-distillation", "tool-calling", "tutorial", "small-language-model", "openai-api-compatible", "natural-language-processing", "gpu"], "topics": ["artificial-intelligence", "large-language-model"], "urls": [], "use_cases": ["train a small LLM from scratch on a single consumer GPU", "learn how LLM pretraining and SFT work internally", "experiment with RLHF, DPO, PPO, and GRPO implementations", "understand MoE architectures with readable code", "build a tiny chatbot with tool calling and reasoning", "teach an LLM course with a reproducible codebase", "fine-tune and distill a lightweight language model", "serve a custom-trained model with an OpenAI-compatible API"], "what_it_is": "MiniMind is an open-source project that trains tiny (64M-parameter) large language models completely from scratch in pure PyTorch, covering the full pipeline from tokenizer to pretraining, SFT, LoRA, RLHF/DPO, RLAIF (PPO/GRPO/CISPO), tool use, and distillation. It doubles as a hands-on tutorial for understanding LLM internals, with models deployable via vLLM, ollama, llama.cpp, or an OpenAI-compatible API.", "when_to_avoid": ["you need a production-grade, high-capability LLM for real applications", "you only want to fine-tune an existing large model with LoRA", "you need multimodal, speech, or vision capabilities out of the box (see MiniMind-V/O instead)", "you require enterprise support, scaling, or extensive evaluation benchmarks"], "when_to_choose": ["you want to understand every step of LLM training without black-box abstractions", "you have limited GPU budget and want to train a model from zero cheaply", "you need an educational, reproducible reference implementation of modern LLM training techniques", "you want a tiny model compatible with vLLM, ollama, or llama.cpp"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/minimind", "repo": "jingyaogong/minimind", "role": "main", "score": 62}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "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:12:18.355217+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:12:18.355217+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T16:18:59.549933+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19385d2819db088db5a040b46ceee7750ae3545665ff139ea28557d71f1bf124", "fetched_at": "2026-08-28T04:12:18.355217+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jingyaogong/minimind"}, {"content_hash": "e62203af6f600a902a5700056247ac4e96915b6ce8a92a0ef91cca283c23d25b", "fetched_at": "2026-08-28T18:05:30.571412+00:00", "kind": "homepage", "missing": false, "url": "https://jingyaogong.github.io/minimind"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 54, "rhythm": 21}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 767, "days_push": 12, "days_rel": 316, "gap_med": null, "n_releases_24m": 1}, "score": 62, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}