gaborfodorh2o commited on
Commit
1028b99
1 Parent(s): bdf7ce4

Upload cfg.yaml

Browse files
Files changed (1) hide show
  1. cfg.yaml +116 -0
cfg.yaml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ architecture:
2
+ backbone_dtype: bfloat16
3
+ gradient_checkpointing: true
4
+ intermediate_dropout: 0.0
5
+ pretrained: true
6
+ pretrained_weights: ''
7
+ augmentation:
8
+ neftune_noise_alpha: 0.0
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: location
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
+ only_last_answer: false
26
+ parent_id_column: None
27
+ personalize: false
28
+ prompt_column:
29
+ - text
30
+ prompt_column_separator: \n\n
31
+ system_column: None
32
+ text_answer_separator: <|answer|>
33
+ text_prompt_start: <|prompt|>
34
+ text_system_start: <|system|>
35
+ train_dataframe: /home/shadeform/h2o-llmstudio/data/user/train_v10_f3/train_v10_3.pq
36
+ validation_dataframe: /home/shadeform/h2o-llmstudio/data/user/train_v10_f3/valid_v10_3.pq
37
+ validation_size: 0.01
38
+ validation_strategy: custom
39
+ environment:
40
+ compile_model: false
41
+ deepspeed_allgather_bucket_size: 1000000
42
+ deepspeed_method: ZeRO2
43
+ deepspeed_reduce_bucket_size: 1000000
44
+ deepspeed_stage3_param_persistence_threshold: 1000000
45
+ deepspeed_stage3_prefetch_bucket_size: 1000000
46
+ find_unused_parameters: false
47
+ gpus:
48
+ - '0'
49
+ huggingface_branch: main
50
+ mixed_precision: true
51
+ mixed_precision_dtype: bfloat16
52
+ number_of_workers: 8
53
+ seed: -1
54
+ trust_remote_code: true
55
+ use_deepspeed: false
56
+ experiment_name: l3-8b-v10-f3
57
+ llm_backbone: meta-llama/Meta-Llama-3-8B
58
+ logging:
59
+ log_all_ranks: false
60
+ log_step_size: absolute
61
+ logger: Neptune
62
+ neptune_project: gaborfodor/gabor
63
+ wandb_entity: ''
64
+ wandb_project: ''
65
+ output_directory: /home/shadeform/h2o-llmstudio/output/user/l3-8b-v10-f3/
66
+ prediction:
67
+ batch_size_inference: 0
68
+ do_sample: false
69
+ max_length_inference: 99
70
+ max_time: 0.0
71
+ metric: WER
72
+ metric_gpt_model: gpt-3.5-turbo-0301
73
+ metric_gpt_template: general
74
+ min_length_inference: 1
75
+ num_beams: 1
76
+ num_history: 4
77
+ repetition_penalty: 1.0
78
+ stop_tokens: ''
79
+ temperature: 0.0
80
+ top_k: 0
81
+ top_p: 1.0
82
+ problem_type: text_causal_language_modeling
83
+ tokenizer:
84
+ add_prompt_answer_tokens: false
85
+ max_length: 448
86
+ padding_quantile: 1.0
87
+ tokenizer_kwargs: '{"use_fast": true, "add_prefix_space": false}'
88
+ training:
89
+ attention_implementation: auto
90
+ batch_size: 2
91
+ differential_learning_rate: 1.0e-05
92
+ differential_learning_rate_layers: []
93
+ drop_last_batch: true
94
+ epochs: 2
95
+ evaluate_before_training: false
96
+ evaluation_epochs: 1.0
97
+ freeze_layers: []
98
+ grad_accumulation: 1
99
+ gradient_clip: 0.0
100
+ learning_rate: 0.0001
101
+ lora: true
102
+ lora_alpha: 64
103
+ lora_dropout: 0.05
104
+ lora_r: 16
105
+ lora_target_modules: ''
106
+ lora_unfreeze_layers: []
107
+ loss_function: TokenAveragedCrossEntropy
108
+ min_learning_rate_ratio: 0.0
109
+ optimizer: AdamW
110
+ save_checkpoint: last
111
+ schedule: Cosine
112
+ train_validation_data: false
113
+ use_dora: false
114
+ use_rslora: false
115
+ warmup_epochs: 0.1
116
+ weight_decay: 0.0