Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
architecture:
|
2 |
+
backbone_dtype: float16
|
3 |
+
force_embedding_gradients: false
|
4 |
+
gradient_checkpointing: false
|
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: output
|
18 |
+
chatbot_author: ''
|
19 |
+
chatbot_name: ''
|
20 |
+
data_sample: 1.0
|
21 |
+
data_sample_choice: []
|
22 |
+
limit_chained_samples: false
|
23 |
+
mask_prompt_labels: false
|
24 |
+
parent_id_column: None
|
25 |
+
personalize: false
|
26 |
+
prompt_column:
|
27 |
+
- instruction
|
28 |
+
system_column: None
|
29 |
+
text_answer_separator: ''
|
30 |
+
text_prompt_start: ''
|
31 |
+
text_system_start: <|system|>
|
32 |
+
train_dataframe: /app/train_df.csv
|
33 |
+
validation_dataframe: ''
|
34 |
+
validation_size: 0.01
|
35 |
+
validation_strategy: automatic
|
36 |
+
environment:
|
37 |
+
compile_model: false
|
38 |
+
deepspeed_reduce_bucket_size: 10000000
|
39 |
+
deepspeed_stage3_param_persistence_threshold: 10000000
|
40 |
+
deepspeed_stage3_prefetch_bucket_size: 10000000
|
41 |
+
find_unused_parameters: false
|
42 |
+
gpus:
|
43 |
+
- '0'
|
44 |
+
huggingface_branch: main
|
45 |
+
mixed_precision: false
|
46 |
+
number_of_workers: 1
|
47 |
+
seed: -1
|
48 |
+
trust_remote_code: true
|
49 |
+
use_deepspeed: false
|
50 |
+
experiment_name: tinyllama_causal_language
|
51 |
+
llm_backbone: TinyLlama/TinyLlama-1.1B-Chat-v0.6
|
52 |
+
logging:
|
53 |
+
logger: None
|
54 |
+
neptune_project: ''
|
55 |
+
output_directory: /app/output
|
56 |
+
prediction:
|
57 |
+
batch_size_inference: 0
|
58 |
+
do_sample: false
|
59 |
+
max_length_inference: 256
|
60 |
+
metric: BLEU
|
61 |
+
metric_gpt_model: gpt-3.5-turbo-0301
|
62 |
+
metric_gpt_template: general
|
63 |
+
min_length_inference: 2
|
64 |
+
num_beams: 1
|
65 |
+
num_history: 4
|
66 |
+
repetition_penalty: 1.2000000477
|
67 |
+
stop_tokens: ''
|
68 |
+
temperature: 0.3
|
69 |
+
top_k: 0
|
70 |
+
top_p: 1.0
|
71 |
+
problem_type: text_causal_language_modeling
|
72 |
+
tokenizer:
|
73 |
+
add_prefix_space: false
|
74 |
+
add_prompt_answer_tokens: false
|
75 |
+
max_length: 512
|
76 |
+
max_length_answer: 256
|
77 |
+
max_length_prompt: 256
|
78 |
+
padding_quantile: 1.0
|
79 |
+
use_fast: true
|
80 |
+
training:
|
81 |
+
batch_size: 2
|
82 |
+
differential_learning_rate: 9.999999747378752e-06
|
83 |
+
differential_learning_rate_layers: ''
|
84 |
+
drop_last_batch: true
|
85 |
+
epochs: 15
|
86 |
+
evaluate_before_training: false
|
87 |
+
evaluation_epochs: 1.0
|
88 |
+
grad_accumulation: 1
|
89 |
+
gradient_clip: 0.0
|
90 |
+
learning_rate: 0.00015
|
91 |
+
lora: true
|
92 |
+
lora_alpha: 16
|
93 |
+
lora_dropout: 0.0500000007
|
94 |
+
lora_r: 4
|
95 |
+
lora_target_modules: ''
|
96 |
+
loss_function: SampleAveragedCrossEntropy
|
97 |
+
optimizer: AdamW
|
98 |
+
save_best_checkpoint: false
|
99 |
+
schedule: Cosine
|
100 |
+
train_validation_data: false
|
101 |
+
use_flash_attention_2: false
|
102 |
+
warmup_epochs: 0.0
|
103 |
+
weight_decay: 0.0
|