sunilswain
commited on
Commit
•
df3f8c3
1
Parent(s):
1fce35a
Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: "output_prompt\r"
|
17 |
+
chatbot_author: ESSPL
|
18 |
+
chatbot_name: EssplGPT
|
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: true
|
27 |
+
prompt_column:
|
28 |
+
- input_prompt
|
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/esspltravelpolicyqa/qa_train.csv
|
34 |
+
validation_dataframe: /kaggle/working/h2o-llmstudio/data/user/esspltravelpolicyqa/qa_val.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: 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: active-saluki
|
56 |
+
llm_backbone: h2oai/h2ogpt-4096-llama2-7b-chat
|
57 |
+
logging:
|
58 |
+
logger: None
|
59 |
+
neptune_project: ''
|
60 |
+
output_directory: /kaggle/working/h2o-llmstudio/output/user/active-saluki/
|
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: 1600
|
81 |
+
max_length_answer: 1600
|
82 |
+
max_length_prompt: 800
|
83 |
+
padding_quantile: 1.0
|
84 |
+
tokenizer_kwargs: '{"use_fast": true, "add_prefix_space": false}'
|
85 |
+
training:
|
86 |
+
batch_size: 2
|
87 |
+
differential_learning_rate: 1.0e-05
|
88 |
+
differential_learning_rate_layers: []
|
89 |
+
drop_last_batch: true
|
90 |
+
epochs: 1
|
91 |
+
evaluate_before_training: false
|
92 |
+
evaluation_epochs: 1.0
|
93 |
+
freeze_layers: []
|
94 |
+
grad_accumulation: 1
|
95 |
+
gradient_clip: 0.0
|
96 |
+
learning_rate: 0.0001
|
97 |
+
lora: true
|
98 |
+
lora_alpha: 16
|
99 |
+
lora_dropout: 0.05
|
100 |
+
lora_r: 4
|
101 |
+
lora_target_modules: ''
|
102 |
+
lora_unfreeze_layers: []
|
103 |
+
loss_function: TokenAveragedCrossEntropy
|
104 |
+
optimizer: AdamW
|
105 |
+
save_checkpoint: last
|
106 |
+
schedule: Cosine
|
107 |
+
train_validation_data: false
|
108 |
+
use_dora: false
|
109 |
+
use_flash_attention_2: false
|
110 |
+
warmup_epochs: 0.0
|
111 |
+
weight_decay: 0.0
|