Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
architecture:
|
2 |
+
backbone_dtype: float16
|
3 |
+
force_embedding_gradients: false
|
4 |
+
gradient_checkpointing: true
|
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 |
+
answer_column: output
|
16 |
+
data_sample: 1.0
|
17 |
+
data_sample_choice:
|
18 |
+
- Train
|
19 |
+
- Validation
|
20 |
+
mask_prompt_labels: true
|
21 |
+
parent_id_column: parent_id
|
22 |
+
prompt_column:
|
23 |
+
- instruction
|
24 |
+
text_answer_separator: <|answer|>
|
25 |
+
text_prompt_start: <|prompt|>
|
26 |
+
train_dataframe: data/user/oasst/train_full_allrank.pq
|
27 |
+
validation_dataframe: data/user/oasst/gpt4_val_v0.csv
|
28 |
+
validation_size: 0.01
|
29 |
+
validation_strategy: custom
|
30 |
+
environment:
|
31 |
+
compile_model: false
|
32 |
+
find_unused_parameters: false
|
33 |
+
gpus:
|
34 |
+
- '0'
|
35 |
+
- '1'
|
36 |
+
- '2'
|
37 |
+
- '3'
|
38 |
+
mixed_precision: true
|
39 |
+
number_of_workers: 8
|
40 |
+
seed: -1
|
41 |
+
trust_remote_code: false
|
42 |
+
use_fsdp: false
|
43 |
+
experiment_name: h2ogpt-gm-oasst1-en-2048-open-llama-7b-preview-300bt-v2
|
44 |
+
llm_backbone: h2o-llmstudio/open_llama_7b_preview_300bt_fix
|
45 |
+
logging:
|
46 |
+
logger: Neptune
|
47 |
+
neptune_project: Zoo/h2o-llm
|
48 |
+
number_of_texts: 10
|
49 |
+
output_directory: output/user/h2ogpt-gm-oasst1-en-2048-open-llama-7b-preview-300bt-v2/
|
50 |
+
prediction:
|
51 |
+
batch_size_inference: 0
|
52 |
+
do_sample: false
|
53 |
+
max_length_inference: 256
|
54 |
+
metric: GPT3.5
|
55 |
+
min_length_inference: 2
|
56 |
+
num_beams: 2
|
57 |
+
repetition_penalty: 1.2
|
58 |
+
stop_tokens: ''
|
59 |
+
temperature: 0.3
|
60 |
+
problem_type: text_causal_language_modeling
|
61 |
+
tokenizer:
|
62 |
+
add_prefix_space: false
|
63 |
+
add_prompt_answer_tokens: false
|
64 |
+
max_length: 2048
|
65 |
+
max_length_answer: 1024
|
66 |
+
max_length_prompt: 2048
|
67 |
+
padding_quantile: 1.0
|
68 |
+
use_fast: false
|
69 |
+
training:
|
70 |
+
batch_size: 16
|
71 |
+
differential_learning_rate: 1.0e-05
|
72 |
+
differential_learning_rate_layers: []
|
73 |
+
drop_last_batch: true
|
74 |
+
epochs: 3
|
75 |
+
evaluate_before_training: false
|
76 |
+
evaluation_epochs: 0.5
|
77 |
+
grad_accumulation: 1
|
78 |
+
gradient_clip: 0.0
|
79 |
+
learning_rate: 0.001
|
80 |
+
lora: true
|
81 |
+
lora_alpha: 32
|
82 |
+
lora_dropout: 0.05
|
83 |
+
lora_r: 16
|
84 |
+
lora_target_modules: ''
|
85 |
+
loss_function: CrossEntropy
|
86 |
+
optimizer: AdamW
|
87 |
+
save_best_checkpoint: false
|
88 |
+
schedule: Cosine
|
89 |
+
train_validation_data: false
|
90 |
+
warmup_epochs: 1.0
|
91 |
+
weight_decay: 0.0
|