lm-finetuner: Merger: Dequantize before merging lora adapter; More lora options;

This commit is contained in:
extio-de
2024-12-01 13:03:45 +01:00
parent aa958eeb81
commit ff2385bf50
5 changed files with 21 additions and 5 deletions

View File

@@ -42,6 +42,8 @@ trGroupByLength=true
trPacking=
[Lora]
# Enable qLora (4bit quantized lora)
qLora=true
# As bigger the R the more parameters to train
loraR=32
# A scaling factor that adjusts the magnitude of the weight matrix. It seems that as higher more weight have the new training
@@ -52,6 +54,8 @@ loraDropout=0.05
loraBias=none
# lora task type
loraTaskType=CAUSAL_LM
# layers to train (all linear layers are trainable)
loraLayers=q_proj,k_proj
[Validation]
# enable validation