Skip to content

Commit

Permalink
docs(config.qmd): add loraplus example (#1577)
Browse files Browse the repository at this point in the history
* Update qwen2-moe-lora.yaml

* feat(project): update
  • Loading branch information
tpoisonooo authored May 6, 2024
1 parent 7018576 commit 1ac8998
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/config.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@ lora_modules_to_save:

lora_fan_in_fan_out: false

# LoRA+ hyperparameters
# For more details about the following options, see:
# https://arxiv.org/abs/2402.12354 and `src/axolotl/core/train_builder.py`
loraplus_lr_ratio: # loraplus learning rate ratio lr_B / lr_A. Recommended value is 2^4.
loraplus_lr_embedding: # loraplus learning rate for lora embedding layers. Default value is 1e-6.

peft:
# Configuration options for loftq initialization for LoRA
# https://huggingface.co/docs/peft/developer_guides/quantization#loftq-initialization
Expand Down

0 comments on commit 1ac8998

Please sign in to comment.