File size: 3,071 Bytes
7cb03b0
 
 
 
 
 
 
 
 
 
 
 
 
081b7d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c4c4d95
081b7d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c4c4d95
081b7d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
---
license: mit
task_categories:
- question-answering
language:
- tr
tags:
- mmlu
- benchmark
- multiple_choice
pretty_name: Turkish Grammer MMLU
size_categories:
- 1K<n<10K
---

# Turkish-Grammar-MMLU

This dataset, created by **Turkish-DB**, is a multiple-choice question-answering (QA) dataset covering Turkish grammar topics. It is designed to evaluate model performance on various Turkish grammar subjects, similar to the MMLU (Massive Multitask Language Understanding) benchmark.

---

## Overview
- **Name**: Turkish-Grammar-MMLU
- **Provider**: Turkish-DB
- **Task**: Multiple-Choice QA
- **Modality**: Text
- **Format**: CSV (also accessible via API in Parquet format)
- **Language**: Turkish
- **Size**: 3,700 examples
- **Splits**: Single `train` split (3.7K samples)
- **Source**: https://www.edebiyatogretmeni.org/
- **License**: MIT

---

## Data Structure
When downloaded, the dataset consists of a CSV file with the following columns:

| Column    | Description                                                 |
|-----------|-------------------------------------------------------------|
| `source`  | URL or document name where the question was sourced        |
| `classes` | Sub-grammar rule category (e.g., phonetics)                |
| `subject` | General topic heading (28 distinct subjects)                |
| `question`| Question text                                              |
| `choices` | List of 5 answer options                                   |
| `answer`  | Index of the correct option (0–4)                          |

---

## Usage
Load the dataset using the `datasets` library:

```python
from datasets import load_dataset

dataset = load_dataset("turkish-db/turkish-grammer-mmlu", split = "train")
print(dataset)
```

Expected output:

```python
Dataset({
    features: ["source", "classes", "subject", "question", "choices", "answer"],
    num_rows: 3700
})
```

### Example Query

```python
# Inspect the first example
print(dataset[0])
```

Sample output:

```python
{
    'source': 'https://www.edebiyatogretmeni.org/ses-bilgisi-test-1/',
    'classes': 'ses-bilgisi',
    'subject': 'ses-bilgisi',
    'question': 'Aşağıdaki cümlelerin hangisinde "ünsüz düşmesine" uğramış birden çok sözcük kullanılmıştır?',
    'choices': [
        'Sevginin küçücük görünümünden sıcacık bir hikâye çıkardığını görmüştüm.',
        'Ufacık dedikodular bile büyük bir aileyi dağıtmak için yeterli olur.',
        'Evlerin minicik saçaklarından yere kadar buzlar sarkıyordu.',
        'Araba, büyücek bir binanın önünde sarsılarak durdu.',
        'Mahallenin daracık sokaklarında çeşitli oyunlar oynardık.'
    ],
    'answer': 0
}
```

---

## Citation
When using this dataset in your work, please cite:

```bibtex
@misc{turkish-grammar-mmlu,
  title   = {Turkish-Grammar-MMLU},
  author  = {{Turkish-DB}},
  year    = {2025},
  url     = {https://huggingface.co/datasets/turkish-db/turkish-grammer-mmlu}
}
```

---

## License
This dataset is released under the **MIT License**.