--- license: cc-by-4.0 library_name: pytorch tags: - chemistry - interatomic-potential - machine-learning-force-field - molecular-dynamics - atomistic-simulation - spectroscopy - dft --- # Mena-LAM-s **Compact (`8.67M` params / `34.8 MB`) O(3)-equivariant multi-LoT potential for molecules, biomolecules, and molecular crystals**, running in strict IEEE FP32 at up to **`464,000 atoms/s`** (RTX PRO 6000) and **`29,800 atoms/s`** on an 8,192-atom protein on an Apple M3 Max laptop (`22 s` for full Hessian + IR of a 212-atom peptide helix). Default molecular 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 | |---|---| | OMol25 held-out | Energy **`1.64 kcal/mol`**, forces **`0.34 kcal/mol/Å`** | | PLF547 protein–ligand interaction (vs. CCSD(T)) | **`0.297 kcal/mol`** (**#1** among published models on ML-PEG) | | TorsionNet500 | **`0.205 kcal/mol`** (`12,000` points in `10.8 s` on M3 Max) | | X23 molecular crystals (3D periodic SPME) | **`1.40 kcal/mol`**, **`2.67%`** Vol MAPE | | Molecular dipole (ωB97M-V/def2-TZVPD) | **`r = 0.9997`**, MAE `0.009 e·Å` | | Born effective charges / IR band carriers (QVib) | **`r = 0.9993`**, MAE `0.0106 e` | | Polarizability (zero-label field response) | `α_iso` **`r = 0.996`** (~`1 ų` offset) — enables **IR & Raman spectra** | ## 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 # local Web UI (auto-downloads weights) mena vib aspirin.xyz # harmonic frequencies, ZPE, IR & Raman spectra mena conformers "smiles:CC(C)Cc1ccc(cc1)[C@@H](C)C(=O)O" --solvent water # 3D conformer search + Boltzmann weights mena extopt setup --model lam5-v1 # bridge ORCA ! GOAT ExtOpt / ! Opt ExtOpt ``` Python / ASE API: ```python from mena_app import calculator, conformers, singlepoint res = singlepoint("caffeine") ens = conformers("smiles:CCCC", solvent="gas") atoms.calc = calculator("lam5-v1", lot="auto") # or "omol_wb97mv", "mp_pbe", "matpes_r2scan", "oc20_rpbe", "oc22_pbeU" ``` Direct download from Hugging Face Hub (includes `config.json` metadata + `mena-lam5-v1.pt`): ```python from huggingface_hub import hf_hub_download config_path = hf_hub_download("iatecoding/Mena-LAM-s", "config.json") weights_path = hf_hub_download("iatecoding/Mena-LAM-s", "mena-lam5-v1.pt") ``` Also see [Mena-LAM-6](https://huggingface.co/iatecoding/Mena-LAM-6) (default for periodic crystals, catalysis, and HOMO–LUMO gap / radical / Pauli interpretation heads). ## Training Data OMol25, MPtrj, sAlex, OMat24, MatPES (PBE / r²SCAN), OC20, OC22. 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