aghorbani commited on
Commit
378c3af
1 Parent(s): a63c8d5

Upload cfg.yaml

Browse files
Files changed (1) hide show
  1. cfg.yaml +105 -0
cfg.yaml ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ architecture:
2
+ backbone_dtype: int8
3
+ force_embedding_gradients: false
4
+ gradient_checkpointing: false
5
+ intermediate_dropout: 0.0
6
+ pretrained: true
7
+ pretrained_weights: ''
8
+ augmentation:
9
+ neftune_noise_alpha: 0.0
10
+ random_parent_probability: 0.0
11
+ skip_parent_probability: 0.0
12
+ token_mask_probability: 0.0
13
+ dataset:
14
+ add_eos_token_to_answer: true
15
+ add_eos_token_to_prompt: true
16
+ add_eos_token_to_system: true
17
+ answer_column: response
18
+ chatbot_author: H2O.ai
19
+ chatbot_name: h2oGPT
20
+ data_sample: 1.0
21
+ data_sample_choice:
22
+ - Train
23
+ - Validation
24
+ limit_chained_samples: false
25
+ mask_prompt_labels: true
26
+ parent_id_column: None
27
+ personalize: false
28
+ prompt_column:
29
+ - instruction
30
+ system_column: None
31
+ text_answer_separator: <|answer|>
32
+ text_prompt_start: <|prompt|>
33
+ text_system_start: <|system|>
34
+ train_dataframe: /home/llmstudio/mount/data/user/json output/final_output_v0.pq
35
+ validation_dataframe: None
36
+ validation_size: 0.01
37
+ validation_strategy: automatic
38
+ environment:
39
+ compile_model: false
40
+ deepspeed_reduce_bucket_size: 1000000
41
+ deepspeed_stage3_param_persistence_threshold: 1000000
42
+ deepspeed_stage3_prefetch_bucket_size: 1000000
43
+ find_unused_parameters: false
44
+ gpus:
45
+ - '0'
46
+ huggingface_branch: main
47
+ mixed_precision: true
48
+ number_of_workers: 8
49
+ seed: -1
50
+ trust_remote_code: true
51
+ use_deepspeed: false
52
+ experiment_name: h2o-danube2-1.8b-chat-json-v0.1-fa2
53
+ llm_backbone: h2oai/h2o-danube2-1.8b-chat
54
+ logging:
55
+ logger: None
56
+ neptune_project: ''
57
+ output_directory: /home/llmstudio/mount/output/user/h2o-danube2-1.8b-chat-json-v0.1-fa2/
58
+ prediction:
59
+ batch_size_inference: 0
60
+ do_sample: false
61
+ max_length_inference: 256
62
+ metric: BLEU
63
+ metric_gpt_model: gpt-3.5-turbo-0301
64
+ metric_gpt_template: general
65
+ min_length_inference: 2
66
+ num_beams: 1
67
+ num_history: 4
68
+ repetition_penalty: 1.0
69
+ stop_tokens: ''
70
+ temperature: 0.0
71
+ top_k: 0
72
+ top_p: 1.0
73
+ problem_type: text_causal_language_modeling
74
+ tokenizer:
75
+ add_prefix_space: false
76
+ add_prompt_answer_tokens: false
77
+ max_length: 800
78
+ max_length_answer: 256
79
+ max_length_prompt: 512
80
+ padding_quantile: 1.0
81
+ use_fast: true
82
+ training:
83
+ batch_size: 2
84
+ differential_learning_rate: 1.0e-05
85
+ differential_learning_rate_layers: []
86
+ drop_last_batch: true
87
+ epochs: 5
88
+ evaluate_before_training: false
89
+ evaluation_epochs: 1.0
90
+ grad_accumulation: 1
91
+ gradient_clip: 0.0
92
+ learning_rate: 0.0001
93
+ lora: true
94
+ lora_alpha: 16
95
+ lora_dropout: 0.05
96
+ lora_r: 4
97
+ lora_target_modules: ''
98
+ loss_function: TokenAveragedCrossEntropy
99
+ optimizer: AdamW
100
+ save_best_checkpoint: false
101
+ schedule: Cosine
102
+ train_validation_data: false
103
+ use_flash_attention_2: true
104
+ warmup_epochs: 0.0
105
+ weight_decay: 0.0