You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for open-sourcing the foundational models. I'm working on molecular solutions, such as ethylene carbonate. I use CP2K to perform single-point DFT calculations (DFT-labeling) due to its faster performance compared to VASP. But CP2K uses atomic units (Ha for energies and Ha/Bohr for forces), whereas OMAT uses eV and eV/Angstrom for total energies and forces. Can I use the foundational models trained on the OMAT_0 database and fine-tune them by adding structures from my CP2K training dataset (by converting Ha to eV and Ha/Bohr to eV/Angstrom)?
(Because my understanding is that total energy comparison of the same structure across DFT codes won't give any meaning, but the forces on atoms should be similar across different DFT codes on the same level of theory. In other words, the potential energy surfaces' shape (gradients) should be the same across DFT. If this is correct, then finetuning only needs to learn the total energies, which I believe to converge quickly.)
The idea is to leverage the chemistry learned by a foundational model and fine-tune it with a faster DFT sampling for quicker convergence in active learning.
Any advice or pointers would be greatly appreciated. Thank you for your time!
(1) you can convert all your energies, forces and stresses to eV and Angstrom units.
(2) even though absolute energies are not comparable, remember that we use ATOMIZATION energies, and therefore you need to provide the ISOLATED ATOM ENERGY corresponding to your fine-tuning dataset.
(3) beware of training ML models on CP2K data. we have never had good success with that, because CP2K forces have pretty large errors on them due to the numerical approach of cp2k. these errors don't affect time-integrated ensemble averages because they largely cancel out, but they do mislead you when training and validating. to get a sense of your errors, add up the forces from CP2K in a periodic cell. you should get zero, but you won't. the typical strategy is to do MD with CP2K, sample independent configs, and recompute them with a plane wave code with very high energy cutoff and k-point sampling.
Activity
gabor1 commentedon Oct 24, 2025
(1) you can convert all your energies, forces and stresses to eV and Angstrom units.
(2) even though absolute energies are not comparable, remember that we use ATOMIZATION energies, and therefore you need to provide the ISOLATED ATOM ENERGY corresponding to your fine-tuning dataset.
(3) beware of training ML models on CP2K data. we have never had good success with that, because CP2K forces have pretty large errors on them due to the numerical approach of cp2k. these errors don't affect time-integrated ensemble averages because they largely cancel out, but they do mislead you when training and validating. to get a sense of your errors, add up the forces from CP2K in a periodic cell. you should get zero, but you won't. the typical strategy is to do MD with CP2K, sample independent configs, and recompute them with a plane wave code with very high energy cutoff and k-point sampling.