greek-llm-benchmark-eval
Open or Closed LLM for Lesser-Resourced Languages? Lessons from Greek — Pavlopoulos et al. (2025) (arXiv:2501.12826, 2025)
What this evaluates
Evaluates open-source (Llama-70b) and closed-source (GPT-4o mini) LLMs across seven distinct NLP tasks in Modern Greek. It probes capabilities in classification, sequence labeling, text generation, and machine translation to assess model performance in a lesser-resourced language setting.
Datasets
Metrics
macro-F1 (primary) — range: [0, 1]
- Unweighted mean of per-class F1 scores. Computed as the average of recall or precision for each class regardless of class imbalance.
weighted-F1 — range: [0, 1]
- Mean of per-class F1 scores weighted by the number of true instances for each class.
WER — range: percent
- Word Error Rate: (Substitutions + Deletions + Insertions) / Total Words in reference.
CER — range: percent
- Character Error Rate: (Substitutions + Deletions + Insertions) / Total Characters in reference.
BERTScore F1 (primary) — range: [0, 1]
- F1 score computed using contextual embeddings from BERT to match predictions to references based on cosine similarity.
ROUGE-1/2/L F1 — range: [0, 1]
- F1 scores for unigram (1), bigram (2), and longest common subsequence (L) n-gram overlaps between prediction and reference.
Input / output format
Input: Zero-shot prompts containing task instructions and, for POS tagging and NER, class/tag definitions with explanations. Input is raw Greek text (sentences, documents, or queries).
Output: Task-specific predictions: class labels (Toxicity, Intent), corrected text (GEC), translated text (MT), generated summary (Summarization), or token-level entity/POS tags (NER, POS).
Scoring recipe
def compute_metrics(predictions, references, task):
if task in ['Toxicity', 'Intent', 'NER', 'POS']:
return macro_f1(predictions, references), weighted_f1(predictions, references)
elif task == 'GEC':
return wer(references, predictions), cer(references, predictions)
elif task == 'MT':
return wer(references, predictions), cer(references, predictions), bertscore_f1(references, predictions)
elif task == 'Summarization':
return bertscore_f1(references, predictions), rouge1_f1(references, predictions), rouge2_f1(references, predictions), rougeL_f1(references, predictions)
Common pitfalls
- Only 175 instances were randomly sampled per test set (except NER/POS) primarily to limit API costs, which may not fully represent dataset distribution.
- GEC performance for GPT-4o mini may be artificially inflated if the model was exposed to the Korre et al. (2021) training data during pre-training.
- Low macro-F1 scores in NER and POS tagging stem from severe class imbalance and rare tags (e.g., MISC, X), masking high weighted-F1 performance on dominant classes.
Evidence (verbatim from paper)
Using character (CER) and word (WER) error rate, we find that gpt performs significantly better than llama in correcting grammatical errors. It is halved in WER compared to llama and only 1.74 in CER.
Citation
@misc{pavlopoulos2025openclosed,
title={Open or Closed LLM for Lesser-Resourced Languages? Lessons from Greek},
author={Pavlopoulos et al. (2025)},
year={2025},
note={arXiv:2501.12826}
}
1---2name: greek-llm-benchmark-eval3description: Evaluates open-source (Llama-70b) and closed-source (GPT-4o mini) LLMs across seven distinct NLP tasks in Modern Greek. It probes capabilities in classification, sequence labeling, text generation, and machine translation to assess model performance in a lesser-resourced language setting. Use when the user wants to benchmark on SemEval-2020 Task 12 (OffensEval-2020 Greek), Greek Native Corpus (GNC), Global Voices Greek MT Corpus, Areios Pagos Legal Summarization Corpus, University Help Desk Intent Classification Dataset, Greek NER Annotated Dataset, Greek Treebank (POS), or asks about evaluating this task. Reports macro-F1, BERTScore F1.4---56# greek-llm-benchmark-eval78> Open or Closed LLM for Lesser-Resourced Languages? Lessons from Greek — Pavlopoulos et al. (2025) (arXiv:2501.12826, 2025)910## What this evaluates1112Evaluates open-source (Llama-70b) and closed-source (GPT-4o mini) LLMs across seven distinct NLP tasks in Modern Greek. It probes capabilities in classification, sequence labeling, text generation, and machine translation to assess model performance in a lesser-resourced language setting.1314## Datasets1516- **SemEval-2020 Task 12 (OffensEval-2020 Greek)** — total 175; splits: test (175); repo https://sites.google.com/site/offensevalsharedtask/offenseval-202017- **Greek Native Corpus (GNC)** — total 227; splits: test (227)18- **Global Voices Greek MT Corpus** — total 175; splits: test (175); repo https://globalvoices.org/19- **Areios Pagos Legal Summarization Corpus** — total 175; splits: test (175); repo https://www.areiospagos.gr/20- **University Help Desk Intent Classification Dataset** — total 175; splits: test (175)21- **Greek NER Annotated Dataset** — total 5447; splits: test (5447); repo https://github.com/eellak/gsoc2018-spacy22- **Greek Treebank (POS)** — total 456; splits: test (456)2324## Metrics2526- `macro-F1` **(primary)** — range: [0, 1]27 - Unweighted mean of per-class F1 scores. Computed as the average of recall or precision for each class regardless of class imbalance.28- `weighted-F1` — range: [0, 1]29 - Mean of per-class F1 scores weighted by the number of true instances for each class.30- `WER` — range: percent31 - Word Error Rate: (Substitutions + Deletions + Insertions) / Total Words in reference.32- `CER` — range: percent33 - Character Error Rate: (Substitutions + Deletions + Insertions) / Total Characters in reference.34- `BERTScore F1` **(primary)** — range: [0, 1]35 - F1 score computed using contextual embeddings from BERT to match predictions to references based on cosine similarity.36- `ROUGE-1/2/L F1` — range: [0, 1]37 - F1 scores for unigram (1), bigram (2), and longest common subsequence (L) n-gram overlaps between prediction and reference.3839## Input / output format4041**Input**: Zero-shot prompts containing task instructions and, for POS tagging and NER, class/tag definitions with explanations. Input is raw Greek text (sentences, documents, or queries).4243**Output**: Task-specific predictions: class labels (Toxicity, Intent), corrected text (GEC), translated text (MT), generated summary (Summarization), or token-level entity/POS tags (NER, POS).4445## Scoring recipe4647```python48def compute_metrics(predictions, references, task):49 if task in ['Toxicity', 'Intent', 'NER', 'POS']:50 return macro_f1(predictions, references), weighted_f1(predictions, references)51 elif task == 'GEC':52 return wer(references, predictions), cer(references, predictions)53 elif task == 'MT':54 return wer(references, predictions), cer(references, predictions), bertscore_f1(references, predictions)55 elif task == 'Summarization':56 return bertscore_f1(references, predictions), rouge1_f1(references, predictions), rouge2_f1(references, predictions), rougeL_f1(references, predictions)57```5859## Common pitfalls6061- Only 175 instances were randomly sampled per test set (except NER/POS) primarily to limit API costs, which may not fully represent dataset distribution.62- GEC performance for GPT-4o mini may be artificially inflated if the model was exposed to the Korre et al. (2021) training data during pre-training.63- Low macro-F1 scores in NER and POS tagging stem from severe class imbalance and rare tags (e.g., MISC, X), masking high weighted-F1 performance on dominant classes.6465## Evidence (verbatim from paper)6667> Using character (CER) and word (WER) error rate, we find that gpt performs significantly better than llama in correcting grammatical errors. It is halved in WER compared to llama and only 1.74 in CER.6869## Citation7071```bibtex72@misc{pavlopoulos2025openclosed,73 title={Open or Closed LLM for Lesser-Resourced Languages? Lessons from Greek},74 author={Pavlopoulos et al. (2025)},75 year={2025},76 note={arXiv:2501.12826}77}78```7980- arXiv: 2501.12826