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

Upload modelo treinado - 20251205_140224_hf (#22)

Browse files

- Upload modelo treinado - 20251205_140224_hf (17ce0e098182f5fc355af80521f57b211ed40f60)

Files changed (3) hide show
  1. README.md +24 -22
  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.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,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:** 7
55
  - **Idioma:** Português (Brasil)
56
  - **Domínio:** Documentos Jurídicos
57
 
@@ -64,33 +64,35 @@ Este modelo foi treinado para classificar documentos jurídicos brasileiros usan
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
 
 
19
  type: legal_documents
20
  metrics:
21
  - type: accuracy
22
+ value: 0.9124293785310734
23
  - type: f1
24
+ value: 0.9069008258581538
25
  - type: precision
26
+ value: 0.9052447065095824
27
  - type: recall
28
+ value: 0.9124293785310734
29
  - type: f1_macro
30
+ value: 0.6832937813302449
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:** 8
55
  - **Idioma:** Português (Brasil)
56
  - **Domínio:** Documentos Jurídicos
57
 
 
64
  4. Art.40
65
  5. Não
66
  6. Teste
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.9124
74
+ - **F1-Score (Weighted):** 0.9069
75
+ - **Precision (Weighted):** 0.9052
76
+ - **Recall (Weighted):** 0.9124
77
+ - **F1-Score (Macro):** 0.6833
78
 
79
  ## Classification Report Completo
80
 
81
  ```
82
  precision recall f1-score support
83
 
84
+ 0 0.00 0.00 0.00 7
85
+ 1 0.94 0.98 0.96 48
86
+ 2 0.95 0.72 0.82 57
87
+ 3 0.82 0.95 0.88 42
88
+ 4 0.88 0.95 0.91 132
89
+ 5 0.94 0.95 0.94 408
90
+ 6 0.40 0.33 0.36 6
91
+ 7 0.56 0.62 0.59 8
92
+
93
+ accuracy 0.91 708
94
+ macro avg 0.69 0.69 0.68 708
95
+ weighted avg 0.91 0.91 0.91 708
96
 
97
  ```
98
 
config.json CHANGED
@@ -16,7 +16,8 @@
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,
@@ -27,7 +28,8 @@
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,
 
16
  "3": "Cita\u00e7\u00e3o",
17
  "4": "Art.40",
18
  "5": "N\u00e3o",
19
+ "6": "Teste",
20
+ "7": "Teste 2"
21
  },
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
 
28
  "N\u00e3o": 5,
29
  "Penhora/Arresto/Sequestro": 2,
30
  "Senten\u00e7a": 1,
31
+ "Teste": 6,
32
+ "Teste 2": 7
33
  },
34
  "layer_norm_eps": 1e-12,
35
  "max_position_embeddings": 512,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ce861602c0a806e8a87b95156402241cf004d3dddfc086703769e85a1377620
3
- size 711458836
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efbed19f1962756e5e336210fcff4fc033dc4354158b0f808ec2cd744a2e0842
3
+ size 711461912