xshubhamx commited on
Commit
0cc4082
1 Parent(s): e6594e9

Upload folder using huggingface_hub

Browse files
training_checkpoints/checkpoint-5138/README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - quant_method: bitsandbytes
9
+ - load_in_8bit: False
10
+ - load_in_4bit: True
11
+ - llm_int8_threshold: 6.0
12
+ - llm_int8_skip_modules: None
13
+ - llm_int8_enable_fp32_cpu_offload: False
14
+ - llm_int8_has_fp16_weight: False
15
+ - bnb_4bit_quant_type: nf4
16
+ - bnb_4bit_use_double_quant: True
17
+ - bnb_4bit_compute_dtype: bfloat16
18
+ ### Framework versions
19
+
20
+
21
+ - PEFT 0.4.0
training_checkpoints/checkpoint-5138/adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 64,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 16,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "k_proj",
18
+ "down_proj",
19
+ "o_proj",
20
+ "gate_proj",
21
+ "q_proj",
22
+ "v_proj",
23
+ "up_proj"
24
+ ],
25
+ "task_type": "SEQ_CLS"
26
+ }
training_checkpoints/checkpoint-5138/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75c6ba32dc7f679e4d622e51fe382d179a5e50c565b3a8ff06e6f40b2976b49d
3
+ size 50626520
training_checkpoints/checkpoint-5138/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77bb780568dffca9108da0154af07a10f67f7f4fbbbbd2c73ce16c1bb8b8d008
3
+ size 101430714
training_checkpoints/checkpoint-5138/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b22d7d37aab9e99b2d20e2214b727038674db2a8ec03fa50ee5fcc2822bcf492
3
+ size 14244
training_checkpoints/checkpoint-5138/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e342199bb8853b009abecb44db640371f1247596643ea0accdb6cb6296efea6
3
+ size 1064
training_checkpoints/checkpoint-5138/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
training_checkpoints/checkpoint-5138/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
training_checkpoints/checkpoint-5138/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
training_checkpoints/checkpoint-5138/tokenizer_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "bos_token": "<s>",
29
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
30
+ "clean_up_tokenization_spaces": false,
31
+ "eos_token": "</s>",
32
+ "legacy": false,
33
+ "model_max_length": 2048,
34
+ "pad_token": "</s>",
35
+ "padding_side": "right",
36
+ "sp_model_kwargs": {},
37
+ "tokenizer_class": "LlamaTokenizer",
38
+ "unk_token": "<unk>",
39
+ "use_default_system_prompt": false
40
+ }
training_checkpoints/checkpoint-5138/trainer_state.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7849208402678758,
3
+ "best_model_checkpoint": "tiny-llama/checkpoint-1284",
4
+ "epoch": 8.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5138,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.78,
13
+ "learning_rate": 4.614485981308411e-05,
14
+ "loss": 1.0444,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "eval_accuracy": 0.8055770720371804,
20
+ "eval_f1_macro": 0.6986433125217109,
21
+ "eval_f1_micro": 0.8055770720371804,
22
+ "eval_f1_weighted": 0.8014415131779974,
23
+ "eval_loss": 0.5968185067176819,
24
+ "eval_macro_fpr": 0.017477297659887057,
25
+ "eval_macro_sensitivity": 0.6995136011888944,
26
+ "eval_macro_specificity": 0.9852356804676051,
27
+ "eval_precision": 0.8049997976909469,
28
+ "eval_precision_macro": 0.7121994461809698,
29
+ "eval_recall": 0.8055770720371804,
30
+ "eval_recall_macro": 0.6995136011888944,
31
+ "eval_runtime": 1398.4578,
32
+ "eval_samples_per_second": 0.923,
33
+ "eval_steps_per_second": 0.462,
34
+ "eval_weighted_fpr": 0.01694686381743299,
35
+ "eval_weighted_sensitivity": 0.8055770720371804,
36
+ "eval_weighted_specificity": 0.9729581349768969,
37
+ "step": 642
38
+ },
39
+ {
40
+ "epoch": 1.56,
41
+ "learning_rate": 4.2250778816199374e-05,
42
+ "loss": 0.4788,
43
+ "step": 1000
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "eval_accuracy": 0.8195197521301317,
48
+ "eval_f1_macro": 0.7849208402678758,
49
+ "eval_f1_micro": 0.8195197521301317,
50
+ "eval_f1_weighted": 0.8172221848923289,
51
+ "eval_loss": 0.696565568447113,
52
+ "eval_macro_fpr": 0.016141504898788652,
53
+ "eval_macro_sensitivity": 0.782528240704334,
54
+ "eval_macro_specificity": 0.9863319896705219,
55
+ "eval_precision": 0.8221579556499354,
56
+ "eval_precision_macro": 0.8091762597974816,
57
+ "eval_recall": 0.8195197521301317,
58
+ "eval_recall_macro": 0.782528240704334,
59
+ "eval_runtime": 1392.2226,
60
+ "eval_samples_per_second": 0.927,
61
+ "eval_steps_per_second": 0.464,
62
+ "eval_weighted_fpr": 0.01548687271518777,
63
+ "eval_weighted_sensitivity": 0.8195197521301317,
64
+ "eval_weighted_specificity": 0.9754600929277001,
65
+ "step": 1284
66
+ },
67
+ {
68
+ "epoch": 2.34,
69
+ "learning_rate": 3.836448598130841e-05,
70
+ "loss": 0.3354,
71
+ "step": 1500
72
+ },
73
+ {
74
+ "epoch": 3.0,
75
+ "eval_accuracy": 0.8326878388845856,
76
+ "eval_f1_macro": 0.7742114597713703,
77
+ "eval_f1_micro": 0.8326878388845856,
78
+ "eval_f1_weighted": 0.8281979563082781,
79
+ "eval_loss": 0.8046467304229736,
80
+ "eval_macro_fpr": 0.014819935806968648,
81
+ "eval_macro_sensitivity": 0.7581833318977771,
82
+ "eval_macro_specificity": 0.9872339538797621,
83
+ "eval_precision": 0.8276269450338689,
84
+ "eval_precision_macro": 0.8057581057880366,
85
+ "eval_recall": 0.8326878388845856,
86
+ "eval_recall_macro": 0.7581833318977771,
87
+ "eval_runtime": 1396.4981,
88
+ "eval_samples_per_second": 0.924,
89
+ "eval_steps_per_second": 0.463,
90
+ "eval_weighted_fpr": 0.01414908947988995,
91
+ "eval_weighted_sensitivity": 0.8326878388845856,
92
+ "eval_weighted_specificity": 0.9758214693118433,
93
+ "step": 1926
94
+ },
95
+ {
96
+ "epoch": 3.11,
97
+ "learning_rate": 3.4470404984423676e-05,
98
+ "loss": 0.2132,
99
+ "step": 2000
100
+ },
101
+ {
102
+ "epoch": 3.89,
103
+ "learning_rate": 3.057632398753894e-05,
104
+ "loss": 0.0571,
105
+ "step": 2500
106
+ },
107
+ {
108
+ "epoch": 4.0,
109
+ "eval_accuracy": 0.8264910921766073,
110
+ "eval_f1_macro": 0.7690440255949657,
111
+ "eval_f1_micro": 0.8264910921766073,
112
+ "eval_f1_weighted": 0.8261718999247398,
113
+ "eval_loss": 1.114306926727295,
114
+ "eval_macro_fpr": 0.015230795356958942,
115
+ "eval_macro_sensitivity": 0.7762905253241136,
116
+ "eval_macro_specificity": 0.9869101098294825,
117
+ "eval_precision": 0.8312136257886843,
118
+ "eval_precision_macro": 0.7904073004865061,
119
+ "eval_recall": 0.8264910921766073,
120
+ "eval_recall_macro": 0.7762905253241136,
121
+ "eval_runtime": 1399.2136,
122
+ "eval_samples_per_second": 0.923,
123
+ "eval_steps_per_second": 0.462,
124
+ "eval_weighted_fpr": 0.014773776546629732,
125
+ "eval_weighted_sensitivity": 0.8264910921766073,
126
+ "eval_weighted_specificity": 0.9771605552656325,
127
+ "step": 2569
128
+ },
129
+ {
130
+ "epoch": 4.67,
131
+ "learning_rate": 2.6682242990654205e-05,
132
+ "loss": 0.0187,
133
+ "step": 3000
134
+ },
135
+ {
136
+ "epoch": 5.0,
137
+ "eval_accuracy": 0.8319132455460883,
138
+ "eval_f1_macro": 0.7637547171369754,
139
+ "eval_f1_micro": 0.8319132455460883,
140
+ "eval_f1_weighted": 0.8302763212360192,
141
+ "eval_loss": 1.110449194908142,
142
+ "eval_macro_fpr": 0.014862942310551715,
143
+ "eval_macro_sensitivity": 0.7723638117326753,
144
+ "eval_macro_specificity": 0.9872593002552416,
145
+ "eval_precision": 0.8316344032874086,
146
+ "eval_precision_macro": 0.7744559231287563,
147
+ "eval_recall": 0.8319132455460883,
148
+ "eval_recall_macro": 0.7723638117326753,
149
+ "eval_runtime": 1397.1179,
150
+ "eval_samples_per_second": 0.924,
151
+ "eval_steps_per_second": 0.462,
152
+ "eval_weighted_fpr": 0.014226709499770536,
153
+ "eval_weighted_sensitivity": 0.8319132455460883,
154
+ "eval_weighted_specificity": 0.9769762582825359,
155
+ "step": 3211
156
+ },
157
+ {
158
+ "epoch": 5.45,
159
+ "learning_rate": 2.2788161993769472e-05,
160
+ "loss": 0.0071,
161
+ "step": 3500
162
+ },
163
+ {
164
+ "epoch": 6.0,
165
+ "eval_accuracy": 0.8241673121611154,
166
+ "eval_f1_macro": 0.745099817904837,
167
+ "eval_f1_micro": 0.8241673121611154,
168
+ "eval_f1_weighted": 0.8209070583364038,
169
+ "eval_loss": 1.144503116607666,
170
+ "eval_macro_fpr": 0.01570185641881881,
171
+ "eval_macro_sensitivity": 0.738352723089731,
172
+ "eval_macro_specificity": 0.9866424210438552,
173
+ "eval_precision": 0.8210083679630991,
174
+ "eval_precision_macro": 0.7683618012500858,
175
+ "eval_recall": 0.8241673121611154,
176
+ "eval_recall_macro": 0.738352723089731,
177
+ "eval_runtime": 1397.6847,
178
+ "eval_samples_per_second": 0.924,
179
+ "eval_steps_per_second": 0.462,
180
+ "eval_weighted_fpr": 0.015010249289162203,
181
+ "eval_weighted_sensitivity": 0.8241673121611154,
182
+ "eval_weighted_specificity": 0.9754690034967137,
183
+ "step": 3853
184
+ },
185
+ {
186
+ "epoch": 6.23,
187
+ "learning_rate": 1.8894080996884735e-05,
188
+ "loss": 0.0002,
189
+ "step": 4000
190
+ },
191
+ {
192
+ "epoch": 7.0,
193
+ "eval_accuracy": 0.8326878388845856,
194
+ "eval_f1_macro": 0.7617153787626418,
195
+ "eval_f1_micro": 0.8326878388845856,
196
+ "eval_f1_weighted": 0.8292501117913054,
197
+ "eval_loss": 1.2032252550125122,
198
+ "eval_macro_fpr": 0.014823835936918472,
199
+ "eval_macro_sensitivity": 0.752929076567028,
200
+ "eval_macro_specificity": 0.9872777146881934,
201
+ "eval_precision": 0.8301989992809635,
202
+ "eval_precision_macro": 0.7985351753450873,
203
+ "eval_recall": 0.8326878388845856,
204
+ "eval_recall_macro": 0.752929076567028,
205
+ "eval_runtime": 1403.2825,
206
+ "eval_samples_per_second": 0.92,
207
+ "eval_steps_per_second": 0.46,
208
+ "eval_weighted_fpr": 0.01414908947988995,
209
+ "eval_weighted_sensitivity": 0.8326878388845856,
210
+ "eval_weighted_specificity": 0.9764778814383137,
211
+ "step": 4495
212
+ },
213
+ {
214
+ "epoch": 7.01,
215
+ "learning_rate": 1.5e-05,
216
+ "loss": 0.0028,
217
+ "step": 4500
218
+ },
219
+ {
220
+ "epoch": 7.79,
221
+ "learning_rate": 1.1105919003115265e-05,
222
+ "loss": 0.0028,
223
+ "step": 5000
224
+ },
225
+ {
226
+ "epoch": 8.0,
227
+ "eval_accuracy": 0.82571649883811,
228
+ "eval_f1_macro": 0.755227710037701,
229
+ "eval_f1_micro": 0.82571649883811,
230
+ "eval_f1_weighted": 0.8229426380981488,
231
+ "eval_loss": 1.1918259859085083,
232
+ "eval_macro_fpr": 0.015546599693760165,
233
+ "eval_macro_sensitivity": 0.7493334411200354,
234
+ "eval_macro_specificity": 0.986754396380849,
235
+ "eval_precision": 0.8225901566549486,
236
+ "eval_precision_macro": 0.7737967354767298,
237
+ "eval_recall": 0.82571649883811,
238
+ "eval_recall_macro": 0.7493334411200354,
239
+ "eval_runtime": 1398.648,
240
+ "eval_samples_per_second": 0.923,
241
+ "eval_steps_per_second": 0.462,
242
+ "eval_weighted_fpr": 0.01485246550927454,
243
+ "eval_weighted_sensitivity": 0.82571649883811,
244
+ "eval_weighted_specificity": 0.975599446874626,
245
+ "step": 5138
246
+ }
247
+ ],
248
+ "logging_steps": 500,
249
+ "max_steps": 6420,
250
+ "num_train_epochs": 10,
251
+ "save_steps": 500,
252
+ "total_flos": 4.958193946019758e+17,
253
+ "trial_name": null,
254
+ "trial_params": null
255
+ }
training_checkpoints/checkpoint-5138/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63f5fd560de7929fa900a07f6b2ea1ff18602c1b6c7171e4c9203c260226c44b
3
+ size 4600