xshubhamx commited on
Commit
b9c8a48
·
verified ·
1 Parent(s): a6320dc

Upload folder using huggingface_hub

Browse files
training_checkpoints/checkpoint-3858/config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
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": 3072,
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
+ "layer_norm_eps": 1e-12,
49
+ "max_position_embeddings": 512,
50
+ "model_type": "bert",
51
+ "num_attention_heads": 12,
52
+ "num_hidden_layers": 12,
53
+ "pad_token_id": 0,
54
+ "position_embedding_type": "absolute",
55
+ "problem_type": "single_label_classification",
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.38.2",
58
+ "type_vocab_size": 2,
59
+ "use_cache": true,
60
+ "vocab_size": 28996
61
+ }
training_checkpoints/checkpoint-3858/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55a52f2cb67938f44443053a6d408a0c707f78d5225cab87f7e34ab56ef11da1
3
+ size 433310756
training_checkpoints/checkpoint-3858/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed44a627c5be6d29414b9425834c72c91d023af635635f1bf0d868e97e65fcf3
3
+ size 866742522
training_checkpoints/checkpoint-3858/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd458f48e0ba77628cf05a2ccfc043cd57b607a7e04f3ef0f07cbb712ab785d4
3
+ size 14244
training_checkpoints/checkpoint-3858/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d825a89eae08c6038586b332bd62c603d9c7a0c592c8fe74dc36e3b47f43ff8
3
+ size 1064
training_checkpoints/checkpoint-3858/trainer_state.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7297269343170936,
3
+ "best_model_checkpoint": "bert-base-cased/checkpoint-3858",
4
+ "epoch": 6.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3858,
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": 7.705796718597412,
14
+ "learning_rate": 4.742353551062727e-05,
15
+ "loss": 1.2487,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.7474825716498839,
21
+ "eval_f1_macro": 0.5695048097890428,
22
+ "eval_f1_micro": 0.7474825716498839,
23
+ "eval_f1_weighted": 0.7283975034665731,
24
+ "eval_loss": 0.8270060420036316,
25
+ "eval_macro_fpr": 0.02522988638938423,
26
+ "eval_macro_sensitivity": 0.5800853178643741,
27
+ "eval_macro_specificity": 0.980226637617229,
28
+ "eval_precision": 0.7315332878692975,
29
+ "eval_precision_macro": 0.594776387201485,
30
+ "eval_recall": 0.7474825716498839,
31
+ "eval_recall_macro": 0.5800853178643741,
32
+ "eval_runtime": 42.2559,
33
+ "eval_samples_per_second": 30.552,
34
+ "eval_steps_per_second": 3.834,
35
+ "eval_weighted_fpr": 0.023561723041341427,
36
+ "eval_weighted_sensitivity": 0.7474825716498839,
37
+ "eval_weighted_specificity": 0.9559169926085502,
38
+ "step": 643
39
+ },
40
+ {
41
+ "epoch": 1.56,
42
+ "grad_norm": 13.48304271697998,
43
+ "learning_rate": 4.48315189217211e-05,
44
+ "loss": 0.7012,
45
+ "step": 1000
46
+ },
47
+ {
48
+ "epoch": 2.0,
49
+ "eval_accuracy": 0.790859798605732,
50
+ "eval_f1_macro": 0.6824316339324086,
51
+ "eval_f1_micro": 0.790859798605732,
52
+ "eval_f1_weighted": 0.7872863568939508,
53
+ "eval_loss": 0.7202674746513367,
54
+ "eval_macro_fpr": 0.01923285837775677,
55
+ "eval_macro_sensitivity": 0.6952615189922304,
56
+ "eval_macro_specificity": 0.9841762605666529,
57
+ "eval_precision": 0.7909625108875821,
58
+ "eval_precision_macro": 0.6785401739993564,
59
+ "eval_recall": 0.790859798605732,
60
+ "eval_recall_macro": 0.6952615189922304,
61
+ "eval_runtime": 52.4321,
62
+ "eval_samples_per_second": 24.622,
63
+ "eval_steps_per_second": 3.09,
64
+ "eval_weighted_fpr": 0.018538862949739082,
65
+ "eval_weighted_sensitivity": 0.790859798605732,
66
+ "eval_weighted_specificity": 0.9717841098940598,
67
+ "step": 1286
68
+ },
69
+ {
70
+ "epoch": 2.33,
71
+ "grad_norm": 11.586973190307617,
72
+ "learning_rate": 4.223950233281493e-05,
73
+ "loss": 0.5493,
74
+ "step": 1500
75
+ },
76
+ {
77
+ "epoch": 3.0,
78
+ "eval_accuracy": 0.790859798605732,
79
+ "eval_f1_macro": 0.6984873137687091,
80
+ "eval_f1_micro": 0.790859798605732,
81
+ "eval_f1_weighted": 0.7838579936235549,
82
+ "eval_loss": 0.8681920766830444,
83
+ "eval_macro_fpr": 0.019233384024661505,
84
+ "eval_macro_sensitivity": 0.7065002388276227,
85
+ "eval_macro_specificity": 0.9841641637298395,
86
+ "eval_precision": 0.7861165362777838,
87
+ "eval_precision_macro": 0.6958085746565035,
88
+ "eval_recall": 0.790859798605732,
89
+ "eval_recall_macro": 0.7065002388276227,
90
+ "eval_runtime": 57.0976,
91
+ "eval_samples_per_second": 22.61,
92
+ "eval_steps_per_second": 2.837,
93
+ "eval_weighted_fpr": 0.018538862949739082,
94
+ "eval_weighted_sensitivity": 0.790859798605732,
95
+ "eval_weighted_specificity": 0.9716026573418609,
96
+ "step": 1929
97
+ },
98
+ {
99
+ "epoch": 3.11,
100
+ "grad_norm": 7.152871131896973,
101
+ "learning_rate": 3.964748574390876e-05,
102
+ "loss": 0.4285,
103
+ "step": 2000
104
+ },
105
+ {
106
+ "epoch": 3.89,
107
+ "grad_norm": 0.3684868812561035,
108
+ "learning_rate": 3.705546915500259e-05,
109
+ "loss": 0.2971,
110
+ "step": 2500
111
+ },
112
+ {
113
+ "epoch": 4.0,
114
+ "eval_accuracy": 0.8063516653756778,
115
+ "eval_f1_macro": 0.7144632794324105,
116
+ "eval_f1_micro": 0.8063516653756778,
117
+ "eval_f1_weighted": 0.8039470354467723,
118
+ "eval_loss": 0.988532304763794,
119
+ "eval_macro_fpr": 0.017401205821179152,
120
+ "eval_macro_sensitivity": 0.7227416412915404,
121
+ "eval_macro_specificity": 0.985390840274995,
122
+ "eval_precision": 0.8093102425599888,
123
+ "eval_precision_macro": 0.7202648764248779,
124
+ "eval_recall": 0.8063516653756778,
125
+ "eval_recall_macro": 0.7227416412915404,
126
+ "eval_runtime": 51.556,
127
+ "eval_samples_per_second": 25.041,
128
+ "eval_steps_per_second": 3.142,
129
+ "eval_weighted_fpr": 0.01686454398273071,
130
+ "eval_weighted_sensitivity": 0.8063516653756778,
131
+ "eval_weighted_specificity": 0.9745109387492492,
132
+ "step": 2572
133
+ },
134
+ {
135
+ "epoch": 4.67,
136
+ "grad_norm": 25.46174430847168,
137
+ "learning_rate": 3.447382063245205e-05,
138
+ "loss": 0.2142,
139
+ "step": 3000
140
+ },
141
+ {
142
+ "epoch": 5.0,
143
+ "eval_accuracy": 0.8009295120061968,
144
+ "eval_f1_macro": 0.7039859967430886,
145
+ "eval_f1_micro": 0.8009295120061968,
146
+ "eval_f1_weighted": 0.7982451722945229,
147
+ "eval_loss": 1.1663949489593506,
148
+ "eval_macro_fpr": 0.01786597526694271,
149
+ "eval_macro_sensitivity": 0.7128358984575243,
150
+ "eval_macro_specificity": 0.9851267313119202,
151
+ "eval_precision": 0.806175527772202,
152
+ "eval_precision_macro": 0.7229640343443433,
153
+ "eval_recall": 0.8009295120061968,
154
+ "eval_recall_macro": 0.7128358984575243,
155
+ "eval_runtime": 55.3401,
156
+ "eval_samples_per_second": 23.328,
157
+ "eval_steps_per_second": 2.927,
158
+ "eval_weighted_fpr": 0.017443833570895267,
159
+ "eval_weighted_sensitivity": 0.8009295120061968,
160
+ "eval_weighted_specificity": 0.9759714576726065,
161
+ "step": 3215
162
+ },
163
+ {
164
+ "epoch": 5.44,
165
+ "grad_norm": 31.176374435424805,
166
+ "learning_rate": 3.1881804043545884e-05,
167
+ "loss": 0.1312,
168
+ "step": 3500
169
+ },
170
+ {
171
+ "epoch": 6.0,
172
+ "eval_accuracy": 0.7947327652982185,
173
+ "eval_f1_macro": 0.7297269343170936,
174
+ "eval_f1_micro": 0.7947327652982183,
175
+ "eval_f1_weighted": 0.7930510417554495,
176
+ "eval_loss": 1.1734124422073364,
177
+ "eval_macro_fpr": 0.01886228540171014,
178
+ "eval_macro_sensitivity": 0.7344706268344197,
179
+ "eval_macro_specificity": 0.9845199114147345,
180
+ "eval_precision": 0.7993666538613493,
181
+ "eval_precision_macro": 0.7368333308017974,
182
+ "eval_recall": 0.7947327652982185,
183
+ "eval_recall_macro": 0.7344706268344197,
184
+ "eval_runtime": 54.2173,
185
+ "eval_samples_per_second": 23.812,
186
+ "eval_steps_per_second": 2.988,
187
+ "eval_weighted_fpr": 0.018114703670790894,
188
+ "eval_weighted_sensitivity": 0.7947327652982185,
189
+ "eval_weighted_specificity": 0.9730659059227994,
190
+ "step": 3858
191
+ }
192
+ ],
193
+ "logging_steps": 500,
194
+ "max_steps": 9645,
195
+ "num_input_tokens_seen": 0,
196
+ "num_train_epochs": 15,
197
+ "save_steps": 500,
198
+ "total_flos": 8112134366687232.0,
199
+ "train_batch_size": 8,
200
+ "trial_name": null,
201
+ "trial_params": null
202
+ }
training_checkpoints/checkpoint-3858/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15be8b8527640eed95000ae3add7b2970781d1e199e7d110cd9f2593b62d1de0
3
+ size 4920