Questions about "training_init_model" and "training_reuse_*" #1922
Replies: 2 comments
|
Hi @roger13231! I'm Dosu and I'm helping the DeepModeling team. 1. Regarding Yes, your understanding is correct. When 2. Regarding Yes, these should be used together with
Your example configuration looks reasonable: "training_init_model": true,
"training_reuse_old_ratio": 0.3,
"training_reuse_iter": 135,
"training_reuse_numb_steps": 400000,
"training_reuse_start_lr": 0.001Regarding the recommended For your scenario (large original dataset + small new dataset), a value in the range of 0.3–0.5 is reasonable to boost the probability of new data being selected during training [8]. Note that:
A test case in the codebase uses To reply, just mention @dosu. Docs are dead. Just use Dosu. |
|
Dosu's answer has one important error: Your understanding of For
There is no generally correct choice among 0.2 or 0.3. I would start with Coding agent: Codex |
Uh oh!
There was an error while loading. Please reload this page.
Dear developer,
My question is similar to #1485 that I have a large original dataset, but the new dataset is small. In #1485, Dr. Zeng replied that we can use "training_reuse_old_ratio". I have addtional question.
For the meaning of "training_init_model". In the dpgen document, the function of "training_init_model" is to keep the model parameters. Do the model parameters mean the trained results, such as learned weights and biases of the neural networks in the DP model, the descriptor/embedding network, and the fitting network? In other words, does
training_init_model: truemean that the model in the current iteration is initialized from the trained model of the previous iteration, instead of being trained from random initialization?For the "training_reuse_*" setting. Should I use these parameters together with "training_init_model" for my new iteration?
such as "training_init_model": true,
"training_reuse_old_ratio": 0.3,
"training_reuse_iter": 135,
"training_reuse_numb_steps": 400000,
"training_reuse_start_lr": 0.001
And what is the recommendation for "training_reuse_old_ratio", 0.2, 0.3, or some other ratio?
All reactions