Upload finetuning_config.yaml with huggingface_hub
Browse files- finetuning_config.yaml +51 -0
finetuning_config.yaml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
alpha: 0.2
|
2 |
+
base_model: meta-llama/Llama-3.2-1B-Instruct
|
3 |
+
custom_name: d4-a0.2-v4
|
4 |
+
dtype: bfloat16
|
5 |
+
lambdas:
|
6 |
+
- 1.0
|
7 |
+
- 1.0
|
8 |
+
- 1.0
|
9 |
+
lora_config: null
|
10 |
+
loss_types:
|
11 |
+
- anti-watermark
|
12 |
+
- anti-watermark
|
13 |
+
meta_learning: false
|
14 |
+
meta_learning_config: null
|
15 |
+
n_wm_tokens: 0
|
16 |
+
proportions:
|
17 |
+
- 0.5
|
18 |
+
- 0.2
|
19 |
+
- 0.3
|
20 |
+
regularization_datasets:
|
21 |
+
- !!python/object/apply:finetuning.dataset.DatasetType
|
22 |
+
- AlpacaGPT4
|
23 |
+
- !!python/object/apply:finetuning.dataset.DatasetType
|
24 |
+
- WO_NoHealth
|
25 |
+
sequence_length: 512
|
26 |
+
streaming: true
|
27 |
+
training_args:
|
28 |
+
bf16: false
|
29 |
+
do_train: true
|
30 |
+
fp16: false
|
31 |
+
gradient_accumulation_steps: 16
|
32 |
+
gradient_checkpointing: false
|
33 |
+
hub_strategy: all_checkpoints
|
34 |
+
learning_rate: 2.0e-05
|
35 |
+
logging_steps: 10
|
36 |
+
lr_scheduler_type: cosine
|
37 |
+
max_steps: 2500
|
38 |
+
num_train_epochs: 1
|
39 |
+
optim: adafactor
|
40 |
+
output_dir: Grogros/dmWM-llama-3.2-1B-Instruct-WOHealth-Al4-NH-WO-d4-a0.2-v4
|
41 |
+
overwrite_output_dir: true
|
42 |
+
per_device_train_batch_size: 4
|
43 |
+
push_to_hub: true
|
44 |
+
report_to: none
|
45 |
+
save_steps: 500
|
46 |
+
save_strategy: steps
|
47 |
+
warmup_ratio: 0.1
|
48 |
+
watermark_datasets:
|
49 |
+
- !!python/object/apply:finetuning.dataset.DatasetType
|
50 |
+
- WOHealth
|
51 |
+
watermark_eval_config: []
|