Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLFF for Silicon #407

Open
knc6 opened this issue Feb 7, 2024 · 1 comment
Open

MLFF for Silicon #407

knc6 opened this issue Feb 7, 2024 · 1 comment
Labels
question Further information is requested

Comments

@knc6
Copy link

knc6 commented Feb 7, 2024

Training a silicon MLFF with nequip shows reasonable force error but high energy MAEs. A colab notebook is kept here . Any thoughts on what could be going wrong in terms of setting config parameters etc.?

@knc6 knc6 added the question Further information is requested label Feb 7, 2024
@cw-tan
Copy link
Collaborator

cw-tan commented Jun 26, 2024

Hi @knc6,

Thank you for your interest in using NequIP and apologies for the delay! Maybe you've figured it out by now, but it appears that the config file you're using only includes forces in the loss function, i.e.

# loss function
loss_coeffs: forces

You can also include energies in the loss function as follows

# loss function
loss_coeffs:                                                                        
  forces: 1
  total_energy:                                                                    
    - 1
    - PerAtomMSELoss

For example, see this example.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants