class_docstr: Implements Lamb algorithm.
  THIS WAS DIRECTLY COPIED OVER FROM pytorch/contrib:
  https://github.com/cybertronai/pytorch-lamb
  It has been proposed in `Large Batch Optimization for Deep Learning: Training BERT in 76 minutes`.
  https://arxiv.org/abs/1904.00962
  
  Has the option for minimum trust LAMB as described in "Single Headed
  Attention RNN: Stop Thinking With Your Head" section 6.3
  https://arxiv.org/abs/1911.11423
code: def from_config(cls, config: Config, model: torch.nn.Module):
      return cls(
          model.parameters(),
          lr=config.lr,
          weight_decay=config.weight_decay,
          eps=config.eps,
          min_trust=config.min_trust,
      )
  
file_path: pytext/pytext/optimizer/lamb.py
imports: from typing import Optional
  import torch
  from pytext.optimizer.optimizers import Optimizer
  from torch.optim import Optimizer
label_desc: Use image node_id 1 for calling the Lamb obj's underlying member method code with example usage: obj.from_config(cls, config, model) and returns: cls