Training 20251210_141008 - 7 classes with metrics

#26
by rkenji - opened
Files changed (3) hide show
  1. README.md +23 -21
  2. config.json +4 -2
  3. model.safetensors +2 -2
README.md CHANGED
@@ -19,15 +19,15 @@ model-index:
19
  type: legal_documents
20
  metrics:
21
  - type: accuracy
22
- value: 0.936231884057971
23
  - type: f1
24
- value: 0.9353615414017292
25
  - type: precision
26
- value: 0.9369069235885541
27
  - type: recall
28
- value: 0.936231884057971
29
  - type: f1_macro
30
- value: 0.8474441104841182
31
  ---
32
 
33
  # Model Card for Model ID
@@ -51,7 +51,7 @@ Este modelo foi treinado para classificar documentos jurídicos brasileiros usan
51
 
52
  - **Base Model:** google-bert/bert-base-multilingual-cased
53
  - **Tipo:** Classificação Multiclasse
54
- - **Número de Classes:** 6
55
  - **Idioma:** Português (Brasil)
56
  - **Domínio:** Documentos Jurídicos
57
 
@@ -63,32 +63,34 @@ Este modelo foi treinado para classificar documentos jurídicos brasileiros usan
63
  3. Citação
64
  4. Art. 40
65
  5. Não Influencia
 
66
 
67
  ## Métricas de Avaliação
68
 
69
  As métricas abaixo foram calculadas no conjunto de validação:
70
 
71
- - **Accuracy:** 0.9362
72
- - **F1-Score (Weighted):** 0.9354
73
- - **Precision (Weighted):** 0.9369
74
- - **Recall (Weighted):** 0.9362
75
- - **F1-Score (Macro):** 0.8474
76
 
77
  ## Classification Report Completo
78
 
79
  ```
80
  precision recall f1-score support
81
 
82
- 0 0.60 0.38 0.46 8
83
- 1 0.86 0.98 0.92 45
84
- 2 1.00 0.85 0.92 54
85
- 3 0.85 0.95 0.90 41
86
- 4 0.93 0.95 0.94 121
87
- 5 0.95 0.95 0.95 421
88
-
89
- accuracy 0.94 690
90
- macro avg 0.87 0.84 0.85 690
91
- weighted avg 0.94 0.94 0.94 690
 
92
 
93
  ```
94
 
 
19
  type: legal_documents
20
  metrics:
21
  - type: accuracy
22
+ value: 0.9140401146131805
23
  - type: f1
24
+ value: 0.8994284142023327
25
  - type: precision
26
+ value: 0.8874266057437488
27
  - type: recall
28
+ value: 0.9140401146131805
29
  - type: f1_macro
30
+ value: 0.6533238190381049
31
  ---
32
 
33
  # Model Card for Model ID
 
51
 
52
  - **Base Model:** google-bert/bert-base-multilingual-cased
53
  - **Tipo:** Classificação Multiclasse
54
+ - **Número de Classes:** 7
55
  - **Idioma:** Português (Brasil)
56
  - **Domínio:** Documentos Jurídicos
57
 
 
63
  3. Citação
64
  4. Art. 40
65
  5. Não Influencia
66
+ 6. Citação de arresto
67
 
68
  ## Métricas de Avaliação
69
 
70
  As métricas abaixo foram calculadas no conjunto de validação:
71
 
72
+ - **Accuracy:** 0.9140
73
+ - **F1-Score (Weighted):** 0.8994
74
+ - **Precision (Weighted):** 0.8874
75
+ - **Recall (Weighted):** 0.9140
76
+ - **F1-Score (Macro):** 0.6533
77
 
78
  ## Classification Report Completo
79
 
80
  ```
81
  precision recall f1-score support
82
 
83
+ 0 0.00 0.00 0.00 8
84
+ 1 0.98 0.96 0.97 46
85
+ 2 0.93 0.76 0.84 55
86
+ 3 0.85 0.97 0.91 36
87
+ 4 0.90 0.94 0.92 120
88
+ 5 0.92 0.96 0.94 420
89
+ 6 0.00 0.00 0.00 13
90
+
91
+ accuracy 0.91 698
92
+ macro avg 0.65 0.66 0.65 698
93
+ weighted avg 0.89 0.91 0.90 698
94
 
95
  ```
96
 
config.json CHANGED
@@ -15,7 +15,8 @@
15
  "2": "646bc57bc7605185f40b4263",
16
  "3": "646b78c3dc761bc8c743a0c6",
17
  "4": "645d42ebbacbc7baba32624d",
18
- "5": "64ac68185fe31ca8ad57a822"
 
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
@@ -25,6 +26,7 @@
25
  "646bb41b351734d0a39bb557": 0,
26
  "646bc57bc7605185f40b4263": 2,
27
  "64ac68185fe31ca8ad57a822": 5,
 
28
  "652026c3798f7600075f9d40": 1
29
  },
30
  "layer_norm_eps": 1e-12,
@@ -40,7 +42,7 @@
40
  "pooler_type": "first_token_transform",
41
  "position_embedding_type": "absolute",
42
  "problem_type": "single_label_classification",
43
- "transformers_version": "4.57.1",
44
  "type_vocab_size": 2,
45
  "use_cache": true,
46
  "vocab_size": 119547
 
15
  "2": "646bc57bc7605185f40b4263",
16
  "3": "646b78c3dc761bc8c743a0c6",
17
  "4": "645d42ebbacbc7baba32624d",
18
+ "5": "64ac68185fe31ca8ad57a822",
19
+ "6": "64ede93370af4a0007c2afb8"
20
  },
21
  "initializer_range": 0.02,
22
  "intermediate_size": 3072,
 
26
  "646bb41b351734d0a39bb557": 0,
27
  "646bc57bc7605185f40b4263": 2,
28
  "64ac68185fe31ca8ad57a822": 5,
29
+ "64ede93370af4a0007c2afb8": 6,
30
  "652026c3798f7600075f9d40": 1
31
  },
32
  "layer_norm_eps": 1e-12,
 
42
  "pooler_type": "first_token_transform",
43
  "position_embedding_type": "absolute",
44
  "problem_type": "single_label_classification",
45
+ "transformers_version": "4.57.3",
46
  "type_vocab_size": 2,
47
  "use_cache": true,
48
  "vocab_size": 119547
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ebbc0bde22fe9605d6b416bb40abfd1a9c25bb23293ebd059249447c5a5db0fb
3
- size 711455760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6cb3412f6c9418d62ef36479d9d4387a880ed96f8c0dcca2de855d591fe9c5a
3
+ size 711458836