Aaryan-Nakhat commited on
Commit
0ac6252
1 Parent(s): 201891b

Upload cfg.yaml

Browse files
Files changed (1) hide show
  1. cfg.yaml +109 -0
cfg.yaml ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 5.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: ground_truth
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
+ - prompt
29
+ system_column: None
30
+ text_answer_separator: <|answer|>
31
+ text_prompt_start: <|prompt|>
32
+ text_system_start: <|system|>
33
+ train_dataframe: /home/aaryan/llm_studio_experiments/experiment_51/h2o-llmstudio/data/user/data_for_LLM_Studio_exp_51_backup_classifier_using_LLM_itr_3/train_data_for_LLM_Studio_exp_51_backup_classifier_using_LLM_itr_3.csv
34
+ validation_dataframe: /home/aaryan/llm_studio_experiments/experiment_51/h2o-llmstudio/data/user/data_for_LLM_Studio_exp_51_backup_classifier_using_LLM_itr_3/validation_data_for_LLM_Studio_exp_51_backup_classifier_using_LLM_itr_3.csv
35
+ validation_size: 0.01
36
+ validation_strategy: custom
37
+ environment:
38
+ compile_model: false
39
+ deepspeed_allgather_bucket_size: 1000000
40
+ deepspeed_method: ZeRO2
41
+ deepspeed_reduce_bucket_size: 1000000
42
+ deepspeed_stage3_param_persistence_threshold: 1000000
43
+ deepspeed_stage3_prefetch_bucket_size: 1000000
44
+ find_unused_parameters: false
45
+ gpus:
46
+ - '0'
47
+ - '1'
48
+ huggingface_branch: main
49
+ mixed_precision: false
50
+ mixed_precision_dtype: bfloat16
51
+ number_of_workers: 8
52
+ seed: 77
53
+ trust_remote_code: true
54
+ use_deepspeed: false
55
+ experiment_name: experiment_51_backup_classifier_finetuning_itr_3
56
+ llm_backbone: meta-llama/Meta-Llama-3-8B-Instruct
57
+ logging:
58
+ logger: None
59
+ neptune_project: ''
60
+ output_directory: /home/aaryan/llm_studio_experiments/experiment_51/h2o-llmstudio/output/user/experiment_51_backup_classifier_finetuning_itr_3/
61
+ prediction:
62
+ batch_size_inference: 2
63
+ do_sample: true
64
+ max_length_inference: 4
65
+ max_time: 0.0
66
+ metric: BLEU
67
+ metric_gpt_model: gpt-3.5-turbo-0301
68
+ metric_gpt_template: general
69
+ min_length_inference: 1
70
+ num_beams: 1
71
+ num_history: 4
72
+ repetition_penalty: 1.2
73
+ stop_tokens: ''
74
+ temperature: 0.3
75
+ top_k: 50
76
+ top_p: 0.95
77
+ problem_type: text_causal_language_modeling
78
+ tokenizer:
79
+ add_prompt_answer_tokens: false
80
+ max_length: 1024
81
+ padding_quantile: 1.0
82
+ tokenizer_kwargs: '{"use_fast": true, "add_prefix_space": false}'
83
+ training:
84
+ batch_size: 4
85
+ differential_learning_rate: 1.0e-05
86
+ differential_learning_rate_layers: []
87
+ drop_last_batch: true
88
+ epochs: 3
89
+ evaluate_before_training: false
90
+ evaluation_epochs: 1.0
91
+ freeze_layers: []
92
+ grad_accumulation: 2
93
+ gradient_clip: 0.0
94
+ learning_rate: 0.0001
95
+ lora: true
96
+ lora_alpha: 32
97
+ lora_dropout: 0.05
98
+ lora_r: 16
99
+ lora_target_modules: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
100
+ lora_unfreeze_layers: []
101
+ loss_function: TokenAveragedCrossEntropy
102
+ optimizer: AdamW
103
+ save_checkpoint: best
104
+ schedule: Cosine
105
+ train_validation_data: false
106
+ use_dora: true
107
+ use_flash_attention_2: true
108
+ warmup_epochs: 0.05
109
+ weight_decay: 0.0