NeuralILBackendSpec¶
- class jaxrens.cli.schema.backend.NeuralILBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, type='neuralil', checkpoint_path, supercell_trafo=(1, 1, 1), softcore=None, softcore_kwargs=None)[source]¶
Bases:
BaseBackendSpecNeuralIL machine-learned potential loaded from a pickle.
supercell_trafomust be large enough that the cell spans twice the model’sr_cut(read from the pickle); raise it for tight unit cells.backend: type: neuralil checkpoint_path: models/neuralil_si.pkl periodic: true supercell_trafo: [2, 2, 2] softcore: true
- Parameters:
periodic (bool)
softcore_repulsion (SoftCoreSpec | None)
type (Literal['neuralil'])
checkpoint_path (str)
softcore (bool | None)
- build_backend()[source]¶
Construct and return the
EnergyBackendinstance.Subclasses override to pass their specific constructor kwargs.
- Return type:
- model_config = {'extra': 'forbid', 'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].