xnn.hybnn.models.byteff_foundation.from_byteff2#
- xnn.hybnn.models.byteff_foundation.from_byteff2(paths, *, structure=None, dtype=None, charge=0, **options)[source]#
Build an xnn model from released checkpoint files, one per ensemble member.
- Parameters:
paths (str, Path or list of them) – Checkpoint files (
optimal.pt) of networks of the same architecture.structure (optional) – A system to bind (see
bind()).dtype (torch.dtype, optional) – Floating-point dtype of the model.
charge (int, optional) – Total charge for bond perception when binding an
ase.Atoms.**options – Further keyword options of the model class (
supported_elements, …).
- Returns:
The model in evaluation mode.
- Return type: