mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/training
@mlx-bun/training/lora
setLoraScale
Function setLoraScale
setLoraScale
(
lora
:
TrainableLora
,
s
:
number
)
:
void
Set the LoRA scale on every trainable leaf (DPO reference forward uses 0).
Parameters
lora
:
TrainableLora
s
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
mlx-bun library API
Loading...
Set the LoRA scale on every trainable leaf (DPO reference forward uses 0).