You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or you can use it to run MD simulations. The script, an example input xyz file and a Colab notebook demonstration are available in the [examples directory.](./examples) This should work with any input, simply modify the input_file and cell_size parameters. We recommend using constant volume simulations.
160
160
161
161
162
+
#### Confidence head (Orb-v3 Models Only)
163
+
164
+
Orb-v3 models have a confidence head which produces a per-atom discrete confidence measure based on a classifier head which learns to predict the binned MAE between predicted and true forces during training. This classifier head has 50 bins, linearly spaced between 0 and 0.4A.
165
+
166
+
167
+
```python
168
+
import ase
169
+
from ase.build import molecule
170
+
from seaborn import heatmap # optional, for visualization only
171
+
import matplotlib.pyplot as plt # optional, for visualization only
172
+
import numpy
173
+
174
+
from orb_models.forcefield import pretrained
175
+
from orb_models.forcefield.calculator import ORBCalculator
176
+
177
+
device="cpu"# or device="cuda"
178
+
# or choose another model using ORB_PRETRAINED_MODELS[model_name]()
179
+
orbff = pretrained.orb_v3_conservative_inf_omat(
180
+
device=device,
181
+
)
182
+
calc = ORBCalculator(orbff, device=device)
183
+
# Use a molecule (OOD for Orb, so confidence plot is
0 commit comments