Download src/hamiltonzero/optim/__init__.py from simulacra-research/HamiltonZero: direct link, hf CLI and curl.
- Browser
- Download file 614 Bytes
-
https://huggingface.co/simulacra-research/HamiltonZero/resolve/main/src/hamiltonzero/optim/__init__.py
- Command line
-
hf download hf://simulacra-research/HamiltonZero/src/hamiltonzero/optim/__init__.py
-
curl -L -o __init__.py https://huggingface.co/simulacra-research/HamiltonZero/resolve/main/src/hamiltonzero/optim/__init__.py
614 Bytes
| # Copyright (c) 2026 Simulacra Research Inc. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from .api import ( | |
| KFACBundle, | |
| apply_finetune_kfac_step, | |
| apply_router_kfac_step, | |
| init_finetune_kfac_state, | |
| init_router_kfac_state, | |
| learning_rate, | |
| process_finetune_targets, | |
| process_route_targets, | |
| register_scale_and_shift, | |
| ) | |
| __all__ = [ | |
| "KFACBundle", | |
| "apply_finetune_kfac_step", | |
| "apply_router_kfac_step", | |
| "init_finetune_kfac_state", | |
| "init_router_kfac_state", | |
| "learning_rate", | |
| "process_finetune_targets", | |
| "process_route_targets", | |
| "register_scale_and_shift", | |
| ] | |