suayptalha commited on
Commit
081b7d8
·
verified ·
1 Parent(s): 20de6e6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -1
README.md CHANGED
@@ -11,4 +11,102 @@ tags:
11
  pretty_name: Turkish Grammer MMLU
12
  size_categories:
13
  - 1K<n<10K
14
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  pretty_name: Turkish Grammer MMLU
12
  size_categories:
13
  - 1K<n<10K
14
+ ---
15
+
16
+ # Turkish-Grammar-MMLU
17
+
18
+ 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.
19
+
20
+ ---
21
+
22
+ ## Overview
23
+ - **Name**: Turkish-Grammar-MMLU
24
+ - **Provider**: Turkish-DB
25
+ - **Task**: Multiple-Choice QA
26
+ - **Modality**: Text
27
+ - **Format**: CSV (also accessible via API in Parquet format)
28
+ - **Language**: Turkish
29
+ - **Size**: 3,700 examples
30
+ - **Splits**: Single `train` split (3.7K samples)
31
+ - **Source**: https://www.edebiyatogretmeni.org/
32
+ - **License**: MIT
33
+
34
+ ---
35
+
36
+ ## Data Structure
37
+ When downloaded, the dataset consists of a CSV file with the following columns:
38
+
39
+ | Column | Description |
40
+ |-----------|-------------------------------------------------------------|
41
+ | `source` | URL or document name where the question was sourced |
42
+ | `classes` | Sub-grammar rule category (e.g., phonetics) |
43
+ | `subject` | General topic heading (28 distinct subjects) |
44
+ | `question`| Question text |
45
+ | `choices` | List of 5 answer options |
46
+ | `answer` | Index of the correct option (0–4) |
47
+
48
+ ---
49
+
50
+ ## Usage
51
+ Load the dataset using the `datasets` library:
52
+
53
+ ```python
54
+ from datasets import load_dataset
55
+
56
+ dataset = load_dataset("turkish-db/turkish-grammer-mmlu")
57
+ print(dataset)
58
+ ```
59
+
60
+ Expected output:
61
+
62
+ ```python
63
+ Dataset({
64
+ features: ["source", "classes", "subject", "question", "choices", "answer"],
65
+ num_rows: 3700
66
+ })
67
+ ```
68
+
69
+ ### Example Query
70
+
71
+ ```python
72
+ # Inspect the first example
73
+ eprint(dataset["train"][0])
74
+ ```
75
+
76
+ Sample output:
77
+
78
+ ```python
79
+ {
80
+ 'source': 'https://www.edebiyatogretmeni.org/ses-bilgisi-test-1/',
81
+ 'classes': 'ses-bilgisi',
82
+ 'subject': 'ses-bilgisi',
83
+ 'question': 'Aşağıdaki cümlelerin hangisinde "ünsüz düşmesine" uğramış birden çok sözcük kullanılmıştır?',
84
+ 'choices': [
85
+ 'Sevginin küçücük görünümünden sıcacık bir hikâye çıkardığını görmüştüm.',
86
+ 'Ufacık dedikodular bile büyük bir aileyi dağıtmak için yeterli olur.',
87
+ 'Evlerin minicik saçaklarından yere kadar buzlar sarkıyordu.',
88
+ 'Araba, büyücek bir binanın önünde sarsılarak durdu.',
89
+ 'Mahallenin daracık sokaklarında çeşitli oyunlar oynardık.'
90
+ ],
91
+ 'answer': 0
92
+ }
93
+ ```
94
+
95
+ ---
96
+
97
+ ## Citation
98
+ When using this dataset in your work, please cite:
99
+
100
+ ```bibtex
101
+ @misc{turkish-grammar-mmlu,
102
+ title = {Turkish-Grammar-MMLU},
103
+ author = {{Turkish-DB}},
104
+ year = {2025},
105
+ url = {https://huggingface.co/datasets/turkish-db/turkish-grammer-mmlu}
106
+ }
107
+ ```
108
+
109
+ ---
110
+
111
+ ## License
112
+ This dataset is released under the **MIT License**.