psinger commited on
Commit
5b78c9a
1 Parent(s): b56769c

Upload cfg.yaml

Browse files
Files changed (1) hide show
  1. cfg.yaml +114 -0
cfg.yaml ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.1
10
+ skip_parent_probability: 0.1
11
+ token_mask_probability: 0.0
12
+ dataset:
13
+ add_eos_token_to_answer: true
14
+ add_eos_token_to_prompt: true
15
+ answer_column: output
16
+ chatbot_author: H2O.ai
17
+ chatbot_name: h2oGPT
18
+ data_sample: 1.0
19
+ data_sample_choice:
20
+ - Train
21
+ - Validation
22
+ limit_chained_samples: false
23
+ mask_prompt_labels: true
24
+ parent_id_column: parent_id
25
+ personalize: true
26
+ prompt_column:
27
+ - instruction
28
+ text_answer_separator: <|answer|>
29
+ text_prompt_start: <|prompt|>
30
+ train_dataframe: data/user/oasst/train_full_allrank.pq
31
+ validation_dataframe: data/user/oasst/gpt4_val_v0.csv
32
+ validation_size: 0.01
33
+ validation_strategy: custom
34
+ environment:
35
+ compile_model: false
36
+ find_unused_parameters: false
37
+ gpus:
38
+ - '0'
39
+ - '1'
40
+ - '2'
41
+ - '3'
42
+ huggingface_branch: main
43
+ mixed_precision: true
44
+ number_of_workers: 8
45
+ seed: -1
46
+ trust_remote_code: true
47
+ use_fsdp: false
48
+ experiment_name: h2ogpt-gm-oasst1-en-2048-open-llama-3b
49
+ llm_backbone: openlm-research/open_llama_3b
50
+ logging:
51
+ logger: Neptune
52
+ neptune_project: Zoo/h2o-llm
53
+ number_of_texts: 10
54
+ output_directory: output/user/h2ogpt-gm-oasst1-en-2048-open-llama-3b/
55
+ prediction:
56
+ batch_size_inference: 0
57
+ do_sample: false
58
+ max_length_inference: 1024
59
+ metric: GPT3.5
60
+ min_length_inference: 2
61
+ num_beams: 1
62
+ num_history: 2
63
+ repetition_penalty: 1.2
64
+ stop_tokens: ''
65
+ temperature: 0.3
66
+ top_k: 0
67
+ top_p: 1.0
68
+ problem_type: text_causal_language_modeling
69
+ tokenizer:
70
+ add_prefix_space: false
71
+ add_prompt_answer_tokens: false
72
+ max_length: 2048
73
+ max_length_answer: 1024
74
+ max_length_prompt: 2048
75
+ padding_quantile: 1.0
76
+ use_fast: false
77
+ training:
78
+ adaptive_kl_control: true
79
+ advantages_gamma: 0.99
80
+ advantages_lambda: 0.95
81
+ batch_size: 3
82
+ differential_learning_rate: 1.0e-05
83
+ differential_learning_rate_layers: []
84
+ drop_last_batch: true
85
+ epochs: 1
86
+ evaluate_before_training: false
87
+ evaluation_epochs: 0.5
88
+ grad_accumulation: 1
89
+ gradient_clip: 0.0
90
+ initial_kl_coefficient: 0.2
91
+ kl_horizon: 10000
92
+ kl_target: 6.0
93
+ learning_rate: 0.0001
94
+ lora: true
95
+ lora_alpha: 32
96
+ lora_dropout: 0.1
97
+ lora_r: 16
98
+ lora_target_modules: q_proj,k_proj,v_proj,o_proj,gate_proj,down_proj,up_proj
99
+ loss_function: TokenAveragedCrossEntropy
100
+ offload_reward_model: false
101
+ optimizer: AdamW
102
+ ppo_batch_size: 1
103
+ ppo_clip_policy: 0.2
104
+ ppo_clip_value: 0.2
105
+ ppo_epochs: 4
106
+ ppo_generate_temperature: 1.0
107
+ reward_model: OpenAssistant/reward-model-deberta-v3-large-v2
108
+ save_best_checkpoint: false
109
+ scaling_factor_value_loss: 0.1
110
+ schedule: Cosine
111
+ train_validation_data: false
112
+ use_rlhf: false
113
+ warmup_epochs: 0.0
114
+ weight_decay: 0.0