Update README.md
Browse files
README.md
CHANGED
|
@@ -64,10 +64,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
| 64 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
| 65 |
|
| 66 |
text = """
|
| 67 |
-
|
| 68 |
-
for the maintenance of the parish's wastewater systems.
|
| 69 |
-
The proposal will be reviewed by the technical department
|
| 70 |
-
and submitted to voting in the next meeting.
|
| 71 |
"""
|
| 72 |
|
| 73 |
inputs = tokenizer(text, return_tensors="pt", max_length=1024, truncation=True)
|
|
@@ -79,7 +76,7 @@ print(tokenizer.decode(summary_ids[0], skip_special_tokens=True))
|
|
| 79 |
# 🧾 Model Output
|
| 80 |
|
| 81 |
**Output:**
|
| 82 |
-
> "
|
| 83 |
|
| 84 |
---
|
| 85 |
|
|
@@ -116,15 +113,13 @@ print(tokenizer.decode(summary_ids[0], skip_special_tokens=True))
|
|
| 116 |
|
| 117 |
The model was trained on a specialized dataset of **Portuguese municipal meeting minutes**, consisting of:
|
| 118 |
|
| 119 |
-
- Discussion
|
| 120 |
- Decisions and deliberations across departments (urban planning, finance, education, etc.)
|
| 121 |
- Expert-annotated summaries per discussion segment
|
| 122 |
|
| 123 |
**Dataset sources include:**
|
| 124 |
|
| 125 |
-
-
|
| 126 |
-
- City council meeting archives
|
| 127 |
-
- Edited and standardized text from transcribed minutes
|
| 128 |
|
| 129 |
---
|
| 130 |
|
|
|
|
| 64 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
| 65 |
|
| 66 |
text = """
|
| 67 |
+
17. PROCESSO DE OBRAS N.º ***** -- EDIFIC\nPelo Senhor Presidente foi presente a esta reunião a informação n.º ****** da Secção de Urbanismo e Fiscalização -- Serviço de Obras Particulares que se anexa à presente ata. \nPonderado e analisado o assunto o Executivo Municipal deliberou por unanimidade aprovar as especialidades relativas ao processo de obras n.º ***** -- EDIFIC.
|
|
|
|
|
|
|
|
|
|
| 68 |
"""
|
| 69 |
|
| 70 |
inputs = tokenizer(text, return_tensors="pt", max_length=1024, truncation=True)
|
|
|
|
| 76 |
# 🧾 Model Output
|
| 77 |
|
| 78 |
**Output:**
|
| 79 |
+
> "O Executivo Municipal aprovou, por unanimidade, as especialidades relativas a um processo de obras particulares."
|
| 80 |
|
| 81 |
---
|
| 82 |
|
|
|
|
| 113 |
|
| 114 |
The model was trained on a specialized dataset of **Portuguese municipal meeting minutes**, consisting of:
|
| 115 |
|
| 116 |
+
- Discussion Subjects from official municipal meeting minutes.
|
| 117 |
- Decisions and deliberations across departments (urban planning, finance, education, etc.)
|
| 118 |
- Expert-annotated summaries per discussion segment
|
| 119 |
|
| 120 |
**Dataset sources include:**
|
| 121 |
|
| 122 |
+
- Six Portuguese municipalities meeting minutes
|
|
|
|
|
|
|
| 123 |
|
| 124 |
---
|
| 125 |
|