Update kto-4b.yml
Browse files- kto-4b.yml +15 -10
kto-4b.yml
CHANGED
|
@@ -18,12 +18,6 @@ rl_beta: 0.2
|
|
| 18 |
kto_desirable_weight: 0.2
|
| 19 |
|
| 20 |
datasets:
|
| 21 |
-
- path: NewEden/Opus-accepted-hermes-rejected-shuffled
|
| 22 |
-
split: train
|
| 23 |
-
type: chatml.argilla
|
| 24 |
-
- path: NewEden/KTO-IF-Dans
|
| 25 |
-
split: train
|
| 26 |
-
type: chatml.argilla
|
| 27 |
- path: NewEden/KTO-IF-Dans
|
| 28 |
split: train
|
| 29 |
type: chatml.argilla
|
|
@@ -48,15 +42,26 @@ gradient_accumulation_steps: 16
|
|
| 48 |
micro_batch_size: 2
|
| 49 |
num_epochs: 1
|
| 50 |
optimizer: paged_adamw_8bit
|
| 51 |
-
lr_scheduler:
|
| 52 |
learning_rate: 1e-6
|
| 53 |
max_grad_norm: 0.001
|
| 54 |
-
|
| 55 |
-
optimizer: paged_adamw_8bit
|
| 56 |
lr_scheduler: cosine
|
| 57 |
-
learning_rate: 1e-5
|
| 58 |
weight_decay: 0.02
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
train_on_inputs: false
|
| 61 |
group_by_length: false
|
| 62 |
bf16: auto
|
|
|
|
| 18 |
kto_desirable_weight: 0.2
|
| 19 |
|
| 20 |
datasets:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- path: NewEden/KTO-IF-Dans
|
| 22 |
split: train
|
| 23 |
type: chatml.argilla
|
|
|
|
| 42 |
micro_batch_size: 2
|
| 43 |
num_epochs: 1
|
| 44 |
optimizer: paged_adamw_8bit
|
|
|
|
| 45 |
learning_rate: 1e-6
|
| 46 |
max_grad_norm: 0.001
|
|
|
|
|
|
|
| 47 |
lr_scheduler: cosine
|
|
|
|
| 48 |
weight_decay: 0.02
|
| 49 |
|
| 50 |
+
|
| 51 |
+
lora_r: 64
|
| 52 |
+
lora_alpha: 32
|
| 53 |
+
lora_dropout: 0.0
|
| 54 |
+
lora_target_linear: true
|
| 55 |
+
lora_fan_in_fan_out:
|
| 56 |
+
lora_target_modules:
|
| 57 |
+
- gate_proj
|
| 58 |
+
- down_proj
|
| 59 |
+
- up_proj
|
| 60 |
+
- q_proj
|
| 61 |
+
- v_proj
|
| 62 |
+
- k_proj
|
| 63 |
+
- o_prog
|
| 64 |
+
|
| 65 |
train_on_inputs: false
|
| 66 |
group_by_length: false
|
| 67 |
bf16: auto
|