CyberRift commited on
Commit
c1ec8c6
1 Parent(s): 9892d10

Upload cfg.yaml

Browse files
Files changed (1) hide show
  1. cfg.yaml +103 -0
cfg.yaml ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ architecture:
2
+ backbone_dtype: float16
3
+ force_embedding_gradients: false
4
+ gradient_checkpointing: false
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: response
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: false
25
+ parent_id_column: None
26
+ personalize: false
27
+ prompt_column:
28
+ - instruction
29
+ - context
30
+ system_column: None
31
+ text_answer_separator: ''
32
+ text_prompt_start: ''
33
+ text_system_start: <|system|>
34
+ train_dataframe: ./data/cti_to_mitre.csv
35
+ validation_dataframe: ''
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: 4
49
+ seed: 1
50
+ trust_remote_code: true
51
+ use_deepspeed: false
52
+ experiment_name: demo_experiment_mitre
53
+ llm_backbone: CyberRift/sidekick
54
+ logging:
55
+ logger: None
56
+ neptune_project: ''
57
+ output_directory: output/cti_to_mitre/
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
+ min_length_inference: 2
65
+ num_beams: 2
66
+ num_history: 4
67
+ repetition_penalty: 1.2
68
+ stop_tokens: ''
69
+ temperature: 0.3
70
+ top_k: 0
71
+ top_p: 1.0
72
+ problem_type: text_causal_language_modeling
73
+ tokenizer:
74
+ add_prefix_space: false
75
+ add_prompt_answer_tokens: false
76
+ max_length: 8192
77
+ max_length_answer: 4096
78
+ max_length_prompt: 4096
79
+ padding_quantile: 1.0
80
+ use_fast: true
81
+ training:
82
+ batch_size: 4
83
+ differential_learning_rate: 1.0e-05
84
+ differential_learning_rate_layers: []
85
+ drop_last_batch: true
86
+ epochs: 1
87
+ evaluate_before_training: false
88
+ evaluation_epochs: 1.0
89
+ grad_accumulation: 1
90
+ gradient_clip: 0.0
91
+ learning_rate: 0.00015
92
+ lora: true
93
+ lora_alpha: 16
94
+ lora_dropout: 0.05
95
+ lora_r: 4
96
+ lora_target_modules: ''
97
+ loss_function: CrossEntropy
98
+ optimizer: AdamW
99
+ save_best_checkpoint: false
100
+ schedule: Cosine
101
+ train_validation_data: false
102
+ warmup_epochs: 0.0
103
+ weight_decay: 0.0