Question about finetuning on OAM model with MPRelaxSet settings #569
Replies: 3 comments 5 replies
-
|
Hi @Asif-Iqbal-Bhatti , This looks like something seriously wrong. My initial thoughts are that it could be related to the scales choice (I suggest trying without setting |
Beta Was this translation helpful? Give feedback.
-
|
Hi @kavanase, Thank you for your prompt reply. Regarding fine-tuning, I found the information in the fine-tuning section of the website; however, I could not find the YAML file for fine-tuning, so I assume it is similar to starting from scratch. Here is the training loss plot. I created the plot using the script provided in the tutorial. I did with and without, and still I face this offset. I see NequIP is trained on OMAT24 and then fine-tuned on MPtraj, and I have done my calculation using MPRelaxSet for the PBE-level theory. I assume my reference energy aligns well with the OAM model. I checked my reference energies using MACE code, and they are in agreement. Could you tell me what factors I should change? Could you provide me the tutorial on fine-tuning with all the hyperparameters if we want to fine-tune on MPRelaxSet PBE data? Regards, |
Beta Was this translation helpful? Give feedback.
-
|
I'll make a new release soon, but there are safety issues with the chemical species when fine-tuning. For example, in v0.15.0 (current stable release), it is wrong to use when fine-tuning the foundation potential -- the chemical symbols should correspond to the exact set of chemical symbols used in the foundation potential, otherwise it's being mapped to the wrong indices and you might not benefit from the pretraining. Two solutions for now:
git clone https://github.com/mir-group/nequip.git
cd nequip
git checkout develop
pip install -e .There are some breaking API changes related to the chemical symbols for safety reasons (like the one above). Note specifically here: Line 66 in 398a232 You can use these |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am new in the ML field, and I want to fine-tune rather than train from scratch for my system. I followed the recipe as stated on the NequI webpage. I am fine-tuning the NequIP-OAM model with my own data that is generated with the MP MPRelaxSet standard using PBE functional. I compare the reference energy, and they are compatible with MP reference energies to within 0.001 eV/atom. Now when I'm fine on NequIP, my energy and stress are offset. Below are the details.
Could you tell me when fine-tuning on MP, what should I take care of? I can think there is a mismatch of reference energies with the OAM model and MP, but NequiP is fine-tuned on MPTraj. What settings need to be changed? Thank you for your inputs or anything I need to to know before doing trail and error analysis.
here is my config file
Beta Was this translation helpful? Give feedback.
All reactions