Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: answer_json
|
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: <|answer|>
|
32 |
+
text_prompt_start: <|prompt|>
|
33 |
+
text_system_start: <|system|>
|
34 |
+
train_dataframe: /workspace/data/user/DataSet_classifier_withMATH_functions/DataSet_classifier_withMATH_functions.csv
|
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 |
+
- '1'
|
47 |
+
- '2'
|
48 |
+
huggingface_branch: main
|
49 |
+
mixed_precision: true
|
50 |
+
number_of_workers: 4
|
51 |
+
seed: -1
|
52 |
+
trust_remote_code: true
|
53 |
+
use_deepspeed: false
|
54 |
+
experiment_name: funny-specialmath-classifier
|
55 |
+
llm_backbone: mistralai/Mistral-7B-v0.1
|
56 |
+
logging:
|
57 |
+
logger: None
|
58 |
+
neptune_project: ''
|
59 |
+
output_directory: /workspace/output/user/funny-specialmath-classifier/
|
60 |
+
prediction:
|
61 |
+
batch_size_inference: 0
|
62 |
+
do_sample: false
|
63 |
+
max_length_inference: 1
|
64 |
+
metric: BLEU
|
65 |
+
metric_gpt_model: gpt-3.5-turbo-0301
|
66 |
+
metric_gpt_template: general
|
67 |
+
min_length_inference: 0
|
68 |
+
num_beams: 1
|
69 |
+
num_history: 4
|
70 |
+
repetition_penalty: 1.0
|
71 |
+
stop_tokens: ''
|
72 |
+
temperature: 0.0
|
73 |
+
top_k: 0
|
74 |
+
top_p: 1.0
|
75 |
+
problem_type: text_causal_language_modeling
|
76 |
+
tokenizer:
|
77 |
+
add_prefix_space: false
|
78 |
+
add_prompt_answer_tokens: false
|
79 |
+
max_length: 512
|
80 |
+
max_length_answer: 256
|
81 |
+
max_length_prompt: 256
|
82 |
+
padding_quantile: 1.0
|
83 |
+
use_fast: true
|
84 |
+
training:
|
85 |
+
batch_size: 32
|
86 |
+
differential_learning_rate: 1.0e-05
|
87 |
+
differential_learning_rate_layers: []
|
88 |
+
drop_last_batch: true
|
89 |
+
epochs: 3
|
90 |
+
evaluate_before_training: false
|
91 |
+
evaluation_epochs: 1.0
|
92 |
+
grad_accumulation: 1
|
93 |
+
gradient_clip: 0.0
|
94 |
+
learning_rate: 0.0001
|
95 |
+
lora: true
|
96 |
+
lora_alpha: 20
|
97 |
+
lora_dropout: 0.06
|
98 |
+
lora_r: 14
|
99 |
+
lora_target_modules: ''
|
100 |
+
loss_function: TokenAveragedCrossEntropy
|
101 |
+
optimizer: AdamW
|
102 |
+
save_best_checkpoint: false
|
103 |
+
schedule: Cosine
|
104 |
+
train_validation_data: false
|
105 |
+
use_flash_attention_2: true
|
106 |
+
warmup_epochs: 0.0
|
107 |
+
weight_decay: 0.0
|