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: BaseBackendSpec

NeuralIL machine-learned potential loaded from a pickle.

supercell_trafo must be large enough that the cell spans twice the model’s r_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:
build_backend()[source]

Construct and return the EnergyBackend instance.

Subclasses override to pass their specific constructor kwargs.

Return type:

EnergyBackend

model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].