You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To define optimizer parameters, the --optimizer argument takes dictionnary. I had the same problem, you can use for instance -- optimizer '{'class_path': 'torch.optim.AdamW', 'init_args': {'lr': 0.001, 'weight_decay': 1e-05, 'betas': [0.9, 0.999]}} '
I tried to set it by
litgpt pretrain --config pythia14m.yaml --optimizer.class_path torch.optim.AdamW --optimizer.init_args.lr 1e-5
but not working
The text was updated successfully, but these errors were encountered: