wooho commited on
Commit
7fe5355
1 Parent(s): 00aa6ed

Upload cfg.yaml

Browse files
Files changed (1) hide show
  1. cfg.yaml +125 -0
cfg.yaml ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ architecture:
2
+ backbone_dtype: float16
3
+ force_embedding_gradients: false
4
+ gradient_checkpointing: true
5
+ intermediate_dropout: 0.0
6
+ pretrained: true
7
+ pretrained_weights: ''
8
+ augmentation:
9
+ random_parent_probability: 0.0
10
+ skip_parent_probability: 0.0
11
+ token_mask_probability: 0.0
12
+ dataset:
13
+ add_eos_token_to_answer: true
14
+ add_eos_token_to_prompt: true
15
+ add_eos_token_to_system: true
16
+ answer_column: Instruction
17
+ chatbot_author: H2O.ai
18
+ chatbot_name: h2oGPT
19
+ data_sample: 1.0
20
+ data_sample_choice:
21
+ - Train
22
+ - Validation
23
+ limit_chained_samples: false
24
+ mask_prompt_labels: true
25
+ parent_id_column: None
26
+ personalize: false
27
+ prompt_column:
28
+ - "Output\r"
29
+ system_column: None
30
+ text_answer_separator: <|answer|>
31
+ text_prompt_start: <|prompt|>
32
+ text_system_start: <|system|>
33
+ train_dataframe: /home/wooho/data/user/output_pd_2end.1/output_pd_2end.csv
34
+ validation_dataframe: /home/wooho/data/user/output_pd_2end.1/output_pd_2end.csv
35
+ validation_size: 0.01
36
+ validation_strategy: custom
37
+ environment:
38
+ compile_model: false
39
+ find_unused_parameters: false
40
+ gpus:
41
+ - '0'
42
+ - '1'
43
+ - '2'
44
+ - '3'
45
+ - '4'
46
+ - '5'
47
+ - '6'
48
+ - '7'
49
+ huggingface_branch: main
50
+ mixed_precision: true
51
+ number_of_workers: 8
52
+ seed: -1
53
+ trust_remote_code: true
54
+ use_fsdp: false
55
+ experiment_name: fancy-bullfrog
56
+ hf:
57
+ account_name: ''
58
+ model_name: ''
59
+ llm_backbone: openlm-research/open_llama_3b
60
+ logging:
61
+ logger: None
62
+ neptune_project: ''
63
+ number_of_texts: 10
64
+ output_directory: /home/wooho/output/user/fancy-bullfrog/
65
+ prediction:
66
+ batch_size_inference: 0
67
+ do_sample: false
68
+ max_length_inference: 256
69
+ metric: BLEU
70
+ metric_gpt_model: gpt-3.5-turbo-0301
71
+ min_length_inference: 2
72
+ num_beams: 1
73
+ num_history: 4
74
+ repetition_penalty: 1.2
75
+ stop_tokens: ''
76
+ temperature: 0.3
77
+ top_k: 0
78
+ top_p: 1.0
79
+ problem_type: text_causal_language_modeling
80
+ tokenizer:
81
+ add_prefix_space: false
82
+ add_prompt_answer_tokens: false
83
+ max_length: 512
84
+ max_length_answer: 256
85
+ max_length_prompt: 256
86
+ padding_quantile: 1.0
87
+ use_fast: true
88
+ training:
89
+ adaptive_kl_control: true
90
+ advantages_gamma: 0.99
91
+ advantages_lambda: 0.95
92
+ batch_size: 2
93
+ differential_learning_rate: 1.0e-05
94
+ differential_learning_rate_layers: []
95
+ drop_last_batch: true
96
+ epochs: 5
97
+ evaluate_before_training: false
98
+ evaluation_epochs: 1.0
99
+ grad_accumulation: 1
100
+ gradient_clip: 0.0
101
+ initial_kl_coefficient: 0.2
102
+ kl_horizon: 10000
103
+ kl_target: 6.0
104
+ learning_rate: 0.0001
105
+ lora: true
106
+ lora_alpha: 16
107
+ lora_dropout: 0.05
108
+ lora_r: 4
109
+ lora_target_modules: ''
110
+ loss_function: TokenAveragedCrossEntropy
111
+ offload_reward_model: false
112
+ optimizer: AdamW
113
+ ppo_batch_size: 1
114
+ ppo_clip_policy: 0.2
115
+ ppo_clip_value: 0.2
116
+ ppo_epochs: 4
117
+ ppo_generate_temperature: 1.0
118
+ reward_model: OpenAssistant/reward-model-deberta-v3-large-v2
119
+ save_best_checkpoint: false
120
+ scaling_factor_value_loss: 0.1
121
+ schedule: Cosine
122
+ train_validation_data: false
123
+ use_rlhf: false
124
+ warmup_epochs: 0.0
125
+ weight_decay: 0.0