google/ml_collections
ML Collections is a library of Python Collections designed for ML use cases. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 91
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 156
- age_days: 2204
- days_rel: 503
- days_push: 57
- n_releases_24m: 2
Adoption not part of the score
1036 stars · 49 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ML Collections is a Python library providing dict-like data structures (ConfigDict and FrozenConfigDict) for managing ML experiment and model configurations. It offers dot-based nested access, type safety, immutability, lazy computation, and YAML-readable printing.
Use cases
- manage hyperparameter configs for ML experiments
- define model configuration files with dot access
- create immutable frozen configs for reproducible runs
- avoid typos in nested config dictionaries
- share experiment configs as keyword arguments
When to choose
- you need structured, type-safe configuration for ML experiments
- you want immutable, hashable config objects
- you work in Python ML research pipelines (e.g., JAX/Flax ecosystems)
When to avoid
- you need a general-purpose config format like YAML or TOML files alone
- your project is not Python-based
- you need runtime-editable configs with no locking semantics
Facets
library · maturity stable
configuration-management developer-tools machine-learning developer-tools deep-learning python configdict experiment-configuration hyperparameters dot-access type-safety
2 sources
- readme: https://github.com/google/ml_collections · fetched 2026-08-28 · 84fc111467bb
- registry_pypi: https://pypi.org/pypi/ml_collections/json · fetched 2026-08-29 · 17c29907e86d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/ml_collections | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="google/ml_collections")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem