(
n, p)
| 21 | |
| 22 | def build_optimizer(args, model): |
| 23 | def exclude( |
| 24 | n, p): return p.ndim < 2 or "bn" in n or "ln" in n or "bias" in n or 'logit_scale' in n |
| 25 | |
| 26 | def include(n, p): return not exclude(n, p) |
| 27 |
no outgoing calls
no test coverage detected