adalbertojunior
commited on
Commit
•
23ac9f2
1
Parent(s):
f452269
Upload 16 files
Browse files- predictions.txt +0 -0
- predictions_classification_report.txt +23 -0
- tokenizer.json +1 -6
- tokenizer_config.json +0 -1
- train_results.json +6 -6
- trainer_state.json +119 -96
- training_args.bin +2 -2
predictions.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
predictions_classification_report.txt
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
precision recall f1-score support
|
2 |
+
|
3 |
+
ATRIBUICAO 0.82 0.82 0.82 221
|
4 |
+
DECISAO 0.81 0.82 0.82 544
|
5 |
+
FUNCAO 0.94 0.89 0.91 486
|
6 |
+
FUNDAMENTO 0.89 0.83 0.86 1501
|
7 |
+
LOCAL 0.85 0.84 0.85 245
|
8 |
+
ORGANIZACAO 0.90 0.86 0.88 626
|
9 |
+
PEDIDO 0.86 0.81 0.83 4341
|
10 |
+
PESSOA 0.95 0.94 0.95 654
|
11 |
+
REFLEXO 0.85 0.84 0.85 358
|
12 |
+
TIPO_ACAO 0.93 0.89 0.91 341
|
13 |
+
TRIBUNAL 0.96 0.92 0.94 190
|
14 |
+
VALOR_ACORDO 0.91 0.71 0.79 41
|
15 |
+
VALOR_CAUSA 0.89 0.92 0.90 62
|
16 |
+
VALOR_CONDENACAO 0.89 0.76 0.82 72
|
17 |
+
VALOR_CUSTAS 0.95 0.93 0.94 134
|
18 |
+
VALOR_PEDIDO 0.94 0.81 0.87 308
|
19 |
+
VARA 0.95 0.96 0.96 81
|
20 |
+
|
21 |
+
micro avg 0.88 0.84 0.86 10205
|
22 |
+
macro avg 0.90 0.86 0.88 10205
|
23 |
+
weighted avg 0.88 0.84 0.86 10205
|
tokenizer.json
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
"direction": "Right",
|
5 |
-
"max_length": 512,
|
6 |
-
"strategy": "LongestFirst",
|
7 |
-
"stride": 0
|
8 |
-
},
|
9 |
"padding": null,
|
10 |
"added_tokens": [
|
11 |
{
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": null,
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": null,
|
5 |
"added_tokens": [
|
6 |
{
|
tokenizer_config.json
CHANGED
@@ -47,7 +47,6 @@
|
|
47 |
"cls_token": "<s>",
|
48 |
"eos_token": "</s>",
|
49 |
"errors": "replace",
|
50 |
-
"extra_special_tokens": {},
|
51 |
"mask_token": "<mask>",
|
52 |
"max_length": 512,
|
53 |
"model_max_length": 512,
|
|
|
47 |
"cls_token": "<s>",
|
48 |
"eos_token": "</s>",
|
49 |
"errors": "replace",
|
|
|
50 |
"mask_token": "<mask>",
|
51 |
"max_length": 512,
|
52 |
"model_max_length": 512,
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"total_flos":
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 23148,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second":
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 9.979267449896337,
|
3 |
+
"total_flos": 6112468258365600.0,
|
4 |
+
"train_loss": 0.10573644003214268,
|
5 |
+
"train_runtime": 1226.1602,
|
6 |
"train_samples": 23148,
|
7 |
+
"train_samples_per_second": 188.784,
|
8 |
+
"train_steps_per_second": 2.944
|
9 |
}
|
trainer_state.json
CHANGED
@@ -1,138 +1,161 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
3 |
-
"best_model_checkpoint": "./models/entities/
|
4 |
-
"epoch":
|
5 |
-
"eval_steps":
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
-
"epoch": 1.
|
13 |
-
"grad_norm":
|
14 |
"learning_rate": 0.0002,
|
15 |
-
"loss":
|
16 |
"step": 500
|
17 |
},
|
18 |
{
|
19 |
-
"epoch":
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
|
25 |
-
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"loss": 0.6034,
|
30 |
-
"step": 1500
|
31 |
},
|
32 |
{
|
33 |
-
"epoch":
|
34 |
-
"grad_norm":
|
35 |
-
"learning_rate": 0.
|
36 |
-
"loss": 0.
|
37 |
-
"step":
|
38 |
},
|
39 |
{
|
40 |
-
"epoch":
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
|
|
|
|
|
|
|
|
|
|
45 |
},
|
46 |
{
|
47 |
-
"epoch":
|
48 |
-
"grad_norm":
|
49 |
-
"learning_rate": 0.
|
50 |
-
"loss": 0.
|
51 |
-
"step":
|
52 |
},
|
53 |
{
|
54 |
-
"epoch":
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
58 |
-
"
|
|
|
|
|
|
|
|
|
|
|
59 |
},
|
60 |
{
|
61 |
-
"epoch":
|
62 |
-
"grad_norm":
|
63 |
-
"learning_rate":
|
64 |
-
"loss": 0.
|
65 |
-
"step":
|
66 |
},
|
67 |
{
|
68 |
-
"epoch":
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"
|
72 |
-
"
|
|
|
|
|
|
|
|
|
|
|
73 |
},
|
74 |
{
|
75 |
-
"epoch":
|
76 |
-
"grad_norm":
|
77 |
-
"learning_rate":
|
78 |
-
"loss": 0.
|
79 |
-
"step":
|
80 |
},
|
81 |
{
|
82 |
-
"epoch":
|
83 |
-
"
|
84 |
-
"
|
85 |
-
"
|
86 |
-
"
|
|
|
|
|
|
|
|
|
|
|
87 |
},
|
88 |
{
|
89 |
-
"epoch":
|
90 |
-
"grad_norm":
|
91 |
-
"learning_rate": 3.
|
92 |
-
"loss": 0.
|
93 |
-
"step":
|
94 |
},
|
95 |
{
|
96 |
-
"epoch":
|
97 |
-
"
|
98 |
-
"
|
99 |
-
"
|
100 |
-
"
|
|
|
|
|
|
|
|
|
|
|
101 |
},
|
102 |
{
|
103 |
-
"epoch":
|
104 |
-
"grad_norm":
|
105 |
-
"learning_rate":
|
106 |
-
"loss": 0.
|
107 |
-
"step":
|
108 |
},
|
109 |
{
|
110 |
-
"epoch":
|
111 |
-
"eval_accuracy": 0.
|
112 |
-
"eval_f1": 0.
|
113 |
-
"eval_loss": 0.
|
114 |
-
"eval_precision": 0.
|
115 |
-
"eval_recall": 0.
|
116 |
-
"eval_runtime":
|
117 |
-
"eval_samples_per_second":
|
118 |
-
"eval_steps_per_second":
|
119 |
-
"step":
|
120 |
},
|
121 |
{
|
122 |
-
"epoch":
|
123 |
-
"step":
|
124 |
-
"total_flos":
|
125 |
-
"train_loss": 0.
|
126 |
-
"train_runtime":
|
127 |
-
"train_samples_per_second":
|
128 |
-
"train_steps_per_second":
|
129 |
}
|
130 |
],
|
131 |
"logging_steps": 500,
|
132 |
-
"max_steps":
|
133 |
"num_input_tokens_seen": 0,
|
134 |
-
"num_train_epochs":
|
135 |
-
"save_steps":
|
136 |
"stateful_callbacks": {
|
137 |
"TrainerControl": {
|
138 |
"args": {
|
@@ -145,7 +168,7 @@
|
|
145 |
"attributes": {}
|
146 |
}
|
147 |
},
|
148 |
-
"total_flos":
|
149 |
"train_batch_size": 8,
|
150 |
"trial_name": null,
|
151 |
"trial_params": null
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.8648728562980484,
|
3 |
+
"best_model_checkpoint": "./models/entities/test_v4/checkpoint-3500",
|
4 |
+
"epoch": 9.979267449896337,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3610,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
+
"epoch": 1.38217000691085,
|
13 |
+
"grad_norm": 0.9774827361106873,
|
14 |
"learning_rate": 0.0002,
|
15 |
+
"loss": 0.5764,
|
16 |
"step": 500
|
17 |
},
|
18 |
{
|
19 |
+
"epoch": 1.38217000691085,
|
20 |
+
"eval_accuracy": 0.9593812772012053,
|
21 |
+
"eval_f1": 0.7594292979234355,
|
22 |
+
"eval_loss": 0.1411387324333191,
|
23 |
+
"eval_precision": 0.708673872923807,
|
24 |
+
"eval_recall": 0.8180158247108947,
|
25 |
+
"eval_runtime": 199.3049,
|
26 |
+
"eval_samples_per_second": 24.886,
|
27 |
+
"eval_steps_per_second": 24.886,
|
28 |
+
"step": 500
|
|
|
|
|
29 |
},
|
30 |
{
|
31 |
+
"epoch": 2.7643400138217,
|
32 |
+
"grad_norm": 0.7694200873374939,
|
33 |
+
"learning_rate": 0.00016784565916398716,
|
34 |
+
"loss": 0.09,
|
35 |
+
"step": 1000
|
36 |
},
|
37 |
{
|
38 |
+
"epoch": 2.7643400138217,
|
39 |
+
"eval_accuracy": 0.9687447689989956,
|
40 |
+
"eval_f1": 0.8259538274605103,
|
41 |
+
"eval_loss": 0.11496158689260483,
|
42 |
+
"eval_precision": 0.792852477372399,
|
43 |
+
"eval_recall": 0.8619395414891459,
|
44 |
+
"eval_runtime": 48.3856,
|
45 |
+
"eval_samples_per_second": 102.51,
|
46 |
+
"eval_steps_per_second": 102.51,
|
47 |
+
"step": 1000
|
48 |
},
|
49 |
{
|
50 |
+
"epoch": 4.14651002073255,
|
51 |
+
"grad_norm": 0.625320315361023,
|
52 |
+
"learning_rate": 0.0001356913183279743,
|
53 |
+
"loss": 0.0463,
|
54 |
+
"step": 1500
|
55 |
},
|
56 |
{
|
57 |
+
"epoch": 4.14651002073255,
|
58 |
+
"eval_accuracy": 0.9703716103113492,
|
59 |
+
"eval_f1": 0.8380395025603511,
|
60 |
+
"eval_loss": 0.13039253652095795,
|
61 |
+
"eval_precision": 0.8069878839109609,
|
62 |
+
"eval_recall": 0.8715763846622033,
|
63 |
+
"eval_runtime": 46.9044,
|
64 |
+
"eval_samples_per_second": 105.747,
|
65 |
+
"eval_steps_per_second": 105.747,
|
66 |
+
"step": 1500
|
67 |
},
|
68 |
{
|
69 |
+
"epoch": 5.5286800276434,
|
70 |
+
"grad_norm": 0.4629702866077423,
|
71 |
+
"learning_rate": 0.00010353697749196143,
|
72 |
+
"loss": 0.023,
|
73 |
+
"step": 2000
|
74 |
},
|
75 |
{
|
76 |
+
"epoch": 5.5286800276434,
|
77 |
+
"eval_accuracy": 0.9716950535654503,
|
78 |
+
"eval_f1": 0.8417248620403379,
|
79 |
+
"eval_loss": 0.1349513679742813,
|
80 |
+
"eval_precision": 0.8115641774178359,
|
81 |
+
"eval_recall": 0.8742138364779874,
|
82 |
+
"eval_runtime": 47.4889,
|
83 |
+
"eval_samples_per_second": 104.446,
|
84 |
+
"eval_steps_per_second": 104.446,
|
85 |
+
"step": 2000
|
86 |
},
|
87 |
{
|
88 |
+
"epoch": 6.91085003455425,
|
89 |
+
"grad_norm": 0.1776706427335739,
|
90 |
+
"learning_rate": 7.138263665594856e-05,
|
91 |
+
"loss": 0.0147,
|
92 |
+
"step": 2500
|
93 |
},
|
94 |
{
|
95 |
+
"epoch": 6.91085003455425,
|
96 |
+
"eval_accuracy": 0.9736305239370606,
|
97 |
+
"eval_f1": 0.8591340450771056,
|
98 |
+
"eval_loss": 0.14083334803581238,
|
99 |
+
"eval_precision": 0.8377674956622325,
|
100 |
+
"eval_recall": 0.8816189896530736,
|
101 |
+
"eval_runtime": 47.4474,
|
102 |
+
"eval_samples_per_second": 104.537,
|
103 |
+
"eval_steps_per_second": 104.537,
|
104 |
+
"step": 2500
|
105 |
},
|
106 |
{
|
107 |
+
"epoch": 8.2930200414651,
|
108 |
+
"grad_norm": 0.7263190746307373,
|
109 |
+
"learning_rate": 3.92282958199357e-05,
|
110 |
+
"loss": 0.0078,
|
111 |
+
"step": 3000
|
112 |
},
|
113 |
{
|
114 |
+
"epoch": 8.2930200414651,
|
115 |
+
"eval_accuracy": 0.9740594660194175,
|
116 |
+
"eval_f1": 0.8621834580504485,
|
117 |
+
"eval_loss": 0.14879639446735382,
|
118 |
+
"eval_precision": 0.8428446855924814,
|
119 |
+
"eval_recall": 0.8824305132886995,
|
120 |
+
"eval_runtime": 49.4794,
|
121 |
+
"eval_samples_per_second": 100.244,
|
122 |
+
"eval_steps_per_second": 100.244,
|
123 |
+
"step": 3000
|
124 |
},
|
125 |
{
|
126 |
+
"epoch": 9.675190048375951,
|
127 |
+
"grad_norm": 0.21800673007965088,
|
128 |
+
"learning_rate": 7.07395498392283e-06,
|
129 |
+
"loss": 0.0045,
|
130 |
+
"step": 3500
|
131 |
},
|
132 |
{
|
133 |
+
"epoch": 9.675190048375951,
|
134 |
+
"eval_accuracy": 0.9743680950786743,
|
135 |
+
"eval_f1": 0.8648728562980484,
|
136 |
+
"eval_loss": 0.16495844721794128,
|
137 |
+
"eval_precision": 0.8410005750431282,
|
138 |
+
"eval_recall": 0.8901399878271454,
|
139 |
+
"eval_runtime": 46.0436,
|
140 |
+
"eval_samples_per_second": 107.724,
|
141 |
+
"eval_steps_per_second": 107.724,
|
142 |
+
"step": 3500
|
143 |
},
|
144 |
{
|
145 |
+
"epoch": 9.979267449896337,
|
146 |
+
"step": 3610,
|
147 |
+
"total_flos": 6112468258365600.0,
|
148 |
+
"train_loss": 0.10573644003214268,
|
149 |
+
"train_runtime": 1226.1602,
|
150 |
+
"train_samples_per_second": 188.784,
|
151 |
+
"train_steps_per_second": 2.944
|
152 |
}
|
153 |
],
|
154 |
"logging_steps": 500,
|
155 |
+
"max_steps": 3610,
|
156 |
"num_input_tokens_seen": 0,
|
157 |
+
"num_train_epochs": 10,
|
158 |
+
"save_steps": 500,
|
159 |
"stateful_callbacks": {
|
160 |
"TrainerControl": {
|
161 |
"args": {
|
|
|
168 |
"attributes": {}
|
169 |
}
|
170 |
},
|
171 |
+
"total_flos": 6112468258365600.0,
|
172 |
"train_batch_size": 8,
|
173 |
"trial_name": null,
|
174 |
"trial_params": null
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7b5b580be52a23cc8fd6464c850212c94c3c5d774845e938169137e4340fb07
|
3 |
+
size 5240
|