ml-jku/hopfield-layers
Hopfield Networks is All You Need observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: n/a
- age_days: 2246
- days_rel: n/a
- days_push: 1228
- n_releases_24m: 0
Adoption not part of the score
1959 stars · 228 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch library implementing modern Hopfield networks with continuous states, whose update rule is equivalent to transformer attention. It provides Hopfield layers (HopfieldLayer, HopfieldPooling, Hopfield lookup) that can be integrated into deep learning architectures.
Use cases
- implement modern Hopfield networks in PyTorch
- replace or augment transformer attention heads with Hopfield layers
- analyze transformer attention as Hopfield network updates
- build deep learning models with associative memory layers
- classify immune repertoire data with Hopfield-based networks
- experiment with attention mechanisms from the Hopfield Networks is All You Need paper
When to choose
- you want to use or study modern Hopfield layers in PyTorch deep learning models
- you are reproducing or extending the Hopfield Networks is All You Need research
- you need associative memory layers with exponential storage capacity
- you want to experiment with alternatives to standard attention heads
When to avoid
- you need a production-grade, actively maintained attention library
- you want a general-purpose transformer implementation rather than research layers
- you do not use PyTorch
- you need commercial support or extensive documentation
Facets
library · maturity maintenance
machine-learning deep-learning deep-learning machine-learning python hopfield-networks attention-mechanism transformers pytorch research-code associative-memory natural-language-processing
2 sources
- readme: https://github.com/ml-jku/hopfield-layers · fetched 2026-08-28 · b4cc1e6eaed8
- homepage: https://ml-jku.github.io/hopfield-layers/ · fetched 2026-08-29 · cf906f722226
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ml-jku/hopfield-layers | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="ml-jku/hopfield-layers")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem