trglue-eval
Introducing TrGLUE and SentiTurca: A Comprehensive Benchmark for Turkish General Language Understanding and Sentiment Analysis — Altinok (2025) (arXiv:2512.22100, 2025)
What this evaluates
This benchmark evaluates Turkish natural language understanding across multiple task types, including grammaticality judgment, sentiment analysis, paraphrase detection, and semantic textual similarity. It probes a model's ability to handle agglutinative morphology, culturally adapted expressions, and nuanced semantic equivalence in Turkish.
Datasets
Metrics
accuracy (primary) — range: [0, 1]
- Fraction of correctly predicted labels out of the total number of instances. Standard for classification tasks in the benchmark.
F1-score — range: [0, 1]
- Harmonic mean of precision and recall. Used alongside accuracy to address class imbalance in sentiment analysis tasks.
Spearman correlation — range: [-1, 1]
- Rank-based correlation coefficient used to evaluate the monotonic relationship between predicted and gold similarity scores on TrSTS-B.
Input / output format
Input: Single sentence for TrCoLA and TrSST-2; sentence pair for TrMRPC, TrSTS-B, and TrQQP.
Output: Binary label (0 or 1) for TrCoLA, TrSST-2, TrMRPC, and TrQQP; continuous similarity score (1–5) for TrSTS-B.
Scoring recipe
def compute_accuracy(predictions, gold):
correct = sum(1 for p, g in zip(predictions, gold) if p == g)
return correct / len(gold)
def compute_f1(predictions, gold):
tp = sum(1 for p, g in zip(predictions, gold) if p == 1 and g == 1)
fp = sum(1 for p, g in zip(predictions, gold) if p == 1 and g == 0)
fn = sum(1 for p, g in zip(predictions, gold) if p == 0 and g == 1)
precision = tp / (tp + fp) if (tp + fp) > 0 else 0
recall = tp / (tp + fn) if (tp + fn) > 0 else 0
return 2 * (precision * recall) / (precision + recall) if (precision + recall) > 0 else 0
Common pitfalls
- TrMRPC uses a relaxed paraphrase definition where sentences sharing the same main claim are labeled equivalent even if one contains extra non-contradictory details, diverging from strict English MRPC rules.
- TrSST-2 exhibits significant class imbalance in its original star ratings, requiring evaluation with both accuracy and F1-score rather than accuracy alone.
- TrSTS-B evaluation is reported exclusively on the development split because the test set was withheld due to the dataset's small size (3.06K pairs).
Evidence (verbatim from paper)
To address this class imbalance, we utilize the both binary accuracy and F1-score, whereas the original GLUE task employs binary accuracy.
Citation
@misc{altinok2025trglue,
title={Introducing TrGLUE and SentiTurca: A Comprehensive Benchmark for Turkish General Language Understanding and Sentiment Analysis},
author={Altinok (2025)},
year={2025},
note={arXiv:2512.22100}
}
1---2name: trglue-eval3description: This benchmark evaluates Turkish natural language understanding across multiple task types, including grammaticality judgment, sentiment analysis, paraphrase detection, and semantic textual similarity. It probes a model's ability to handle agglutinative morphology, culturally adapted expressions, and nuanced semantic equivalence in Turkish. Use when the user wants to benchmark on TrCoLA, TrSST-2, TrMRPC, TrSTS-B, or asks about evaluating this task. Reports accuracy.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/trglue-eval6 skill_kind: dataset_eval7 source_arxiv: 2512.221008 bibtex_key: altinok2025trglue9 confidence: high10---1112# trglue-eval1314> Introducing TrGLUE and SentiTurca: A Comprehensive Benchmark for Turkish General Language Understanding and Sentiment Analysis — Altinok (2025) (arXiv:2512.22100, 2025)1516## What this evaluates1718This benchmark evaluates Turkish natural language understanding across multiple task types, including grammaticality judgment, sentiment analysis, paraphrase detection, and semantic textual similarity. It probes a model's ability to handle agglutinative morphology, culturally adapted expressions, and nuanced semantic equivalence in Turkish.1920## Datasets2122- **TrCoLA** — total 9916; splits: train (-1), dev (-1), test (-1); HF `turkish-nlp-suite/TrCoLA`; repo https://github.com/turkish-nlp-suite/TrGLUE23- **TrSST-2** — total 78000; splits: train (67000), val (8900), test (8900); HF `turkish-nlp-suite/BuyukSinema`; repo https://github.com/turkish-nlp-suite/TrGLUE24- **TrMRPC** — total 5180; splits: test (-1); repo https://github.com/turkish-nlp-suite/TrGLUE25- **TrSTS-B** — total 3060; splits: dev (-1); repo https://github.com/turkish-nlp-suite/TrGLUE2627## Metrics2829- `accuracy` **(primary)** — range: [0, 1]30 - Fraction of correctly predicted labels out of the total number of instances. Standard for classification tasks in the benchmark.31- `F1-score` — range: [0, 1]32 - Harmonic mean of precision and recall. Used alongside accuracy to address class imbalance in sentiment analysis tasks.33- `Spearman correlation` — range: [-1, 1]34 - Rank-based correlation coefficient used to evaluate the monotonic relationship between predicted and gold similarity scores on TrSTS-B.3536## Input / output format3738**Input**: Single sentence for TrCoLA and TrSST-2; sentence pair for TrMRPC, TrSTS-B, and TrQQP.3940**Output**: Binary label (0 or 1) for TrCoLA, TrSST-2, TrMRPC, and TrQQP; continuous similarity score (1–5) for TrSTS-B.4142## Scoring recipe4344```python45def compute_accuracy(predictions, gold):46 correct = sum(1 for p, g in zip(predictions, gold) if p == g)47 return correct / len(gold)4849def compute_f1(predictions, gold):50 tp = sum(1 for p, g in zip(predictions, gold) if p == 1 and g == 1)51 fp = sum(1 for p, g in zip(predictions, gold) if p == 1 and g == 0)52 fn = sum(1 for p, g in zip(predictions, gold) if p == 0 and g == 1)53 precision = tp / (tp + fp) if (tp + fp) > 0 else 054 recall = tp / (tp + fn) if (tp + fn) > 0 else 055 return 2 * (precision * recall) / (precision + recall) if (precision + recall) > 0 else 056```5758## Common pitfalls5960- TrMRPC uses a relaxed paraphrase definition where sentences sharing the same main claim are labeled equivalent even if one contains extra non-contradictory details, diverging from strict English MRPC rules.61- TrSST-2 exhibits significant class imbalance in its original star ratings, requiring evaluation with both accuracy and F1-score rather than accuracy alone.62- TrSTS-B evaluation is reported exclusively on the development split because the test set was withheld due to the dataset's small size (3.06K pairs).6364## Evidence (verbatim from paper)6566> To address this class imbalance, we utilize the both binary accuracy and F1-score, whereas the original GLUE task employs binary accuracy.6768## Citation6970```bibtex71@misc{altinok2025trglue,72 title={Introducing TrGLUE and SentiTurca: A Comprehensive Benchmark for Turkish General Language Understanding and Sentiment Analysis},73 author={Altinok (2025)},74 year={2025},75 note={arXiv:2512.22100}76}77```7879- arXiv: 2512.22100