Views
No views yet
wget or curl to download the model checkpoint directly from the Hugging Face repository.wget https://huggingface.co/lab-cosmo/pet-mad-explorer/resolve/main/pet-mad-explorer-latest.ckpt1import ase.io
2import chemiscope
3from pet_mad.explore import PETMADFeaturizer
4
5featurizer = PETMADFeaturizer(version="latest")
6
7# Load structures
8frames = ase.io.read("dataset.xyz", ":")
9
10# You can just compute features
11features = featurizer(frames, None)
12
13# Or create an interactive visualization in a Jupyter notebook
14chemiscope.explore(
15 frames,
16 featurize=featurizer
17)