AntonioMirarchi commited on
Commit
72d487f
·
verified ·
1 Parent(s): 8969580

Publish AMARO2 model card; checkpoints on the way

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ assets/social-preview-fig-amaro2.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - compsciencelab/mdCATH
4
+ tags:
5
+ - neural-network-potential
6
+ - coarse-grained
7
+ - molecular-dynamics
8
+ - computational-biophysics
9
+ - force-field
10
+ - tensornet
11
+ - arxiv:2610.37606
12
+ ---
13
+ # AMARO v2.0
14
+
15
+ ![AMARO protein–ligand illustration with molecular graph nodes and feature vectors](assets/social-preview-fig-amaro2.webp)
16
+
17
+ > **Checkpoints on the way — the weights are still packing their bags.** 🧳
18
+ > The paper and code are ready to explore; the three checkpoint files will land here soon.
19
+
20
+ This repository, [compsciencelab/AMARO2](https://huggingface.co/compsciencelab/AMARO2),
21
+ will host all three AMARO v2 neural network potential checkpoints. Once available,
22
+ use `amaro_v2.ckpt` for the final model. The original AMARO v1 release is hosted
23
+ separately at [compsciencelab/AMARO](https://huggingface.co/compsciencelab/AMARO).
24
+
25
+ AMARO v2 is a coarse-grained potential that retains heavy atoms and treats
26
+ solvent implicitly. Hydrogen-aware bead types and total-charge conditioning
27
+ provide a shared representation for proteins, drug-like molecules, and their
28
+ complexes. The model and training procedure are described in the preprint
29
+ [*A unified coarse-grained neural network potential for the dynamics of
30
+ biomolecular complexes*](https://arxiv.org/pdf/2610.37606v1)
31
+ by Antonio Mirarchi, Stephen E. Farr, Adria Perez,
32
+ and Gianni De Fabritiis.
33
+
34
+ **Code and installation:** [compsciencelab/amaro](https://github.com/compsciencelab/amaro).
35
+ See the [system preparation guide](https://github.com/compsciencelab/amaro/tree/main/system-prepare)
36
+ and [OpenMM simulation guide](https://github.com/compsciencelab/amaro/tree/main/openmm-pythonforce)
37
+ for preparing inputs and running the model.
38
+
39
+ ## Planned checkpoint release
40
+
41
+ The checkpoint files and `v2.0` release tag are not available yet.
42
+
43
+ | Revision | Checkpoints | Representation |
44
+ | --- | --- | --- |
45
+ | `v2.0` | `amaro_v2_sm.ckpt`, `amaro_v2_p.ckpt`, `amaro_v2.ckpt` | Extended no-hydrogen (NOH) solute mapping |
46
+
47
+ Once the checkpoints are published, use a release tag or full commit SHA for
48
+ reproducible downloads. `main` follows the latest model card and can change
49
+ between releases.
50
+
51
+ ## AMARO v2 training stages
52
+
53
+ The three planned files are checkpoints from successive stages of the same training
54
+ sequence. Each stage continues training from the preceding stage:
55
+
56
+ | Stage | Checkpoint | Training data used at this stage | Role |
57
+ | --- | --- | --- | --- |
58
+ | 1: small molecules | `amaro_v2_sm.ckpt` | In-house AceFF small-molecule dataset with quantum-mechanical force labels | AMARO v2.0 (SM) in the preprint |
59
+ | 2: proteins | `amaro_v2_p.ckpt` | Protein conformations from mdCATH, with molecular-mechanics force labels | Intermediate checkpoint after protein training |
60
+ | 3: protein–ligand complexes | `amaro_v2.ckpt` | Acellera HoloSet protein–ligand conformations, with molecular-mechanics force labels | Final AMARO v2.0 model in the preprint |
61
+
62
+ Use `amaro_v2.ckpt` to reproduce the final model evaluated for biomolecular
63
+ complex dynamics. Use `amaro_v2_sm.ckpt` for the preprint's small-molecule-stage
64
+ comparisons, and `amaro_v2_p.ckpt` for comparisons with the intermediate protein
65
+ stage. The final model does not uniformly improve every property: the preprint
66
+ reports lower small-molecule force errors and closer local-geometry distributions
67
+ for the SM checkpoint, while the final model is more robust at the tested MD
68
+ time steps. No separate validation claim is made here for the protein checkpoint.
69
+
70
+ ### Inputs and outputs
71
+
72
+ AMARO v2 uses NOH species IDs, which encode retained elements and, where
73
+ applicable, the number of hydrogens mapped to each heavy atom. The preprint
74
+ describes 26 solute bead types across 18 elements: the original 12 protein types
75
+ plus B, F, Si, P, Cl, Br, I, Na, K, Ca, Mg, Co, Cu, and Zn.
76
+ Solvent and counterions are omitted from the training representation.
77
+
78
+ Use the exact species IDs and bead ordering from the v2 preparation utilities.
79
+ Do not replace species IDs with ordinary atomic numbers. The original v1
80
+ 12-type mapping does not cover the full v2 solute representation. For proteins
81
+ and complexes, the preprint assigns protonation states and total charge at
82
+ pH 7.45; the supplied charge must match the prepared system.
83
+
84
+ The inference interface takes species IDs, Cartesian positions, and molecular
85
+ charge, with optional batch assignments and periodic box vectors where supported
86
+ by the runner. The model predicts an effective potential; forces are its negative
87
+ position gradient. Use the AMARO v2 TorchMD-Net source and system preparation
88
+ utilities from the accompanying code release. The dataset classes used during
89
+ training are not required for inference.
90
+
91
+ Use positions in angstroms, effective potential values in kcal/mol, and forces
92
+ in kcal/mol/angstrom, consistent with the preprint's training objective and cutoff
93
+ and the OpenMM PythonForce runner. Force-only training does not calibrate an
94
+ absolute energy reference. The Scalar output head does not use Coulomb cutoff
95
+ or reaction-field options.
96
+
97
+ ## Download (coming soon)
98
+
99
+ The commands below will work after the checkpoints and `v2.0` tag are published.
100
+ Install the Hub client with `python -m pip install huggingface_hub`, then download
101
+ one checkpoint into the code repository's `ckpts/` directory:
102
+
103
+ ```python
104
+ from huggingface_hub import hf_hub_download
105
+
106
+ checkpoint = hf_hub_download(
107
+ repo_id="compsciencelab/AMARO2",
108
+ filename="amaro_v2.ckpt",
109
+ revision="v2.0",
110
+ local_dir="ckpts",
111
+ )
112
+ ```
113
+
114
+ Select another v2 variant by changing `filename`. For now, `SHA256SUMS` covers
115
+ this model card and its figure. The checkpoint release will also include
116
+ checksums for the three checkpoint files at the same revision.
117
+
118
+ To download all three training stages:
119
+
120
+ ```bash
121
+ hf download compsciencelab/AMARO2 \
122
+ amaro_v2_sm.ckpt amaro_v2_p.ckpt amaro_v2.ckpt \
123
+ --revision v2.0 --local-dir ckpts
124
+ ```
125
+
126
+ ## License
127
+
128
+ AMARO v2 checkpoint licensing is pending author confirmation. The preprint
129
+ does not specify a checkpoint license. Licensing of the original v1 release
130
+ does not establish licensing for these v2 checkpoints.
131
+
132
+ ## Citation
133
+
134
+ For AMARO v2, cite the
135
+ [preprint (arXiv:2610.37606v1)](https://arxiv.org/pdf/2610.37606v1):
136
+
137
+ ```bibtex
138
+ @unpublished{mirarchi2026amarov2,
139
+ title = {A unified coarse-grained neural network potential for the dynamics of biomolecular complexes},
140
+ author = {Mirarchi, Antonio and Farr, Stephen E. and Perez, Adria and De Fabritiis, Gianni},
141
+ year = {2026},
142
+ eprint = {2610.37606},
143
+ archivePrefix = {arXiv},
144
+ primaryClass = {q-bio.BM},
145
+ url = {https://arxiv.org/pdf/2610.37606v1},
146
+ note = {Version 1}
147
+ }
148
+ ```
SHA256SUMS ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ cffa64c268873c1994abfa5c9609a6e3a7d3ad5977fe266a4255da03183bd754 README.md
2
+ 1851f74f78f57a5e644036278c9f75e8509238edabb53a5e280c9f0e8c70f7a5 assets/social-preview-fig-amaro2.webp
assets/social-preview-fig-amaro2.webp ADDED

Git LFS Details

  • SHA256: 1851f74f78f57a5e644036278c9f75e8509238edabb53a5e280c9f0e8c70f7a5
  • Pointer size: 131 Bytes
  • Size of remote file: 614 kB