MCPcopy Create free account
hub / github.com/XiangLi1999/PrefixTuning / __init__

Method __init__

transformers/src/transformers/optimization.py:239–257  ·  view source on GitHub ↗
(
        self,
        params: Iterable[torch.nn.parameter.Parameter],
        lr: float = 1e-3,
        betas: Tuple[float, float] = (0.9, 0.999),
        eps: float = 1e-6,
        weight_decay: float = 0.0,
        correct_bias: bool = True,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected