Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
architecture:
|
2 |
+
backbone_dtype: int4
|
3 |
+
force_embedding_gradients: false
|
4 |
+
gradient_checkpointing: true
|
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/CFA_options_tutorial/CFA_options_tutorial.csv
|
35 |
+
validation_dataframe: None
|
36 |
+
validation_size: 0.2
|
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: 1234
|
50 |
+
trust_remote_code: true
|
51 |
+
use_deepspeed: false
|
52 |
+
experiment_name: finetuned_danube
|
53 |
+
llm_backbone: h2oai/h2o-danube-1.8b-chat
|
54 |
+
logging:
|
55 |
+
logger: None
|
56 |
+
neptune_project: ''
|
57 |
+
output_directory: /home/llmstudio/mount/output/user/finetuned_danube/
|
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.2
|
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: 512
|
78 |
+
max_length_answer: 256
|
79 |
+
max_length_prompt: 256
|
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: 1
|
88 |
+
evaluate_before_training: true
|
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: false
|
104 |
+
warmup_epochs: 0.0
|
105 |
+
weight_decay: 0.0
|