Skip to main content

Barebones-HAMUX

HAMUX built using equinox, minimal implementation. A temporary solution as HAMUX is being rebuilt.

Build any hopfield network using energy fundamentals. See the original HAMUX documentation for explanation.

Install: File copy

All logic is in one file: hamux.py. Please copy this file into whatever project you are working on, and modify as needed. You will need to manually install dependencies:

pip install equinox jax
pip install pytest # for tests

Install correct version of jaxlib for your hardware (e.g., to run on GPUs).

Run demo.ipynb for an example training on MNIST. Works best with GPU

Install: Pip

Tests

All basic tests for this package are in test.py.

pytest test.py

Citation

If this repository is useful for this work, please cite the following:

@inproceedings{
hoover2022universal,
title={A Universal Abstraction for Hierarchical Hopfield Networks},
author={Benjamin Hoover and Duen Horng Chau and Hendrik Strobelt and Dmitry Krotov},
booktitle={The Symbiosis of Deep Learning and Differential Equations II},
year={2022},
url={https://openreview.net/forum?id=SAv3nhzNWhw}
}

Metadata

Release files for bbhamux 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bbhamux 0.2.0
File Size Uploaded Provenance Actions
bbhamux-0.2.0.tar.gz 5.0 kB Without provenance Details for bbhamux-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bbhamux 0.2.0
File Interpreter ABI Platform Actions
bbhamux-0.2.0-py3-none-any.whl Python 3 none any Details for bbhamux-0.2.0-py3-none-any.whl

Total release size: 10.3 kB

Release files / bbhamux-0.2.0.tar.gz

Download URL bbhamux-0.2.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ace733398527b55ef8838131cae7a3ee663eca6883f60ad2842ac1bbb55518c8
BLAKE2b-256 checksum
How to use checksums
90311c98c3038983a6666bd435b36fa98dfe6072b207f2373c4ed5d169d1c594
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.5 Darwin/23.0.0

Release files / bbhamux-0.2.0-py3-none-any.whl

Download URL bbhamux-0.2.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87753996081c0f0d51ae5e6d9269fbcc37ad1ae14de410879b4a65a2c306cde1
BLAKE2b-256 checksum
How to use checksums
9bc1587f8be2be601720150c928ed70ae703a4f43cc6dadb7bad29a25bfcde86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.5 Darwin/23.0.0

Security for bbhamux 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page