Training 20251205_141523 - 7 classes with metrics
Browse files- README.md +22 -24
- config.json +2 -4
- 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.
|
| 23 |
- type: f1
|
| 24 |
-
value: 0.
|
| 25 |
- type: precision
|
| 26 |
-
value: 0.
|
| 27 |
- type: recall
|
| 28 |
-
value: 0.
|
| 29 |
- type: f1_macro
|
| 30 |
-
value: 0.
|
| 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:**
|
| 55 |
- **Idioma:** Português (Brasil)
|
| 56 |
- **Domínio:** Documentos Jurídicos
|
| 57 |
|
|
@@ -63,18 +63,17 @@ Este modelo foi treinado para classificar documentos jurídicos brasileiros usan
|
|
| 63 |
3. Citação
|
| 64 |
4. Art.40
|
| 65 |
5. Não
|
| 66 |
-
6.
|
| 67 |
-
7. Teste 2
|
| 68 |
|
| 69 |
## Métricas de Avaliação
|
| 70 |
|
| 71 |
As métricas abaixo foram calculadas no conjunto de validação:
|
| 72 |
|
| 73 |
-
- **Accuracy:** 0.
|
| 74 |
-
- **F1-Score (Weighted):** 0.
|
| 75 |
-
- **Precision (Weighted):** 0.
|
| 76 |
-
- **Recall (Weighted):** 0.
|
| 77 |
-
- **F1-Score (Macro):** 0.
|
| 78 |
|
| 79 |
## Classification Report Completo
|
| 80 |
|
|
@@ -82,17 +81,16 @@ As métricas abaixo foram calculadas no conjunto de validação:
|
|
| 82 |
precision recall f1-score support
|
| 83 |
|
| 84 |
0 0.00 0.00 0.00 7
|
| 85 |
-
1 0.94
|
| 86 |
-
2 0.
|
| 87 |
-
3 0.
|
| 88 |
-
4 0.
|
| 89 |
-
5 0.
|
| 90 |
-
6
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
weighted avg 0.91 0.91 0.91 708
|
| 96 |
|
| 97 |
```
|
| 98 |
|
|
|
|
| 19 |
type: legal_documents
|
| 20 |
metrics:
|
| 21 |
- type: accuracy
|
| 22 |
+
value: 0.924822695035461
|
| 23 |
- type: f1
|
| 24 |
+
value: 0.9194249427990718
|
| 25 |
- type: precision
|
| 26 |
+
value: 0.9170301776376935
|
| 27 |
- type: recall
|
| 28 |
+
value: 0.924822695035461
|
| 29 |
- type: f1_macro
|
| 30 |
+
value: 0.7914249223969743
|
| 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
|
| 66 |
+
6. teste 123
|
|
|
|
| 67 |
|
| 68 |
## Métricas de Avaliação
|
| 69 |
|
| 70 |
As métricas abaixo foram calculadas no conjunto de validação:
|
| 71 |
|
| 72 |
+
- **Accuracy:** 0.9248
|
| 73 |
+
- **F1-Score (Weighted):** 0.9194
|
| 74 |
+
- **Precision (Weighted):** 0.9170
|
| 75 |
+
- **Recall (Weighted):** 0.9248
|
| 76 |
+
- **F1-Score (Macro):** 0.7914
|
| 77 |
|
| 78 |
## Classification Report Completo
|
| 79 |
|
|
|
|
| 81 |
precision recall f1-score support
|
| 82 |
|
| 83 |
0 0.00 0.00 0.00 7
|
| 84 |
+
1 0.94 1.00 0.97 47
|
| 85 |
+
2 0.94 0.77 0.85 57
|
| 86 |
+
3 0.80 0.97 0.88 34
|
| 87 |
+
4 0.94 0.87 0.90 120
|
| 88 |
+
5 0.93 0.96 0.94 423
|
| 89 |
+
6 1.00 1.00 1.00 17
|
| 90 |
+
|
| 91 |
+
accuracy 0.92 705
|
| 92 |
+
macro avg 0.79 0.80 0.79 705
|
| 93 |
+
weighted avg 0.92 0.92 0.92 705
|
|
|
|
| 94 |
|
| 95 |
```
|
| 96 |
|
config.json
CHANGED
|
@@ -16,8 +16,7 @@
|
|
| 16 |
"3": "Cita\u00e7\u00e3o",
|
| 17 |
"4": "Art.40",
|
| 18 |
"5": "N\u00e3o",
|
| 19 |
-
"6": "
|
| 20 |
-
"7": "Teste 2"
|
| 21 |
},
|
| 22 |
"initializer_range": 0.02,
|
| 23 |
"intermediate_size": 3072,
|
|
@@ -28,8 +27,7 @@
|
|
| 28 |
"N\u00e3o": 5,
|
| 29 |
"Penhora/Arresto/Sequestro": 2,
|
| 30 |
"Senten\u00e7a": 1,
|
| 31 |
-
"
|
| 32 |
-
"Teste 2": 7
|
| 33 |
},
|
| 34 |
"layer_norm_eps": 1e-12,
|
| 35 |
"max_position_embeddings": 512,
|
|
|
|
| 16 |
"3": "Cita\u00e7\u00e3o",
|
| 17 |
"4": "Art.40",
|
| 18 |
"5": "N\u00e3o",
|
| 19 |
+
"6": "teste 123"
|
|
|
|
| 20 |
},
|
| 21 |
"initializer_range": 0.02,
|
| 22 |
"intermediate_size": 3072,
|
|
|
|
| 27 |
"N\u00e3o": 5,
|
| 28 |
"Penhora/Arresto/Sequestro": 2,
|
| 29 |
"Senten\u00e7a": 1,
|
| 30 |
+
"teste 123": 6
|
|
|
|
| 31 |
},
|
| 32 |
"layer_norm_eps": 1e-12,
|
| 33 |
"max_position_embeddings": 512,
|
model.safetensors
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:8e7a51405646562397dff1b29b51513a1d2f354d8be5165327e43849dec09a6a
|
| 3 |
+
size 711458836
|