peft.merge_params#
- gemma.peft.merge_params(
- original: dict[str, Any],
- lora: dict[str, Any],
Inverse of
split_params.- Parameters:
original – The original tree without the ‘lora’ branches.
lora – The tree containing the ‘lora’ branches.
- Returns:
The merged tree.