{"adoption": {"forks": 1303, "observed_at": "2026-08-28T04:10:38.991522+00:00", "stars": 9961}, "canonical_url": "https://ross.abutalabs.com/products/sonnet", "card": {"archived": false, "artifact_type": "library", "description": "TensorFlow-based neural network library", "domain": ["machine-learning", "deep-learning", "artificial-intelligence"], "enriched": true, "function": ["machine-learning", "deep-learning"], "health_score": 79, "homepage": "https://sonnet.dev/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["google-deepmind/sonnet"], "name": "google-deepmind/sonnet", "platform": ["python"], "pushed_at": "2026-07-07T22:31:42+00:00", "repo": "google-deepmind/sonnet", "stars": 9961, "tags": ["tensorflow", "neural-networks", "research", "deepmind", "modules"], "topics": ["machine-learning", "artificial-intelligence", "neural-networks", "deep-learning", "tensorflow"], "urls": [], "use_cases": ["build neural networks for ML research in TensorFlow", "define MLPs and CNNs with composable modules", "prototype supervised and reinforcement learning models", "run distributed training on CIFAR-10 with snt.distribute", "train a GAN on MNIST in a Colab notebook"], "what_it_is": "Sonnet is a Python library built on TensorFlow 2 that provides simple, composable abstractions (snt.Module) for constructing neural networks in machine learning research. Developed by DeepMind, it ships with predefined modules like Linear, Conv2D, and MLP while remaining unopinionated about training workflows.", "when_to_avoid": ["you want a full training framework with built-in trainers", "your project is PyTorch- or JAX-based", "you need a high-level Keras-style end-to-end API"], "when_to_choose": ["you use TensorFlow 2 and want clean, composable module abstractions", "you're doing ML research and prefer building your own training loop", "you want DeepMind's battle-tested neural network building blocks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sonnet", "repo": "google-deepmind/sonnet", "role": "main", "score": 64}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "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:10:38.991522+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:38.991522+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:20:03.914163+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f2be0d4e66c7311fc97893bffa7430a1c14074c109ede0192f892035af7b32a8", "fetched_at": "2026-08-28T04:10:38.991522+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/sonnet"}, {"content_hash": "bc21809f9e4a1131c0568b47c0f90c2d7a8cf94fac3616138369d53a26ecb992", "fetched_at": "2026-08-29T08:19:51.416678+00:00", "kind": "homepage", "missing": false, "url": "https://sonnet.dev/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3439, "days_push": 57, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 64, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}