rkenji commited on
Commit
57a2009
·
1 Parent(s): 07be52d

Upload modelo treinado - 20251205_135235_hf (#21)

Browse files

- Upload modelo treinado - 20251205_135235_hf (a9fd414946d5d6897131cf81fb02cae33f088986)

Files changed (3) hide show
  1. README.md +23 -21
  2. config.json +4 -2
  3. model.safetensors +3 -0
README.md CHANGED
@@ -19,15 +19,15 @@ model-index:
19
  type: legal_documents
20
  metrics:
21
  - type: accuracy
22
- value: 0.946376811594203
23
  - type: f1
24
- value: 0.9406111634544171
25
  - type: precision
26
- value: 0.9355706246585774
27
  - type: recall
28
- value: 0.946376811594203
29
  - type: f1_macro
30
- value: 0.7840758661419504
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
 
66
 
67
  ## Métricas de Avaliação
68
 
69
  As métricas abaixo foram calculadas no conjunto de validação:
70
 
71
- - **Accuracy:** 0.9464
72
- - **F1-Score (Weighted):** 0.9406
73
- - **Precision (Weighted):** 0.9356
74
- - **Recall (Weighted):** 0.9464
75
- - **F1-Score (Macro):** 0.7841
76
 
77
  ## Classification Report Completo
78
 
79
  ```
80
  precision recall f1-score support
81
 
82
- 0 0.00 0.00 0.00 8
83
- 1 0.92 1.00 0.96 45
84
- 2 0.94 0.85 0.89 54
85
- 3 0.93 0.95 0.94 41
86
- 4 0.94 0.98 0.96 121
87
- 5 0.96 0.96 0.96 421
88
-
89
- accuracy 0.95 690
90
- macro avg 0.78 0.79 0.78 690
91
- weighted avg 0.94 0.95 0.94 690
 
92
 
93
  ```
94
 
 
19
  type: legal_documents
20
  metrics:
21
  - type: accuracy
22
+ value: 0.927038626609442
23
  - type: f1
24
+ value: 0.9253745140607927
25
  - type: precision
26
+ value: 0.9279357771017352
27
  - type: recall
28
+ value: 0.927038626609442
29
  - type: f1_macro
30
+ value: 0.8587213814786654
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
67
 
68
  ## Métricas de Avaliação
69
 
70
  As métricas abaixo foram calculadas no conjunto de validação:
71
 
72
+ - **Accuracy:** 0.9270
73
+ - **F1-Score (Weighted):** 0.9254
74
+ - **Precision (Weighted):** 0.9279
75
+ - **Recall (Weighted):** 0.9270
76
+ - **F1-Score (Macro):** 0.8587
77
 
78
  ## Classification Report Completo
79
 
80
  ```
81
  precision recall f1-score support
82
 
83
+ 0 0.67 0.29 0.40 7
84
+ 1 0.88 1.00 0.94 46
85
+ 2 1.00 0.80 0.89 56
86
+ 3 0.93 0.95 0.94 39
87
+ 4 0.87 0.94 0.90 120
88
+ 5 0.94 0.94 0.94 421
89
+ 6 1.00 1.00 1.00 10
90
+
91
+ accuracy 0.93 699
92
+ macro avg 0.90 0.85 0.86 699
93
+ weighted avg 0.93 0.93 0.93 699
94
 
95
  ```
96
 
config.json CHANGED
@@ -15,7 +15,8 @@
15
  "2": "Penhora/Arresto/Sequestro",
16
  "3": "Cita\u00e7\u00e3o",
17
  "4": "Art.40",
18
- "5": "N\u00e3o"
 
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
@@ -25,7 +26,8 @@
25
  "Cita\u00e7\u00e3o": 3,
26
  "N\u00e3o": 5,
27
  "Penhora/Arresto/Sequestro": 2,
28
- "Senten\u00e7a": 1
 
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
 
15
  "2": "Penhora/Arresto/Sequestro",
16
  "3": "Cita\u00e7\u00e3o",
17
  "4": "Art.40",
18
+ "5": "N\u00e3o",
19
+ "6": "Teste"
20
  },
21
  "initializer_range": 0.02,
22
  "intermediate_size": 3072,
 
26
  "Cita\u00e7\u00e3o": 3,
27
  "N\u00e3o": 5,
28
  "Penhora/Arresto/Sequestro": 2,
29
+ "Senten\u00e7a": 1,
30
+ "Teste": 6
31
  },
32
  "layer_norm_eps": 1e-12,
33
  "max_position_embeddings": 512,
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ce861602c0a806e8a87b95156402241cf004d3dddfc086703769e85a1377620
3
+ size 711458836