Attention based Hopfield Network with Sparse Modern Hopfield network to improve robustness
- Install Poetry: https://python-poetry.org/docs/#installation
- Clone this repository
- Run
poetry install
to install dependencies - Run
pre-commit install
to set up the git hooks
- Use
poetry run python your_script.py
to run Python scripts - Use
poetry run pytest
to run tests - Use
poetry run mkdocs serve
to preview documentation - Use
poetry run mkdocs build
to build documentation
Please make sure to run the pre-commit hooks before committing your changes.