deepmodeling / deepmodeling/deepmd-kit

[Feature Request] Early stopping

Open
#2,788 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
2k
Forks
649
Avg merge
6d 18h
Merged PRs (30d)
15

Description

### Summary

Adding early stopping callback and add it as an additional training parameter for training

### Detailed Description

As of now one need to train a model until `numb_steps` is reached. It could be convenient to have a option to enable early stopping (with a tunable patience parameter) in order to accelerate the model training. It's especially useful if one wants to perform hyperparameters search.

### Further Information, Files, and Links

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.