google-deepmind/sonnet
TensorFlow-based neural network library observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 91
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3439
- days_rel: n/a
- days_push: 57
- n_releases_24m: 0
Adoption not part of the score
9961 stars · 1303 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
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.
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
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
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
Facets
library · maturity maintenance
machine-learning deep-learning machine-learning deep-learning artificial-intelligence python tensorflow neural-networks research deepmind modules
2 sources
- readme: https://github.com/google-deepmind/sonnet · fetched 2026-08-28 · f2be0d4e66c7
- homepage: https://sonnet.dev/ · fetched 2026-08-29 · bc21809f9e4a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google-deepmind/sonnet | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="google-deepmind/sonnet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem