--- license: cc-by-4.0 library_name: pytorch tags: - chemistry - materials-science - interatomic-potential - machine-learning-force-field - molecular-dynamics - atomistic-simulation - dft --- # Mena-LAM-6 **Compact (`8.48M` params / `34.0 MB`) O(3)-equivariant multi-LoT interatomic potential for crystals, surfaces, catalysis, molecular crystals, and molecules**, trained from scratch on a single GPU in `48.5` GPU-hours and running in strict IEEE FP32 at up to **`555,000 atoms/s`** (RTX PRO 6000) / **`98,600 atoms/s`** (Apple M3 Max laptop). Default periodic materials & surfaces model of [Mena-Lab (`v0.2.0`)](https://github.com/iatecoding/mena-lab), described in the [Mena-LAM preprint on ChemRxiv](https://chemrxiv.org/doi/full/10.26434/chemrxiv.15013103/v1). Mena-Lab is an independent student project developed and trained by Francesco Viola with personal resources and in personal time. ## Key Benchmarks | Benchmark | Result | |---|---| | Matbench Discovery (post-`#418`, [PR #420](https://github.com/janosh/matbench-discovery/pull/420)) | **CPS `0.897`**, F1 `0.909`, κSRME `0.182` (`0/103` imag), RMSD AUC `0.789` ([predictions](https://huggingface.co/datasets/iatecoding/mena-lam-6-matbench-discovery)) | | DynaMat MD (Matbench Discovery) | **`43.6 min`** (17 crystals × 80k NVT steps), **`0.46 GB`** VRAM (**#1 fastest**), CMDS `0.777` | | WBM-257k batched relaxation (GPU FIRE) | **`4 min 38 s`** for all `256,963` crystals on 1× RTX PRO 6000 | | Throughput (32k Si, strict IEEE FP32) | **`555,000 atoms/s`** (RTX PRO 6000, `0.35 GB` VRAM) / **`98,600 atoms/s`** (Apple M3 Max) | | Molecules (OMol25 val) | Energy `2.00 kcal/mol`, forces `0.40 kcal/mol/Å` | ## Physics Interpretation & Energy Decomposition `Mena-LAM-6` decomposes total energies into bonding network, Coulomb, polarization, D3 dispersion, Pauli cloud-overlap repulsion, and spin exchange (`mena sp ... --explain` or the local web app): - **Molecules:** HOMO–LUMO gap (`Reliable trend`), unpaired-electron radical localization (`Qualitative`), Pauli repulsion (`Qualitative`), partial charges (`Qualitative`), and spin exchange. - **Crystals & surfaces:** Energy decomposition and per-atom Pauli overlap map. ## Quickstart (`Mena-Lab v0.2.0`) Requires Python 3.10+ and PyTorch (works on Apple Silicon MPS, NVIDIA CUDA, and CPU). ```bash pip install https://github.com/iatecoding/mena-lab/archive/refs/heads/main.zip mena webapp # launch the local Web UI (auto-downloads weights) mena relax structure.cif --lot matpes_r2scan # geometry & cell optimization (PBE, PBE+U, r²SCAN, RPBE, ...) mena sp benzyl_radical.xyz --spin 2 --model lam6-v1 --explain ``` Python / ASE API: ```python from mena_app import calculator atoms.calc = calculator("lam6-v1", lot="auto") # or "mp_pbe", "matpes_r2scan", "oc20_rpbe", "omc25_pbe", "omol_wb97mv" ``` Direct download from Hugging Face Hub (includes `config.json` metadata + `mena-lam6-v1.pt`): ```python from huggingface_hub import hf_hub_download config_path = hf_hub_download("iatecoding/Mena-LAM-6", "config.json") weights_path = hf_hub_download("iatecoding/Mena-LAM-6", "mena-lam6-v1.pt") ``` Supported levels of theory (`--lot`): `mp_pbe`, `mp_pbeU`, `omat_pbe`, `omat_pbeU`, `matpes_pbe`, `matpes_r2scan`, `oc20_rpbe`, `omc25_pbe`, `omol_wb97mv`, `spice_wb97md3`. Also see [Mena-LAM-s](https://huggingface.co/iatecoding/Mena-LAM-s) (molecular default with lowest OMol25/PLF547 errors, IR/Raman, conformers & ORCA `!ExtOpt`). ## Training Data OMol25, SPICE 2, OMat24, MPtrj, sAlex, OMC25, OC20, MatPES (PBE / r²SCAN). Please cite them when you use the model. ## License and Citation Weights: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), © 2026 Francesco Viola. Code: Apache-2.0. If you use this model, please cite the [Mena-LAM preprint](https://chemrxiv.org/doi/full/10.26434/chemrxiv.15013103/v1) and [Mena-Lab](https://github.com/iatecoding/mena-lab): > F. Viola, *MENA-LAM: Minimal Edge Node Centric Architecture for Fast, Compact, Multi-LoT Atomistic Models*, ChemRxiv (2026), https://chemrxiv.org/doi/full/10.26434/chemrxiv.15013103/v1