Text Classification
Transformers
Joblib
Portuguese
streamlit
multi-label-classification
gradient-boosting
active-learning
bertimbau
municipal-documents
meeting-minutes
Instructions to use anonymous12321/Council_Topics_Classifier_PT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anonymous12321/Council_Topics_Classifier_PT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="anonymous12321/Council_Topics_Classifier_PT")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anonymous12321/Council_Topics_Classifier_PT", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -132,6 +132,36 @@ The model was trained on a curated dataset of Portuguese municipal council meeti
|
|
| 132 |
- **Annotation**: Multi-label (avg. 1.69 labels per document)
|
| 133 |
- **Split**: 60% train / 20% validation / 20% test
|
| 134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
## Training Details
|
| 136 |
|
| 137 |
### Preprocessing
|
|
|
|
| 132 |
- **Annotation**: Multi-label (avg. 1.69 labels per document)
|
| 133 |
- **Split**: 60% train / 20% validation / 20% test
|
| 134 |
|
| 135 |
+
## Categories
|
| 136 |
+
|
| 137 |
+
The model classifies topics into 22 Portuguese administrative categories:
|
| 138 |
+
|
| 139 |
+
| Category | Portuguese Name |
|
| 140 |
+
|----------|-----------------|
|
| 141 |
+
| General Administration | Administração Geral, Finanças e Recursos Humanos |
|
| 142 |
+
| Environment | Ambiente |
|
| 143 |
+
| Economic Activities | Atividades Económicas |
|
| 144 |
+
| Social Action | Ação Social |
|
| 145 |
+
| Science | Ciência |
|
| 146 |
+
| Communication | Comunicação e Relações Públicas |
|
| 147 |
+
| External Cooperation | Cooperação Externa e Relações Internacionais |
|
| 148 |
+
| Culture | Cultura |
|
| 149 |
+
| Sports | Desporto |
|
| 150 |
+
| Education | Educação e Formação Profissional |
|
| 151 |
+
| Energy & Telecommunications | Energia e Telecomunicações |
|
| 152 |
+
| Housing | Habitação |
|
| 153 |
+
| Private Construction | Obras Particulares |
|
| 154 |
+
| Public Works | Obras Públicas |
|
| 155 |
+
| Territorial Planning | Ordenamento do Território |
|
| 156 |
+
| Other | Outros |
|
| 157 |
+
| Heritage | Património |
|
| 158 |
+
| Municipal Police | Polícia Municipal |
|
| 159 |
+
| Animal Protection | Proteção Animal |
|
| 160 |
+
| Civil Protection | Proteção Civil |
|
| 161 |
+
| Health | Saúde |
|
| 162 |
+
| Traffic & Transport | Trânsito, Transportes e Comunicações |
|
| 163 |
+
|
| 164 |
+
|
| 165 |
## Training Details
|
| 166 |
|
| 167 |
### Preprocessing
|