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