Each file is a small, linear example of one MLIP Studio task. There is no command-line interface or configuration framework to learn: open a script, change the atoms or model name, and run it.
Install MLIP Studio from the repository root:
python -m pip install . --no-depsThen run an example:
python examples/single_point.pyAvailable examples:
single_point.py— energy, forces, and stressgeometry_optimization.py— atomic-position optimizationcohesive_energy.py— periodic cohesive energyatomization_energy.py— molecular atomization energyhomo_lumo_gap.py— molecular HOMO-LUMO gapdipole_moment.py— dipole moment and partial chargesspin_determination.py— molecular spin-state scanband_gap_dos.py— material band gap and density of states
The examples use small ASE-built structures so the API call is easy to see. Replace, for example,
atoms = molecule("H2O")with an ASE-readable input file when you are ready:
from ase.io import read
atoms = read("my_structure.xyz")The UMA spin example requires Hugging Face authentication and model access. MACE and PET-MAD-DOS may download model files on their first run. See the main README and Colab notebook for installation and access instructions.