xshubhamx commited on
Commit
4abd003
1 Parent(s): a48c729

Upload folder using huggingface_hub

Browse files
training_checkpoints/checkpoint-5144/config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openaccess-ai-collective/tiny-mistral",
3
+ "architectures": [
4
+ "MistralForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "dropout_p": 0.1,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 512,
12
+ "id2label": {
13
+ "0": "Issue",
14
+ "1": "Court Discourse",
15
+ "2": "Conclusion",
16
+ "3": "Precedent Analysis",
17
+ "4": "Section Analysis",
18
+ "5": "Argument by Petitioner",
19
+ "6": "Fact",
20
+ "7": "Argument by Respondent",
21
+ "8": "Ratio",
22
+ "9": "Appellant",
23
+ "10": "Respondent",
24
+ "11": "Argument by Appellant",
25
+ "12": "Petitioner",
26
+ "13": "Judge",
27
+ "14": "Argument by Defendant"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 14336,
31
+ "label2id": {
32
+ "Appellant": 9,
33
+ "Argument by Appellant": 11,
34
+ "Argument by Defendant": 14,
35
+ "Argument by Petitioner": 5,
36
+ "Argument by Respondent": 7,
37
+ "Conclusion": 2,
38
+ "Court Discourse": 1,
39
+ "Fact": 6,
40
+ "Issue": 0,
41
+ "Judge": 13,
42
+ "Petitioner": 12,
43
+ "Precedent Analysis": 3,
44
+ "Ratio": 8,
45
+ "Respondent": 10,
46
+ "Section Analysis": 4
47
+ },
48
+ "max_position_embeddings": 32768,
49
+ "model_type": "mistral",
50
+ "num_attention_heads": 16,
51
+ "num_hidden_layers": 8,
52
+ "num_key_value_heads": 4,
53
+ "pad_token_id": 32000,
54
+ "problem_type": "single_label_classification",
55
+ "rms_norm_eps": 1e-05,
56
+ "rope_theta": 10000.0,
57
+ "sliding_window": 4096,
58
+ "tie_word_embeddings": false,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.39.3",
61
+ "use_cache": true,
62
+ "vocab_size": 32001
63
+ }
training_checkpoints/checkpoint-5144/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f49d28444f6f8be46f50c4e2cecf5f7a7a780d239c55711305867f9029eb447
3
+ size 791226496
training_checkpoints/checkpoint-5144/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fa2bb98097890c19045578b8a8e61c899f765c9c2866e909834adc73ae5e832
3
+ size 1582499834
training_checkpoints/checkpoint-5144/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38fbaa4aaa427747240a6b65afd267f1edcb968fa67c3bf21b881737ad1b8da3
3
+ size 14244
training_checkpoints/checkpoint-5144/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aa68408c126f1c30bfd7fb24462954f9213b8c6066139d17139e84482d913a1
3
+ size 1064
training_checkpoints/checkpoint-5144/trainer_state.json ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6236987905363891,
3
+ "best_model_checkpoint": "tiny-mistral/checkpoint-5144",
4
+ "epoch": 8.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5144,
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
+ "grad_norm": 13.069233894348145,
14
+ "learning_rate": 4.7413167444271646e-05,
15
+ "loss": 1.4479,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.6498838109992254,
21
+ "eval_f1_macro": 0.45467871431664447,
22
+ "eval_f1_micro": 0.6498838109992254,
23
+ "eval_f1_weighted": 0.6214028764904677,
24
+ "eval_loss": 1.118202805519104,
25
+ "eval_macro_fpr": 0.039027492204575735,
26
+ "eval_macro_sensitivity": 0.4743680961365506,
27
+ "eval_macro_specificity": 0.9731278674075015,
28
+ "eval_precision": 0.6258370043663808,
29
+ "eval_precision_macro": 0.4712458606651466,
30
+ "eval_recall": 0.6498838109992254,
31
+ "eval_recall_macro": 0.4743680961365506,
32
+ "eval_runtime": 52.8829,
33
+ "eval_samples_per_second": 24.412,
34
+ "eval_steps_per_second": 3.063,
35
+ "eval_weighted_fpr": 0.03705525495982948,
36
+ "eval_weighted_sensitivity": 0.6498838109992254,
37
+ "eval_weighted_specificity": 0.9470342001132973,
38
+ "step": 643
39
+ },
40
+ {
41
+ "epoch": 1.56,
42
+ "grad_norm": 42.20966720581055,
43
+ "learning_rate": 4.482115085536548e-05,
44
+ "loss": 0.8133,
45
+ "step": 1000
46
+ },
47
+ {
48
+ "epoch": 2.0,
49
+ "eval_accuracy": 0.6986831913245546,
50
+ "eval_f1_macro": 0.5473679856051097,
51
+ "eval_f1_micro": 0.6986831913245546,
52
+ "eval_f1_weighted": 0.6969580552726153,
53
+ "eval_loss": 1.0854355096817017,
54
+ "eval_macro_fpr": 0.030488809177152586,
55
+ "eval_macro_sensitivity": 0.552765390116517,
56
+ "eval_macro_specificity": 0.9773020581125585,
57
+ "eval_precision": 0.7196764053623382,
58
+ "eval_precision_macro": 0.5876945028566362,
59
+ "eval_recall": 0.6986831913245546,
60
+ "eval_recall_macro": 0.552765390116517,
61
+ "eval_runtime": 93.8123,
62
+ "eval_samples_per_second": 13.762,
63
+ "eval_steps_per_second": 1.727,
64
+ "eval_weighted_fpr": 0.029883997848966736,
65
+ "eval_weighted_sensitivity": 0.6986831913245546,
66
+ "eval_weighted_specificity": 0.9608476803638234,
67
+ "step": 1286
68
+ },
69
+ {
70
+ "epoch": 2.33,
71
+ "grad_norm": 26.4113712310791,
72
+ "learning_rate": 4.223950233281493e-05,
73
+ "loss": 0.5592,
74
+ "step": 1500
75
+ },
76
+ {
77
+ "epoch": 3.0,
78
+ "eval_accuracy": 0.6986831913245546,
79
+ "eval_f1_macro": 0.6012751387344262,
80
+ "eval_f1_micro": 0.6986831913245546,
81
+ "eval_f1_weighted": 0.6997681579317561,
82
+ "eval_loss": 1.6113793849945068,
83
+ "eval_macro_fpr": 0.030358926871943602,
84
+ "eval_macro_sensitivity": 0.5880627120151358,
85
+ "eval_macro_specificity": 0.9773067719065487,
86
+ "eval_precision": 0.7107021565435693,
87
+ "eval_precision_macro": 0.6368062038606529,
88
+ "eval_recall": 0.6986831913245546,
89
+ "eval_recall_macro": 0.5880627120151358,
90
+ "eval_runtime": 96.7771,
91
+ "eval_samples_per_second": 13.34,
92
+ "eval_steps_per_second": 1.674,
93
+ "eval_weighted_fpr": 0.029883997848966736,
94
+ "eval_weighted_sensitivity": 0.6986831913245546,
95
+ "eval_weighted_specificity": 0.9609183872736765,
96
+ "step": 1929
97
+ },
98
+ {
99
+ "epoch": 3.11,
100
+ "grad_norm": 0.03971128165721893,
101
+ "learning_rate": 3.964748574390876e-05,
102
+ "loss": 0.3916,
103
+ "step": 2000
104
+ },
105
+ {
106
+ "epoch": 3.89,
107
+ "grad_norm": 13.533605575561523,
108
+ "learning_rate": 3.705546915500259e-05,
109
+ "loss": 0.2375,
110
+ "step": 2500
111
+ },
112
+ {
113
+ "epoch": 4.0,
114
+ "eval_accuracy": 0.6955848179705655,
115
+ "eval_f1_macro": 0.5698961254173763,
116
+ "eval_f1_micro": 0.6955848179705655,
117
+ "eval_f1_weighted": 0.6923294650516646,
118
+ "eval_loss": 1.7778925895690918,
119
+ "eval_macro_fpr": 0.030968414851007965,
120
+ "eval_macro_sensitivity": 0.5666678921166624,
121
+ "eval_macro_specificity": 0.9768109367511323,
122
+ "eval_precision": 0.7000704251293273,
123
+ "eval_precision_macro": 0.584042243736088,
124
+ "eval_recall": 0.6955848179705655,
125
+ "eval_recall_macro": 0.5666678921166624,
126
+ "eval_runtime": 94.9154,
127
+ "eval_samples_per_second": 13.602,
128
+ "eval_steps_per_second": 1.707,
129
+ "eval_weighted_fpr": 0.030312379483224065,
130
+ "eval_weighted_sensitivity": 0.6955848179705655,
131
+ "eval_weighted_specificity": 0.956579233296421,
132
+ "step": 2572
133
+ },
134
+ {
135
+ "epoch": 4.67,
136
+ "grad_norm": 0.2196340560913086,
137
+ "learning_rate": 3.446345256609643e-05,
138
+ "loss": 0.1586,
139
+ "step": 3000
140
+ },
141
+ {
142
+ "epoch": 5.0,
143
+ "eval_accuracy": 0.6948102246320682,
144
+ "eval_f1_macro": 0.5694948674292386,
145
+ "eval_f1_micro": 0.6948102246320682,
146
+ "eval_f1_weighted": 0.691666971595594,
147
+ "eval_loss": 2.175213575363159,
148
+ "eval_macro_fpr": 0.03156565589564158,
149
+ "eval_macro_sensitivity": 0.5798857481261962,
150
+ "eval_macro_specificity": 0.9769938659292313,
151
+ "eval_precision": 0.7011163809357478,
152
+ "eval_precision_macro": 0.5797124163320468,
153
+ "eval_recall": 0.6948102246320682,
154
+ "eval_recall_macro": 0.5798857481261962,
155
+ "eval_runtime": 96.1916,
156
+ "eval_samples_per_second": 13.421,
157
+ "eval_steps_per_second": 1.684,
158
+ "eval_weighted_fpr": 0.03042001235330451,
159
+ "eval_weighted_sensitivity": 0.6948102246320682,
160
+ "eval_weighted_specificity": 0.9600977643064038,
161
+ "step": 3215
162
+ },
163
+ {
164
+ "epoch": 5.44,
165
+ "grad_norm": 0.0076691824942827225,
166
+ "learning_rate": 3.1881804043545884e-05,
167
+ "loss": 0.0956,
168
+ "step": 3500
169
+ },
170
+ {
171
+ "epoch": 6.0,
172
+ "eval_accuracy": 0.7079783113865221,
173
+ "eval_f1_macro": 0.6114593419504739,
174
+ "eval_f1_micro": 0.7079783113865221,
175
+ "eval_f1_weighted": 0.710498142821041,
176
+ "eval_loss": 2.326085329055786,
177
+ "eval_macro_fpr": 0.029146593037922882,
178
+ "eval_macro_sensitivity": 0.6191389353797161,
179
+ "eval_macro_specificity": 0.9781721436893602,
180
+ "eval_precision": 0.7213132077015695,
181
+ "eval_precision_macro": 0.6169445235048693,
182
+ "eval_recall": 0.7079783113865221,
183
+ "eval_recall_macro": 0.6191389353797161,
184
+ "eval_runtime": 108.9589,
185
+ "eval_samples_per_second": 11.849,
186
+ "eval_steps_per_second": 1.487,
187
+ "eval_weighted_fpr": 0.028619145221285964,
188
+ "eval_weighted_sensitivity": 0.7079783113865221,
189
+ "eval_weighted_specificity": 0.9646038439538819,
190
+ "step": 3858
191
+ },
192
+ {
193
+ "epoch": 6.22,
194
+ "grad_norm": 0.003827617969363928,
195
+ "learning_rate": 2.928978745463971e-05,
196
+ "loss": 0.0623,
197
+ "step": 4000
198
+ },
199
+ {
200
+ "epoch": 7.0,
201
+ "grad_norm": 0.007828492671251297,
202
+ "learning_rate": 2.669777086573354e-05,
203
+ "loss": 0.044,
204
+ "step": 4500
205
+ },
206
+ {
207
+ "epoch": 7.0,
208
+ "eval_accuracy": 0.715724244771495,
209
+ "eval_f1_macro": 0.6014076418730009,
210
+ "eval_f1_micro": 0.715724244771495,
211
+ "eval_f1_weighted": 0.7131079309029965,
212
+ "eval_loss": 2.330761671066284,
213
+ "eval_macro_fpr": 0.028468870564731498,
214
+ "eval_macro_sensitivity": 0.5938828421663026,
215
+ "eval_macro_specificity": 0.9784561846662306,
216
+ "eval_precision": 0.7142878695652373,
217
+ "eval_precision_macro": 0.6184199211909682,
218
+ "eval_recall": 0.715724244771495,
219
+ "eval_recall_macro": 0.5938828421663026,
220
+ "eval_runtime": 106.6283,
221
+ "eval_samples_per_second": 12.107,
222
+ "eval_steps_per_second": 1.519,
223
+ "eval_weighted_fpr": 0.027587762158911525,
224
+ "eval_weighted_sensitivity": 0.715724244771495,
225
+ "eval_weighted_specificity": 0.9611185252219651,
226
+ "step": 4501
227
+ },
228
+ {
229
+ "epoch": 7.78,
230
+ "grad_norm": 0.0054510668851435184,
231
+ "learning_rate": 2.4105754276827372e-05,
232
+ "loss": 0.0212,
233
+ "step": 5000
234
+ },
235
+ {
236
+ "epoch": 8.0,
237
+ "eval_accuracy": 0.7126258714175058,
238
+ "eval_f1_macro": 0.6236987905363891,
239
+ "eval_f1_micro": 0.7126258714175058,
240
+ "eval_f1_weighted": 0.7047150280912466,
241
+ "eval_loss": 2.5606603622436523,
242
+ "eval_macro_fpr": 0.029426308648760717,
243
+ "eval_macro_sensitivity": 0.6174588332474265,
244
+ "eval_macro_specificity": 0.9780489131013995,
245
+ "eval_precision": 0.7033345220138081,
246
+ "eval_precision_macro": 0.6494012124714204,
247
+ "eval_recall": 0.7126258714175058,
248
+ "eval_recall_macro": 0.6174588332474265,
249
+ "eval_runtime": 94.9282,
250
+ "eval_samples_per_second": 13.6,
251
+ "eval_steps_per_second": 1.707,
252
+ "eval_weighted_fpr": 0.027997886951928157,
253
+ "eval_weighted_sensitivity": 0.7126258714175058,
254
+ "eval_weighted_specificity": 0.9581078251034848,
255
+ "step": 5144
256
+ }
257
+ ],
258
+ "logging_steps": 500,
259
+ "max_steps": 9645,
260
+ "num_input_tokens_seen": 0,
261
+ "num_train_epochs": 15,
262
+ "save_steps": 500,
263
+ "total_flos": 2.2908177393647616e+16,
264
+ "train_batch_size": 8,
265
+ "trial_name": null,
266
+ "trial_params": null
267
+ }
training_checkpoints/checkpoint-5144/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae13135576265f1180bcf8daa3dbfb279a0746197d617e38954842ee54fec7e1
3
+ size 4920