{"adoption": {"forks": 112, "observed_at": "2026-08-28T04:04:08.484529+00:00", "stars": 1252}, "canonical_url": "https://ross.abutalabs.com/products/mixture-of-experts", "card": {"archived": false, "artifact_type": "library", "description": "PyTorch Re-Implementation of \"The Sparsely-Gated Mixture-of-Experts Layer\" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538", "domain": ["machine-learning", "deep-learning", "large-language-models"], "enriched": true, "function": ["machine-learning", "deep-learning"], "health_score": 20, "homepage": null, "language": "Python", "license": "GPL-3.0", "license_family": "copyleft", "maturity": "maintenance", "member_repos": ["davidmrau/mixture-of-experts"], "name": "davidmrau/mixture-of-experts", "platform": ["python"], "pushed_at": "2024-04-19T08:22:39+00:00", "repo": "davidmrau/mixture-of-experts", "stars": 1252, "tags": ["mixture-of-experts", "pytorch", "sparse-gating", "noisy-gating", "research-code"], "topics": ["moe", "mixture-of-experts", "sparsely-gated-mixture-of-experts", "pytorch", "re-implementation"], "urls": [], "use_cases": ["add a mixture-of-experts layer to a pytorch model", "reproduce the sparsely-gated MoE paper in pytorch", "train sparse expert networks with noisy gating", "experiment with MoE on CIFAR-10", "reference implementation for single-GPU MoE training"], "what_it_is": "A PyTorch re-implementation of the sparsely-gated Mixture-of-Experts layer from the paper 'Outrageously Large Neural Networks' by Shazeer et al. It provides a drop-in MoE module with noisy gating and auxiliary load-balancing loss, plus minimal training examples.", "when_to_avoid": ["you need distributed or multi-GPU MoE training at scale (use FastMoE or DeepSpeed-MoE)", "you need production-grade, actively maintained MoE implementations", "you need modern token-routing MoE used in LLMs like Mixtral"], "when_to_choose": ["you want a simple, readable PyTorch MoE layer for research or teaching", "you need the original sparsely-gated MoE with noisy top-k gating and aux loss", "you need a lightweight single-GPU MoE baseline"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mixture-of-experts", "repo": "davidmrau/mixture-of-experts", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "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:04:08.484529+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:08.484529+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:07:32.704129+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a80c09a6b1045557049d98b64e3ca2fe3354bede94b3db39e31400282788d4cc", "fetched_at": "2026-08-28T04:04:08.484529+00:00", "kind": "readme", "missing": false, "url": "https://github.com/davidmrau/mixture-of-experts"}], "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": 2602, "days_push": 866, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}