Notespeak commited on
Commit
7e42e74
1 Parent(s): 6ca0e6f

Upload cfg.yaml

Browse files
Files changed (1) hide show
  1. cfg.yaml +121 -0
cfg.yaml ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: "output\r"
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
+ - instruction
29
+ system_column: None
30
+ text_answer_separator: <|answer|>
31
+ text_prompt_start: <|prompt|>
32
+ text_system_start: <|system|>
33
+ train_dataframe: /root/h2o-llmstudio/data/user/kzpdft/kzpdft.csv
34
+ validation_dataframe: None
35
+ validation_size: 0.01
36
+ validation_strategy: automatic
37
+ environment:
38
+ compile_model: false
39
+ find_unused_parameters: false
40
+ gpus:
41
+ - '0'
42
+ - '1'
43
+ - '2'
44
+ - '3'
45
+ huggingface_branch: main
46
+ mixed_precision: true
47
+ number_of_workers: 8
48
+ seed: -1
49
+ trust_remote_code: true
50
+ use_fsdp: false
51
+ experiment_name: demonic-waxbill
52
+ hf:
53
+ account_name: ''
54
+ model_name: ''
55
+ llm_backbone: ai-forever/ruGPT-3.5-13B
56
+ logging:
57
+ logger: None
58
+ neptune_project: ''
59
+ number_of_texts: 10
60
+ output_directory: /root/h2o-llmstudio/output/user/demonic-waxbill/
61
+ prediction:
62
+ batch_size_inference: 0
63
+ do_sample: false
64
+ max_length_inference: 256
65
+ metric: BLEU
66
+ metric_gpt_model: gpt-3.5-turbo-0301
67
+ min_length_inference: 2
68
+ num_beams: 1
69
+ num_history: 4
70
+ repetition_penalty: 1.2
71
+ stop_tokens: ''
72
+ temperature: 0.3
73
+ top_k: 0
74
+ top_p: 1.0
75
+ problem_type: text_causal_language_modeling
76
+ tokenizer:
77
+ add_prefix_space: false
78
+ add_prompt_answer_tokens: false
79
+ max_length: 512
80
+ max_length_answer: 288
81
+ max_length_prompt: 288
82
+ padding_quantile: 1.0
83
+ use_fast: true
84
+ training:
85
+ adaptive_kl_control: true
86
+ advantages_gamma: 0.99
87
+ advantages_lambda: 0.95
88
+ batch_size: 4
89
+ differential_learning_rate: 1.0e-05
90
+ differential_learning_rate_layers: []
91
+ drop_last_batch: true
92
+ epochs: 1
93
+ evaluate_before_training: false
94
+ evaluation_epochs: 1.0
95
+ grad_accumulation: 1
96
+ gradient_clip: 0.0
97
+ initial_kl_coefficient: 0.2
98
+ kl_horizon: 10000
99
+ kl_target: 6.0
100
+ learning_rate: 0.0001
101
+ lora: true
102
+ lora_alpha: 16
103
+ lora_dropout: 0.05
104
+ lora_r: 4
105
+ lora_target_modules: ''
106
+ loss_function: TokenAveragedCrossEntropy
107
+ offload_reward_model: false
108
+ optimizer: AdamW
109
+ ppo_batch_size: 1
110
+ ppo_clip_policy: 0.2
111
+ ppo_clip_value: 0.2
112
+ ppo_epochs: 4
113
+ ppo_generate_temperature: 1.0
114
+ reward_model: OpenAssistant/reward-model-deberta-v3-large-v2
115
+ save_best_checkpoint: false
116
+ scaling_factor_value_loss: 0.1
117
+ schedule: Cosine
118
+ train_validation_data: true
119
+ use_rlhf: false
120
+ warmup_epochs: 0.0
121
+ weight_decay: 0.0