Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-3215/config.json +63 -0
- training_checkpoints/checkpoint-3215/model.safetensors +3 -0
- training_checkpoints/checkpoint-3215/optimizer.pt +3 -0
- training_checkpoints/checkpoint-3215/rng_state.pth +3 -0
- training_checkpoints/checkpoint-3215/scheduler.pt +3 -0
- training_checkpoints/checkpoint-3215/trainer_state.json +173 -0
- training_checkpoints/checkpoint-3215/training_args.bin +3 -0
training_checkpoints/checkpoint-3215/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-3215/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ee603fe64ac707224ca46c48c091d724d6edd3ee7a0d927714c14c09798794f
|
3 |
+
size 791226496
|
training_checkpoints/checkpoint-3215/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2012d4f408d34f07b07b497adb0fdd6aad68929aa155a22759e6eab2d9c32050
|
3 |
+
size 1582499834
|
training_checkpoints/checkpoint-3215/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47dd849695d6ba2ba0448f6d77e58f632a2646a71b44533d30e946c29dfb53ab
|
3 |
+
size 14244
|
training_checkpoints/checkpoint-3215/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:798555486dcceeee5519eea3c934ee106ef50df9f4019504bb61635999f54e86
|
3 |
+
size 1064
|
training_checkpoints/checkpoint-3215/trainer_state.json
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.6012751387344262,
|
3 |
+
"best_model_checkpoint": "tiny-mistral/checkpoint-1929",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3215,
|
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 |
+
"logging_steps": 500,
|
165 |
+
"max_steps": 9645,
|
166 |
+
"num_input_tokens_seen": 0,
|
167 |
+
"num_train_epochs": 15,
|
168 |
+
"save_steps": 500,
|
169 |
+
"total_flos": 1.431761087102976e+16,
|
170 |
+
"train_batch_size": 8,
|
171 |
+
"trial_name": null,
|
172 |
+
"trial_params": null
|
173 |
+
}
|
training_checkpoints/checkpoint-3215/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae13135576265f1180bcf8daa3dbfb279a0746197d617e38954842ee54fec7e1
|
3 |
+
size 4920
|