Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-3858/config.json +63 -0
- training_checkpoints/checkpoint-3858/model.safetensors +3 -0
- training_checkpoints/checkpoint-3858/optimizer.pt +3 -0
- training_checkpoints/checkpoint-3858/rng_state.pth +3 -0
- training_checkpoints/checkpoint-3858/scheduler.pt +3 -0
- training_checkpoints/checkpoint-3858/trainer_state.json +202 -0
- training_checkpoints/checkpoint-3858/training_args.bin +3 -0
training_checkpoints/checkpoint-3858/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-3858/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a73f2e95cdd061ad8eba1e0efc8b4936cea3b79206ab5851b382eb3a8c963af6
|
3 |
+
size 791226496
|
training_checkpoints/checkpoint-3858/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38df991af9535ff4eba7f9b798b99bc436c784de03113919f9df22793070726f
|
3 |
+
size 1582499834
|
training_checkpoints/checkpoint-3858/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64b35a5dbf48e38ea0c5075e0936455402ab060974fea77a6c3c00c74f36d985
|
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.6114593419504739,
|
3 |
+
"best_model_checkpoint": "tiny-mistral/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": 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 |
+
"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": 1.7181133045235712e+16,
|
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:ae13135576265f1180bcf8daa3dbfb279a0746197d617e38954842ee54fec7e1
|
3 |
+
size 4920
|