JOAOOALBERNAZ commited on
Commit
d840eda
·
verified ·
1 Parent(s): fcbc305

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. README.md +31 -0
  3. metrics.json +107 -0
  4. model.skops +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ model.skops filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - pt
4
+ tags:
5
+ - text-classification
6
+ - scikit-learn
7
+ - educational
8
+ license: mit
9
+ ---
10
+
11
+ # intent-classifier-pt
12
+
13
+ Baseline de classificação de intenção de tickets em português usando TF-IDF e regressão logística.
14
+
15
+ ## Dataset e avaliação
16
+
17
+ - Dados: **60 textos sintéticos criados para fins didáticos**; não representam usuários reais.
18
+ - Separação holdout estratificada (25%); validação cruzada de 3 folds no treino.
19
+ - Seed: 42
20
+ - Macro-F1 no holdout sintético desta execução: **0.4933**
21
+ - Relatório completo no arquivo `metrics.json`.
22
+
23
+ **AVISO:** Este valor mede somente um conjunto artificial pequeno e não comprova desempenho em produção ou generalização para outros domínios.
24
+
25
+ ## Uso
26
+
27
+ Modelo exportado em `model.skops`. Execute com Python, scikit-learn e skops; verifique tipos e origem do arquivo antes de carregar.
28
+
29
+ ## Limitações
30
+
31
+ Idioma e cobertura limitados, dados sintéticos, ausência de avaliação humana, sem estimativa de justiça ou robustez. Não utilizar como ferramenta decisória sensível.
metrics.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "synthetic_support_tickets_pt_v1",
3
+ "dataset_size": 60,
4
+ "train_size": 45,
5
+ "test_size": 15,
6
+ "random_seed": 42,
7
+ "cross_validation": {
8
+ "folds": 3,
9
+ "metric": "f1_macro",
10
+ "mean": 0.4177777777777778,
11
+ "std": 0.10708911056410417
12
+ },
13
+ "holdout": {
14
+ "accuracy": 0.5333333333333333,
15
+ "macro_f1": 0.49333333333333335,
16
+ "labels": [
17
+ "acesso",
18
+ "cancelamento",
19
+ "entrega",
20
+ "pagamento",
21
+ "suporte_tecnico"
22
+ ],
23
+ "confusion_matrix": [
24
+ [
25
+ 2,
26
+ 0,
27
+ 1,
28
+ 0,
29
+ 0
30
+ ],
31
+ [
32
+ 0,
33
+ 3,
34
+ 0,
35
+ 0,
36
+ 0
37
+ ],
38
+ [
39
+ 1,
40
+ 0,
41
+ 1,
42
+ 1,
43
+ 0
44
+ ],
45
+ [
46
+ 0,
47
+ 2,
48
+ 1,
49
+ 0,
50
+ 0
51
+ ],
52
+ [
53
+ 0,
54
+ 1,
55
+ 0,
56
+ 0,
57
+ 2
58
+ ]
59
+ ],
60
+ "classification_report": {
61
+ "acesso": {
62
+ "precision": 0.6666666666666666,
63
+ "recall": 0.6666666666666666,
64
+ "f1-score": 0.6666666666666666,
65
+ "support": 3.0
66
+ },
67
+ "cancelamento": {
68
+ "precision": 0.5,
69
+ "recall": 1.0,
70
+ "f1-score": 0.6666666666666666,
71
+ "support": 3.0
72
+ },
73
+ "entrega": {
74
+ "precision": 0.3333333333333333,
75
+ "recall": 0.3333333333333333,
76
+ "f1-score": 0.3333333333333333,
77
+ "support": 3.0
78
+ },
79
+ "pagamento": {
80
+ "precision": 0.0,
81
+ "recall": 0.0,
82
+ "f1-score": 0.0,
83
+ "support": 3.0
84
+ },
85
+ "suporte_tecnico": {
86
+ "precision": 1.0,
87
+ "recall": 0.6666666666666666,
88
+ "f1-score": 0.8,
89
+ "support": 3.0
90
+ },
91
+ "accuracy": 0.5333333333333333,
92
+ "macro avg": {
93
+ "precision": 0.5,
94
+ "recall": 0.5333333333333333,
95
+ "f1-score": 0.49333333333333335,
96
+ "support": 15.0
97
+ },
98
+ "weighted avg": {
99
+ "precision": 0.5,
100
+ "recall": 0.5333333333333333,
101
+ "f1-score": 0.49333333333333335,
102
+ "support": 15.0
103
+ }
104
+ }
105
+ },
106
+ "limitations": "Synthetic, small, author-created dataset; metrics are not evidence of real-world performance."
107
+ }
model.skops ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741732a4a783b8f62377de931ee1a2db12a6b7e91dfff88cf361c433d39166ca
3
+ size 225713