sunilswain commited on
Commit
ba425c6
1 Parent(s): c29188f

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: int4
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: Answer
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
+ - Question
29
+ system_column: None
30
+ text_answer_separator: <|answer|>
31
+ text_prompt_start: <|prompt|>
32
+ text_system_start: <|system|>
33
+ train_dataframe: /kaggle/working/h2o-llmstudio/data/user/rephrased_sharp_apple/rephrased_sharp_apple.csv
34
+ validation_dataframe: None
35
+ validation_size: 0.01
36
+ validation_strategy: automatic
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: true
50
+ mixed_precision_dtype: bfloat16
51
+ number_of_workers: 4
52
+ seed: -1
53
+ trust_remote_code: true
54
+ use_deepspeed: false
55
+ experiment_name: pristine-tench
56
+ llm_backbone: h2oai/h2o-danube2-1.8b-base
57
+ logging:
58
+ logger: None
59
+ neptune_project: ''
60
+ output_directory: /kaggle/working/h2o-llmstudio/output/user/pristine-tench/
61
+ prediction:
62
+ batch_size_inference: 0
63
+ do_sample: false
64
+ max_length_inference: 256
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: 2
70
+ num_beams: 1
71
+ num_history: 4
72
+ repetition_penalty: 1.0
73
+ stop_tokens: ''
74
+ temperature: 0.0
75
+ top_k: 0
76
+ top_p: 1.0
77
+ problem_type: text_causal_language_modeling
78
+ tokenizer:
79
+ add_prompt_answer_tokens: false
80
+ max_length: 1280
81
+ padding_quantile: 1.0
82
+ tokenizer_kwargs: '{"use_fast": true, "add_prefix_space": false}'
83
+ training:
84
+ batch_size: 2
85
+ differential_learning_rate: 1.0e-05
86
+ differential_learning_rate_layers: []
87
+ drop_last_batch: true
88
+ epochs: 5
89
+ evaluate_before_training: false
90
+ evaluation_epochs: 1.0
91
+ freeze_layers: []
92
+ grad_accumulation: 1
93
+ gradient_clip: 0.0
94
+ learning_rate: 0.0001
95
+ lora: true
96
+ lora_alpha: 16
97
+ lora_dropout: 0.05
98
+ lora_r: 4
99
+ lora_target_modules: ''
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: false
107
+ use_flash_attention_2: false
108
+ warmup_epochs: 0.1
109
+ weight_decay: 0.0