greek-news-classifier
GreekBERT fine-tuned to classify Greek news articles into 17 IPTC Media Topic categories. It is the classifier behind the Greek News NLP API.
Results
Held-out test set of 788 Greek news articles, never used for training or model selection.
| Model | Accuracy | Macro-F1 |
|---|---|---|
| TF-IDF + Logistic Regression (baseline) | 0.753 | 0.667 |
| This model | 0.825 | 0.770 |
Training
- Base model: nlpaueb/bert-base-greek-uncased-v1 (GreekBERT, MIT License, Copyright (c) 2020 NLP AUEB Group).
- Data: Greek subset of EMMediaTopic 1.0, 5,250 articles, stratified 70/15/15 split (seed 42).
- Class-weighted loss, inputs truncated to 256 tokens.
- Text is lowercased and stripped of diacritics before inference, as GreekBERT expects.
Limitations
- The labels were assigned automatically by GPT-4o, not by human annotators. The dataset authors report a macro-F1 of 0.731 for these labels against a manually annotated sample, which caps what any model can reach.
- Rare categories (weather, lifestyle and leisure, religion) have very few test examples, so their per-class scores are noisy.
- Broad, overlapping categories such as society and human interest are the hardest.
- Texts longer than 256 tokens are truncated.
Attribution
- GreekBERT: NLP AUEB Group (MIT License).
- Data: EMMediaTopic 1.0, Kuzman and Ljubešić, Jožef Stefan Institute (CC BY-SA 4.0).