Skip to content

skyday123/pytorch-lamb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of LAMB optimizer in pytorch

I implement the v5 version(2020 ICLR). Paper: https://arxiv.org/abs/1904.00962v5

Install

git clone https://github.com/skyday123/pytorch-lamb
cd pytorch-lamb
pip install -e .

Usage

from pytorch_lamb import Lamb
optimizer = Lamb(model.parameters(), lr=1e-3, weight_decay=1e-5)

Reference offically implementation in Tensorflow

https://github.com/tensorflow/addons/blob/master/tensorflow_addons/optimizers/lamb.py

About

Implementation of LAMB optimizer in pytorch (2020 ICLR)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages