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

Use scientific notation for the loss #199

Closed
wants to merge 143 commits into from

Conversation

frostedoyster
Copy link
Collaborator

@frostedoyster frostedoyster commented May 23, 2024

The loss numbers can be very large (or very small), depending on what loss one uses, the normalization, etc.
This PR prints them in scientific notation


📚 Documentation preview 📚: https://metatensor-models--199.org.readthedocs.build/en/199/

frostedoyster and others added 30 commits November 20, 2023 15:51
* Rename package to `metatensor-models`

* Rename module to `metatensor.models`
* Write train output to hydra's output directory

* Added evaluation function

* Add usage example for cli interface

* update train cli

* Disable MacOS tests

* Add cli skeleton for exporter

---------

Co-authored-by: frostedoyster <[email protected]>
* Add gradient calculator
* Temporary losses
* Forces and stresses
* Support multiple model outputs in SOAP-BPNN
frostedoyster and others added 20 commits April 4, 2024 18:00
* username update

* update in other places
Single letter spelling error.
* Make it clear upon logging that errors are always virial errors (and not stress)
* Weight energies and virials by default, with an option to turn it off
* Add (per atom) in logs if quantities are returned per-atom
* Reduce code repetition
…n modules (#55)

---------

Co-authored-by: frostedoyster <[email protected]>
Co-authored-by: Filippo Bigi <[email protected]>
Co-authored-by: Filippo Bigi <[email protected]>
---------

Co-authored-by: Philip Loche <[email protected]>
Copy link
Contributor

@PicoCentauri PicoCentauri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function has no tests at all. Might be a good time to add some :-)

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

Successfully merging this pull request may close these issues.

10 participants