{"adoption": {"forks": 55, "observed_at": "2026-08-28T04:06:25.504399+00:00", "stars": 2199}, "canonical_url": "https://ross.abutalabs.com/products/lion-pytorch", "card": {"archived": false, "artifact_type": "library", "description": "🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch", "domain": ["deep-learning", "machine-learning", "artificial-intelligence"], "enriched": true, "function": ["machine-learning", "deep-learning"], "health_score": 85, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["lucidrains/lion-pytorch"], "name": "lucidrains/lion-pytorch", "platform": ["python"], "pushed_at": "2026-07-09T14:19:32+00:00", "repo": "lucidrains/lion-pytorch", "stars": 2199, "tags": ["optimizer", "pytorch", "lion-optimizer", "evolutionary-search", "training"], "topics": ["artificial-intelligence", "deep-learning", "optimizers", "evolutionary-search"], "urls": [], "use_cases": ["train neural networks with the Lion optimizer in PyTorch", "replace AdamW with a potentially better optimizer", "speed up deep learning model training", "experiment with optimizers discovered via evolutionary search", "tune learning rate and betas for Lion optimizer"], "what_it_is": "A PyTorch implementation of the Lion optimizer (Evolved Sign Momentum), discovered by Google Brain via genetic algorithms and claimed to outperform AdamW. It is a lightweight drop-in optimizer class with tuning guidance for learning rate and beta parameters.", "when_to_avoid": ["you need a battle-tested optimizer with guaranteed stability out of the box", "you cannot afford hyperparameter retuning, since Lion requires 3-10x smaller learning rates than AdamW", "you are not using PyTorch"], "when_to_choose": ["you train models in PyTorch and want to try a modern alternative to AdamW", "you are doing language modeling or text-to-image training where Lion has shown positive results", "you want a minimal, easy-to-integrate optimizer implementation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/lion-pytorch", "repo": "lucidrains/lion-pytorch", "role": "main", "score": 62}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "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:06:25.504399+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.504399+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:47:07.585932+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a6389a656485aa0438ddbf33c07706aa57f39aa5f820c523a0adda5878dcf8df", "fetched_at": "2026-08-28T04:06:25.504399+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/lion-pytorch"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 92, "rhythm": 8}, "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": 1295, "days_push": 55, "days_rel": 644, "gap_med": null, "n_releases_24m": 1}, "score": 62, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}