Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
architecture:
|
2 |
+
backbone_dtype: bfloat16
|
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: label
|
18 |
+
answer_column_label: category
|
19 |
+
chatbot_author: ''
|
20 |
+
chatbot_name: ''
|
21 |
+
data_sample: 1.0
|
22 |
+
data_sample_choice:
|
23 |
+
- Train
|
24 |
+
- Validation
|
25 |
+
limit_chained_samples: false
|
26 |
+
mask_prompt_labels: true
|
27 |
+
num_classes: 10
|
28 |
+
parent_id_column: None
|
29 |
+
personalize: false
|
30 |
+
prompt_column:
|
31 |
+
- Description
|
32 |
+
system_column: None
|
33 |
+
text_answer_separator: ''
|
34 |
+
text_prompt_start: ''
|
35 |
+
text_system_start: ''
|
36 |
+
train_dataframe: /app/train_df.csv
|
37 |
+
validation_dataframe: ''
|
38 |
+
validation_size: 0.2
|
39 |
+
validation_strategy: automatic
|
40 |
+
environment:
|
41 |
+
compile_model: false
|
42 |
+
deepspeed_offload_optimizer: false
|
43 |
+
deepspeed_reduce_bucket_size: 10000000.0
|
44 |
+
deepspeed_stage3_max_live_parameters: 10000000.0
|
45 |
+
deepspeed_stage3_max_reuse_distance: 10000000.0
|
46 |
+
deepspeed_stage3_param_persistence_threshold: 10000000.0
|
47 |
+
deepspeed_stage3_prefetch_bucket_size: 10000000.0
|
48 |
+
find_unused_parameters: false
|
49 |
+
gpus:
|
50 |
+
- '0'
|
51 |
+
huggingface_branch: main
|
52 |
+
mixed_precision: false
|
53 |
+
number_of_workers: 8
|
54 |
+
seed: -1
|
55 |
+
trust_remote_code: false
|
56 |
+
use_deepspeed: false
|
57 |
+
experiment_name: Falcon 1B Classification
|
58 |
+
llm_backbone: tiiuae/falcon-rw-1b
|
59 |
+
logging:
|
60 |
+
logger: None
|
61 |
+
neptune_project: ''
|
62 |
+
output_directory: /app/output
|
63 |
+
prediction:
|
64 |
+
batch_size_inference: 0
|
65 |
+
metric: AUC
|
66 |
+
problem_type: text_causal_classification_modeling
|
67 |
+
tokenizer:
|
68 |
+
add_prefix_space: false
|
69 |
+
add_prompt_answer_tokens: false
|
70 |
+
max_length: 512
|
71 |
+
max_length_answer: 256
|
72 |
+
max_length_prompt: 256
|
73 |
+
padding_quantile: 1.0
|
74 |
+
use_fast: true
|
75 |
+
tracking_mode: during_epoch
|
76 |
+
training:
|
77 |
+
alpha: 0.9900000095
|
78 |
+
batch_size: 16
|
79 |
+
beta1: 0.8999999762
|
80 |
+
beta2: 0.9990000129
|
81 |
+
differential_learning_rate: 1.0e-05
|
82 |
+
differential_learning_rate_layers: []
|
83 |
+
drop_last_batch: true
|
84 |
+
epochs: 1
|
85 |
+
eps: 1.0e-08
|
86 |
+
evaluate_before_training: false
|
87 |
+
evaluation_epochs: 1.0
|
88 |
+
grad_accumulation: 1
|
89 |
+
gradient_clip: 0.5
|
90 |
+
learning_rate: 0.0001
|
91 |
+
lora: true
|
92 |
+
lora_alpha: 16
|
93 |
+
lora_dropout: 0.0500000007
|
94 |
+
lora_r: 4
|
95 |
+
lora_target_modules: []
|
96 |
+
loss_function: CrossEntropyLoss
|
97 |
+
momentum: 0.0
|
98 |
+
nesterov: false
|
99 |
+
optimizer: AdamW
|
100 |
+
rho: 0.8999999762
|
101 |
+
save_best_checkpoint: false
|
102 |
+
schedule: Cosine
|
103 |
+
train_validation_data: false
|
104 |
+
use_flash_attention_2: false
|
105 |
+
warmup_epochs: 0.0
|
106 |
+
weight_decay: 0.0
|