Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: "reference\r"
|
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 |
+
- challenge
|
30 |
+
system_column: None
|
31 |
+
text_answer_separator: ''
|
32 |
+
text_prompt_start: ''
|
33 |
+
text_system_start: <|system|>
|
34 |
+
train_dataframe: /root/h2o-llmstudio/data/user/alpha_finetuning_merged/alpha_finetuning_merged.csv
|
35 |
+
validation_dataframe: None
|
36 |
+
validation_size: 0.01
|
37 |
+
validation_strategy: automatic
|
38 |
+
environment:
|
39 |
+
compile_model: false
|
40 |
+
deepspeed_allgather_bucket_size: 1000000
|
41 |
+
deepspeed_method: ZeRO2
|
42 |
+
deepspeed_reduce_bucket_size: 1000000
|
43 |
+
deepspeed_stage3_param_persistence_threshold: 1000000
|
44 |
+
deepspeed_stage3_prefetch_bucket_size: 1000000
|
45 |
+
find_unused_parameters: false
|
46 |
+
gpus:
|
47 |
+
- '0'
|
48 |
+
- '1'
|
49 |
+
- '2'
|
50 |
+
- '3'
|
51 |
+
huggingface_branch: main
|
52 |
+
mixed_precision: true
|
53 |
+
number_of_workers: 8
|
54 |
+
seed: -1
|
55 |
+
trust_remote_code: true
|
56 |
+
use_deepspeed: false
|
57 |
+
experiment_name: sweet-piculet
|
58 |
+
llm_backbone: nbeerbower/bophades-mistral-math-DPO-7B
|
59 |
+
logging:
|
60 |
+
logger: None
|
61 |
+
neptune_project: ''
|
62 |
+
output_directory: /root/h2o-llmstudio/output/user/sweet-piculet/
|
63 |
+
prediction:
|
64 |
+
batch_size_inference: 0
|
65 |
+
do_sample: true
|
66 |
+
max_length_inference: 256
|
67 |
+
max_time: 120.0
|
68 |
+
metric: BLEU
|
69 |
+
metric_gpt_model: gpt-3.5-turbo-0301
|
70 |
+
metric_gpt_template: general
|
71 |
+
min_length_inference: 2
|
72 |
+
num_beams: 1
|
73 |
+
num_history: 4
|
74 |
+
repetition_penalty: 1.0
|
75 |
+
stop_tokens: ''
|
76 |
+
temperature: 0.7
|
77 |
+
top_k: 0
|
78 |
+
top_p: 1.0
|
79 |
+
problem_type: text_causal_language_modeling
|
80 |
+
tokenizer:
|
81 |
+
add_prompt_answer_tokens: false
|
82 |
+
max_length: 512
|
83 |
+
max_length_answer: 256
|
84 |
+
max_length_prompt: 256
|
85 |
+
padding_quantile: 1.0
|
86 |
+
use_fast: true
|
87 |
+
training:
|
88 |
+
batch_size: 10
|
89 |
+
differential_learning_rate: 1.0e-05
|
90 |
+
differential_learning_rate_layers: []
|
91 |
+
drop_last_batch: true
|
92 |
+
epochs: 3
|
93 |
+
evaluate_before_training: false
|
94 |
+
evaluation_epochs: 1.0
|
95 |
+
grad_accumulation: 1
|
96 |
+
gradient_clip: 0.0
|
97 |
+
learning_rate: 0.0001
|
98 |
+
lora: true
|
99 |
+
lora_alpha: 16
|
100 |
+
lora_dropout: 0.05
|
101 |
+
lora_r: 4
|
102 |
+
lora_target_modules: ''
|
103 |
+
loss_function: TokenAveragedCrossEntropy
|
104 |
+
optimizer: AdamW
|
105 |
+
save_best_checkpoint: false
|
106 |
+
schedule: Cosine
|
107 |
+
train_validation_data: false
|
108 |
+
use_flash_attention_2: false
|
109 |
+
warmup_epochs: 0.0
|
110 |
+
weight_decay: 0.0
|