Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# News Relevancy Classifiers
|
| 2 |
+
|
| 3 |
+
## FinBERT-ft-v3
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
### Model Description
|
| 8 |
+
|
| 9 |
+
- **Architecture**: `bert-base-finnish-cased-v1`
|
| 10 |
+
- **Fine-tuning task**: Four-class news-headline relevancy classification
|
| 11 |
+
- **Dataset**: ~225 Finnish headlines (2024–2025) manually labeled into:
|
| 12 |
+
- 0 — Not Relevant
|
| 13 |
+
- 1 — Least Relevant
|
| 14 |
+
- 2 — Highly Relevant
|
| 15 |
+
- 3 — Most Relevant
|
| 16 |
+
- **HF Repo**: [`cloud0day3/finbert-ft-v3`](https://huggingface.co/cloud0day3/finbert-ft-v3) (latest v4 checkpoint)
|
| 17 |
+
- **Date Trained**: 2025-06-06
|
| 18 |
+
|
| 19 |
+
#### Model Inputs
|
| 20 |
+
|
| 21 |
+
- A raw Finnish headline (string), truncated/padded to 96 tokens.
|
| 22 |
+
- Tokenization handled by the bundled `vocab.txt` + `tokenizer_config.json` + `special_tokens_map.json`.
|
| 23 |
+
|
| 24 |
+
#### Model Outputs
|
| 25 |
+
|
| 26 |
+
- A single integer label (0–3). Mapped to human-readable categories:
|
| 27 |
+
```python
|
| 28 |
+
LABELS = {
|
| 29 |
+
0: "Not Relevant",
|
| 30 |
+
1: "Least Relevant",
|
| 31 |
+
2: "Highly Relevant",
|
| 32 |
+
3: "Most Relevant"
|
| 33 |
+
}
|