Download README.md from turkish-nlp-suite/TrGLUE: direct link, hf CLI and curl.
- Browser
- Download file 14.5 kB
-
https://huggingface.co/datasets/turkish-nlp-suite/TrGLUE/resolve/main/README.md
- Command line
-
hf download hf://datasets/turkish-nlp-suite/TrGLUE/README.md
-
curl -L -o README.md https://huggingface.co/datasets/turkish-nlp-suite/TrGLUE/resolve/main/README.md
annotations_creators:
- Duygu Altinok
language:
- tr
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
size_categories:
- 100K<n<1M
source_datasets:
- turkish-nlp-suite/Havadis
- turkish-nlp-suite/OzenliDerlem
- turkish-nlp-suite/AkademikDerlem
- turkish-nlp-suite/ForumSohbetleri
task_categories:
- text-classification
task_ids:
- acceptability-classification
- natural-language-inference
- semantic-similarity-scoring
- sentiment-classification
- text-scoring
pretty_name: TrGLUE (GLUE for Turkish language)
config_names:
- cola
- mnli
- sst2
- mrpc
- qnli
- qqp
- rte
- stsb
tags:
- qa-nli
- coreference-nli
- paraphrase-identification
dataset_info:
- config_name: cola
features:
- name: sentence
dtype: string
- name: label
dtype:
class_label:
names:
'0': unacceptable
'1': acceptable
splits:
- name: train
num_bytes: 1025960
num_examples: 7916
- name: validation
num_bytes: 130843
num_examples: 1000
- name: test
num_bytes: 129741
num_examples: 1000
- config_name: mnli
features:
- name: premise
dtype: string
- name: hypothesis
dtype: string
- name: label
dtype:
class_label:
names:
'0': entailment
'1': neutral
'2': contradiction
splits:
- name: train
num_bytes: 23742281
num_examples: 165212
- name: validation_matched
num_bytes: 1551330
num_examples: 9200
- name: validation_mismatched
num_bytes: 1882471
num_examples: 9200
- name: test_matched
num_bytes: 1723631
num_examples: 9200
- name: test_mismatched
num_bytes: 1902838
num_examples: 9217
download_size: 160944
- config_name: mrpc
features:
- name: sentence1
dtype: string
- name: sentence2
dtype: string
- name: label
dtype:
class_label:
names:
'0': not_equivalent
'1': equivalent
splits:
- name: train
num_bytes: 971403
num_examples: 3182
- name: validation
num_bytes: 122471
num_examples: 1000
- name: test
num_bytes: 426814
num_examples: 1000
download_size: 1572159
- config_name: qnli
features:
- name: question
dtype: string
- name: sentence
dtype: string
- name: label
dtype:
class_label:
names:
'0': entailment
'1': not_entailment
splits:
- name: train
num_bytes: 10039361
num_examples: 120000
- name: validation
num_bytes: 678829
num_examples: 10000
- name: test
num_bytes: 547379
num_examples: 10000
download_size: 19278324
- config_name: qqp
features:
- name: question1
dtype: string
- name: question2
dtype: string
- name: label
dtype:
class_label:
names:
'0': not_duplicate
'1': duplicate
splits:
- name: train
num_bytes: 22640320
num_examples: 308794
- name: validation
num_bytes: 3795876
num_examples: 30000
- name: test
num_bytes: 11984165
num_examples: 30000
download_size: 73982265
- config_name: rte
features:
- name: sentence1
dtype: string
- name: sentence2
dtype: string
- name: label
dtype:
class_label:
names:
'0': entailment
'1': not_entailment
splits:
- name: train
num_bytes: 723360
num_examples: 3784
- name: validation
num_bytes: 68999
num_examples: 1000
- name: test
num_bytes: 777128
num_examples: 1000
download_size: 1274409
- config_name: sst2
features:
- name: sentence
dtype: string
- name: label
dtype:
class_label:
names:
'0': negative
'1': positive
splits:
- name: train
num_bytes: 5586957
num_examples: 60411
- name: validation
num_bytes: 733500
num_examples: 8905
- name: test
num_bytes: 742661
num_examples: 8934
download_size: 58918801
- config_name: stsb
features:
- name: sentence1
dtype: string
- name: sentence2
dtype: string
- name: label
dtype: float32
splits:
- name: train
num_bytes: 719415
num_examples: 2458
- name: validation
num_bytes: 206991
num_examples: 600
- name: test
num_bytes: 206991
num_examples: 300
download_size: 766983
configs:
- config_name: mnli
data_files:
- split: train
path: mnli/train-*
- split: validation_matched
path: mnli/valid_matched-*
- split: validation_mismatched
path: mnli/valid_mismatched-*
- split: test_matched
path: mnli/test_matched-*
- split: test_mismatched
path: mnli/test_mismatched-*
- config_name: mrpc
data_files:
- split: train
path: mrpc/train-*
- split: validation
path: mrpc/validation-*
- split: test
path: mrpc/test-*
- config_name: qnli
data_files:
- split: train
path: qnli/train-*
- split: validation
path: qnli/validation-*
- split: test
path: qnli/test-*
- config_name: qqp
data_files:
- split: train
path: qqp/train-*
- split: validation
path: qqp/validation-*
- split: test
path: qqp/test-*
- config_name: rte
data_files:
- split: train
path: rte/train-*
- split: validation
path: rte/validation-*
- split: test
path: rte/test-*
- config_name: sst2
data_files:
- split: train
path: sst2/train-*
- split: validation
path: sst2/validation-*
- split: test
path: sst2/test-*
- config_name: stsb
data_files:
- split: train
path: stsb/train-*
- split: validation
path: stsb/validation-*
- split: test
path: stsb/test-*
- config_name: cola
data_files:
- split: train
path: cola/train-*
- split: validation
path: cola/validation-*
- split: test
path: cola/test-*
TrGLUE - The First Non-Translate Natural Language Understanding Benchmark for Turkish
Dataset Card for TrGLUE
TrGLUE is a natural language understanding benchmarking dataset including several single sentence and sentence pair classification tasks. The inspiration is clearly the original GLUE benchmark.
Tasks
Single Sentence Tasks
TrCOLA The original Corpus of Linguistic Acceptability consists of sentences compiled from English literature textbooks. The task is to determine if the sentences are grammatically correct and acceptable sentences. Our corpus is also compiled from Turkish linguistic textbooks and include morphological, syntactic and semantic violations. This dataset also has a standalone repo on HuggingFace.
TrSST-2 The Stanford Sentiment Treebank is a sentiment analysis dataset includes sentences from movie reviews, annotated by human annotators. The task is to predict the sentiment of a given sentence. This dataset is compiled from movie review websites BeyazPerde.com and Sinefil.com, both reviews and sentiment ratings are compiled from those websites. Here we offer a binary classification task to be compatible with the original GLUE task, however we offer a 10-way classification challenge in this dataset's standalone HuggingFace repo.
Sentence Pair Tasks
TrMRPC The Microsoft Research Paraphrase Corpus is a dataset of sentence pairs automatically extracted from online news sources, with human annotations. The task is to determine whether the sentences are semantically equivalent. Our dataset is compiled from Turkish news corpus Havadis and constructed in a similar way to original dataset.
TrSTS-B The Semantic Textual Similarity Benchmark is a semantic similarity dataset. This dataset contains sentence pairs compiled from news headlines, video and image captions. Each pair is annotated with a similarity score from 1 to 5. Our dataset is a revised version of the translation of this dataset.
TrQQP The Quora Question Pairs2 dataset is a collection of question pairs from Quora website. The task is to determine whether a pair of questions are semantically equivalent. Our dataset is compiled from several question-answer websites such as KizlarSoruyor.com, Sorucevap.com and similar.
TrMNLI The Multi-Genre Natural Language Inference Corpus is a dataset for the textual entailment task. The dataset is crowsourced. Given a premise sentence and a hypothesis sentence, the task is to predict whether the premise entails the hypothesis, contradicts the hypothesis (contradiction), or neither (neutral). The premise sentences are compiled from different sources, including transcribed speech, fiction writings, and more. Our dataset is compiled in a similar fashion, the data source is OzenliDerlem, including fairy tales, viral media, social blogging content etc.
TrQNLI The Stanford Question Answering Dataset (SQuAD) is a well-known question-answering dataset consisting of context-question pairs, where the context text (drawn from Wikipedia) contains the answer to the corresponding question (written by an annotator). QNLI is a binary classification dataset version of SQuAD, where the task is to classify the context text includes the answer to the question text. Our dataset is compiled in a similar fashion. We built a SQuAD like dataset (to be published later in its own repo), then converted context-question-answer pairs to QNLI format.
TrRTE The Recognizing Textual Entailment dataset is compiled from a series of annual textual entailment challenges namely RTE1, RTE3 and RTE5. The task is again textual entailment. Our dataset is similarly constructed, first we compile data from newspaper and academical writing text, then constructed the hypothis text.
Lack of TrWNLI The Winograd Schema Challenge, introduced by Levesque et al. in 2011, is a type of reading comprehension task. In this challenge, a system is tasked with reading a sentence containing a pronoun and determining the correct referent for that pronoun from a set of choices. These examples are deliberately designed to outsmart basic statistical methods by relying on contextual cues provided by specific words or phrases within the sentence. To transform this challenge into a sentence pair classification task, the creators of the benchmark generate pairs of sentences by replacing the ambiguous pronoun with each potential referent. The objective is to predict whether the sentence remains logically consistent when the pronoun is substituted with one of the choices. We do not include this task in our benchmark as this task does not make sense for Turkish at all due to pro-drop nature of Turkish. For the details and examples please visit the research paper.
Dataset Statistics
The sizes of each dataset are as below:
| Subset | size |
|---|---|
| TrCOLA | 9,92K |
| TrSST-2 | 78.3K |
| TrMRPC | 5.18K |
| TrSTS-B | 3.06K |
| TrQQP | 369K |
| TrMNLI | 202K |
| TrQNLI | 140K |
| TrRTE | 5.78K |
Note that STS-B has a test split in the repo, this split is placed only for convenience purposes (so that tets split is not empty in TrGLUE evaluation script.) For the evaluation, please use validation split.
For more information about dataset statistics, please visit the research paper.
Dataset Curation
Almost all the datasets are constructed from scratch, except TrSTS-B. The reason behind this choice is the dataset sentences come from video and image headlines, describing actions and situations; hence mostly cross-language compatible. Yet after the translation we made a supervision round. Rest of the datasets are constructed as follows:
- The data is compiled from Turkish corpora.
- We assign coarse labels to sentence pairs with some semantic similarity methods.
- Then we ask our LLM of choice Arctic Snowflake to generate labels.
- We compare coarse labels to LLM labels and feed non-matches to human annotators.
There are some exceptions still:
- TrSST-2 is scraped from Turkish movie review websites, Sinefil and Beyazperde.
- TrCOLA is compiled from openly available linguistic books, then generated violations by the LLM Snowflake Arctic and then curated by the data company Co-one. For more information please refer to the TrCOLA's standalone repo and the research paper.
For more information about the construction process and annotation guidelines please visit the research paper.
Benchmarking
We provide benchmarking script at TrGLUE Github repo. The script is the same with HF's original benchmarking script, for TrSST-2 we report F1-score in addition to accuracy due to class imbalance as well. We offered hyperparameters for reproducing our results as well.
We benchmarked BERTurk on all of our datasets:
| Subset | task | metrics | success |
|---|---|---|---|
| TrCOLA | acceptability | Matthews corr. | 42 |
| TrSST-2 | sentiment | acc./F1 | 87.4/91.3 |
| TrMRPC | paraphrase | acc./F1 | 74.4/72.7 |
| TrSTS-B | sentence similarity | Pearson/Separman corr. | 71.3/69.9 |
| TrQQP | paraphrase | acc./F1 | 95.4/94.3 |
| TrMNLI | NLI | matched/mismatched acc. | 87.9/90.8 |
| TrQNLI | QA/NLI | acc. | 90.6 |
| TrRTE | NLI | acc. | 92.2 |
The comparison with BERT on original GLUE is given in the research paper. Also we benchmarked a handful of popular LLMs on challenging sets such as TrCOLA and Turkish Hate Map, for the evaluations please visit the research paper as well.
Publication
is under review, preprint available at: Arxiv preprint
Blog posts
Available at our Github blog
Medium blog post is available at GDE Blog as well.
Citation
Preprint citation:
@misc{altinok2025introducingtrgluesentiturcacomprehensive,
title={Introducing TrGLUE and SentiTurca: A Comprehensive Benchmark for Turkish General Language Understanding and Sentiment Analysis},
author={Duygu Altinok},
year={2025},
eprint={2512.22100},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2512.22100},
}