Skip to main content

CPU Test Inference Smoke Test Python 3.10 License: MIT Last commit

ALMO EDA

This repository contains a PyTorch-based neural network designed to predict electron delocalization energies of water molecules. By leveraging chemical descriptors (SOAP) as inputs, the model bypasses computationally expensive DFT calculations to provide rapid estimates of delocalization energies.

📂 Project Structure

.
├── README.md
├── requirements.txt
├── requirements-dev.txt
├── .gitignore
├── LICENSE
├── pyproject.toml
│
├── configs
│   ├── mof_config.yaml
│   ├── inference_config.yaml
│   └── train_config.yaml
├── data
│   └── soap_descriptor.py
├── models
│   └── best_model_donor.pt
├── examples
│   ├── run_mof.py
│   ├── run_inference.py
│   ├── run_optuna.py
│   └── run_training.py
├── tests
│   ├── test_dataset.py
│   ├── test_loss.py 
│   ├── test_network.py
│   └── test_training_smoke.py 
└── almo_eda
    ├── __init__.py
    ├── data_loader.py
    ├── logger.py
    ├── network.py
    ├── utils.py
    ├── visualization.py
    ├── optimization.py
    └── trainer.py

Installation

git clone https://github.com/htahmasbi/ALMO_EDA.git
python -m pip install -e ".[dev]"

or

python -m pip install -r requirements.txt

Data Description

  • Inputs: Descriptors derived from Cartesian ($XYZ$) coordinates of water molecules, capturing local geometric orientations.
  • Target: Electron Delocalization Energy ($E$), calculated via the ALMO-EDA scheme implemented in CP2K.

Run examples

  1. Place your data in the /data folder.
  2. Modify and run the example scripts: python examples/run_training.py

Citation

If you publish work that uses or mentions this code, please cite the following paper:

@article{Tahmasbi2025,
  title = {Scalable machine learning model for energy decomposition analysis in aqueous systems},
  volume = {163},
  ISSN = {1089-7690},
  url = {http://dx.doi.org/10.1063/5.0303825},
  DOI = {10.1063/5.0303825},
  number = {21},
  journal = {The Journal of Chemical Physics},
  publisher = {AIP Publishing},
  author = {Tahmasbi,  Hossein and Beerbaum,  Michael and Brzoza,  Bartosz and Cangi,  Attila and K\"{u}hne,  Thomas D.},
  year = {2025},
  pages = {214115},
  month = dec 
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

almo_eda-0.2.1.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

almo_eda-0.2.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file almo_eda-0.2.1.tar.gz.

File metadata

  • Download URL: almo_eda-0.2.1.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for almo_eda-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9f720b5171278eee8a295aae551a65d10948126d835375be8761f7f2ba9952ce
MD5 386ca8110dc7cf86bb703905400d406c
BLAKE2b-256 22cc63336bc7c8c3e9ff56174af0716397e54d6dc258d8855c051d22f16cd095

See more details on using hashes here.

Provenance

The following attestation bundles were made for almo_eda-0.2.1.tar.gz:

Publisher: python-publish.yml on htahmasbi/ALMO_EDA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file almo_eda-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: almo_eda-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for almo_eda-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b73d15ef675c315c64cffebb140c002a8c269353109ca940eb4e8cb481f11b66
MD5 8780740c775122719ea3deda31a97298
BLAKE2b-256 ff907cd25171f3f0f85af77bc6fccfa726ebe143dd17d593fd8a8d181d3e610e

See more details on using hashes here.

Provenance

The following attestation bundles were made for almo_eda-0.2.1-py3-none-any.whl:

Publisher: python-publish.yml on htahmasbi/ALMO_EDA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

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