thanhdath commited on
Commit
0f993f1
·
verified ·
1 Parent(s): 83af2c5

recipes: add orpo-val-sel-indep-paper.yaml

Browse files
recipes/iter1-paper/orpo-val-sel-indep-paper.yaml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_name_or_path: /weka/s225250685/mats-tist/alignment-handbook/output/sft-validator-sel-llama1b-paper-v1
2
+ torch_dtype: bfloat16
3
+ use_flash_attention_2: false
4
+ dataset_mixer:
5
+ /weka/s225250685/mats-tist/data/hf_orpo_val_sel_paper_iter1_indep: 1.0
6
+ dataset_splits:
7
+ - train_dpo
8
+ - test_dpo
9
+ preprocessing_num_workers: 12
10
+ chat_template: "{{'<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n' + messages['prompt'] + '<|eot_id|>'}}{{'<|start_header_id|>assistant<|end_header_id|>\n\n' + messages['completion'] + '<|eot_id|>'}}"
11
+ report_to: ["tensorboard"]
12
+ bf16: true
13
+ beta: 0.1
14
+ do_eval: true
15
+ eval_strategy: "steps"
16
+ eval_steps: 100
17
+ gradient_accumulation_steps: 8
18
+ gradient_checkpointing: true
19
+ gradient_checkpointing_kwargs:
20
+ use_reentrant: False
21
+ learning_rate: 1.0e-6
22
+ log_level: info
23
+ logging_steps: 10
24
+ lr_scheduler_type: inverse_sqrt
25
+ max_length: 3000
26
+ max_prompt_length: 2700
27
+ num_train_epochs: -1
28
+ max_steps: 200
29
+ optim: adamw_torch
30
+ output_dir: /weka/s225250685/mats-tist/alignment-handbook/output/orpo-val-sel-indep-paper
31
+ overwrite_output_dir: true
32
+ per_device_train_batch_size: 1
33
+ per_device_eval_batch_size: 1
34
+ push_to_hub: false
35
+ remove_unused_columns: false
36
+ save_strategy: "steps"
37
+ save_steps: 400
38
+ save_total_limit: 1
39
+ seed: 42
40
+ warmup_ratio: 0.1
41
+ warmup_steps: 50
42
+ max_grad_norm: 0.1