Fine tune with additional elements #68
Replies: 1 comment 3 replies
-
Try below and restart from scratch. (The silica training you mentioned) model:
chemical_species: 'Si, H, O' With the The error you encountered is therefore, 1) model is initialized with Si, O as dataset has only Si and O. 2) The trained model can not inference or fine-tuned for water + silica, as it doesn't know what 'H' is. In current state, where universal GNN models are popular and there is no performance drop caused by introducing extra elements, this behavior of SevenNet should be changed. Sorry for the inconvenience.
|
Beta Was this translation helpful? Give feedback.
-
I have a Seven Net model that I trained for silica structure AIMDs. Using this model, I tried to fine tune a new model using a new training set that contains water and silica interaction AIMDs. Target is to check if I can fine-tune train a model for bulk and surface-water interaction.
Then I see
ValueError: Chemical species in checkpoint is not compatible
And the last line of log.sevenn is
Ignore chemical species in yaml, use checkpoint
It looks like the issue is that the new training set for the fine-tune training contains H atoms which were not included in prior training set. Any way to resolve this situation? I didn't see any options regarding elements (or chemical species) in the input file example...
Following is the script that I used for the fine tuning. The input file contains the same hyperparameters with input file of from-scratch training of silica model.
Beta Was this translation helpful? Give feedback.
All reactions