# tinker_cookbook.hyperparam_utils.get_lr ### [**tinker_cookbook.hyperparam_utils.get_lr**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/hyperparam_utils.py#L272)(*model_name*, *is_lora*) Get a recommended learning rate for the given model. Applies model-family-specific scaling based on hidden size. Only Llama and Qwen families have calibrated formulas; other models raise NotImplementedError. **Parameters:** - [**model_name**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/hyperparam_utils.py#L272) (*str*) – HuggingFace model identifier. - [**is_lora**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/hyperparam_utils.py#L272) (*bool*) – If True, scale the base LR by the LoRA multiplier (10x). **Returns:** The recommended learning rate.