metatensor / metatrain

Training and evaluating machine learning models for atomistic systems.
https://metatensor.github.io/metatrain/
BSD 3-Clause "New" or "Revised" License
18 stars 6 forks source link

A design for more generic targets #364

Open frostedoyster opened 1 month ago

frostedoyster commented 1 month ago

In order to extend the functionality of metatrain, it would be ideal to have infrastructure supporting more generic targets.

In general, a target is defined by its metadata:

The architectures will have to change to either support these targets or error out as needed. Some of the supporting stack and utilities in metatrain will also have to be adapted (losses, LLPR, etc).

Finally, the I/O would have to be adapted to support high-order tensors. Some changes would be required to both the target sections in the input yaml files, as well as some format(s) that would allow storing the tensors (e.g. flattened tensors in ASE/extxyz, TensorMaps, etc)