add missing default parameters for adam optimizer

This commit is contained in:
xaedes 2023-05-21 15:03:51 +02:00
parent 57c2f4f909
commit 1eee9255e7
No known key found for this signature in database
GPG key ID: 30030EDD817EA2B1

2
ggml.c
View file

@ -15117,6 +15117,8 @@ struct ggml_opt_params ggml_opt_default_params(enum ggml_opt_type type) {
.adam = {
.n_iter = 10000,
.sched = 1.000f,
.decay = 0.001f,
.alpha = 0.001f,
.beta1 = 0.9f,
.beta2 = 0.999f,