tinker_cookbook.hyperparam_utils
Generated from tinker-cookbook at commit 8bf7dd6. Source links point at that snapshot.
| Function | Description |
|---|---|
get_lora_lr_multiplier() |
Return the model's AdamW LoRA LR multiplier, relative to the reference model. |
transfer_lr() |
Translate an AdamW LoRA learning rate tuned on one model to another model. |
get_lr() |
Return an AdamW LoRA SFT sweep starting point, not a tuned optimum. |
get_lora_param_count() |
Get the number of parameters in the LoRA adapter. |