Datasets:
File size: 15,572 Bytes
c0d2c15 1a7b3a1 c0d2c15 1a7b3a1 c0d2c15 1a7b3a1 c0d2c15 1a7b3a1 c0d2c15 1a7b3a1 c0d2c15 1a7b3a1 |
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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
---
license: apache-2.0
language:
- ru
size_categories:
- 1K<n<10K
dataset_info:
- config_name: sociology_single_choice
features:
- name: input
dtype: string
- name: A
dtype: string
- name: B
dtype: string
- name: C
dtype: string
- name: D
dtype: string
- name: answer
dtype:
class_label:
names:
'0': A
'1': B
'2': C
'3': D
- config_name: sociology_multiple_choice
features:
- name: input
dtype: string
- name: answer
dtype: string
- config_name: sociology_word_generation
features:
- name: input
dtype: string
- name: answer
dtype: string
- config_name: sociology_matching
features:
- name: task_text
dtype: string
- name: option_1_name
dtype: string
- name: option_1
dtype: string
- name: option_2_name
dtype: string
- name: option_2
dtype: string
- name: answer
dtype: string
- config_name: sociology_text_generation
features:
- name: input
dtype: string
- name: criteria_table
dtype: string
- name: task_points
dtype: int32
- config_name: literature_multiple_choice
features:
- name: input
dtype: string
- name: answer
dtype: string
- config_name: literature_word_generation
features:
- name: input
dtype: string
- name: answer
dtype: string
- config_name: literature_matching
features:
- name: task_text
dtype: string
- name: option_1_name
dtype: string
- name: option_1
dtype: string
- name: option_2_name
dtype: string
- name: option_2
dtype: string
- name: answer
dtype: string
- config_name: literature_text_generation
features:
- name: input
dtype: string
- name: criteria_table
dtype: string
- name: task_points
dtype: int32
- config_name: russian_multiple_choice
features:
- name: input
dtype: string
- name: answer
dtype: string
- config_name: russian_word_generation
features:
- name: input
dtype: string
- name: answer
dtype: string
- config_name: russian_matching
features:
- name: task_text
dtype: string
- name: option_1_name
dtype: string
- name: option_1
dtype: string
- name: option_2_name
dtype: string
- name: option_2
dtype: string
- name: answer
dtype: string
- config_name: russian_text_generation
features:
- name: input
dtype: string
- name: criteria_table
dtype: string
- name: task_points
dtype: int32
configs:
- config_name: sociology_single_choice
data_files:
- split: dev
path: "sociology/single_choice/dev/*.csv"
- split: test
path: "sociology/single_choice/test/*.csv"
- config_name: sociology_multiple_choice
data_files:
- split: dev
path: "sociology/multiple_choice/dev/*.csv"
- split: test
path: "sociology/multiple_choice/test/*.csv"
- config_name: sociology_word_generation
data_files:
- split: dev
path: "sociology/word_generation/dev/*.csv"
- split: test
path: "sociology/word_generation/test/*.csv"
- config_name: sociology_matching
data_files:
- split: dev
path: "sociology/matching/dev/*.csv"
- split: test
path: "sociology/matching/test/*.csv"
- config_name: sociology_text_generation
data_files:
- split: test
path: "sociology/text_generation/*.csv"
- config_name: literature_multiple_choice
data_files:
- split: dev
path: "literature/multiple_choice/dev/*.csv"
- split: test
path: "literature/multiple_choice/test/*.csv"
- config_name: literature_word_generation
data_files:
- split: dev
path: "literature/word_generation/dev/*.csv"
- split: test
path: "literature/word_generation/test/*.csv"
- config_name: literature_multiple_choice
data_files:
- split: dev
path: "literature/multiple_choice/dev/*.csv"
- split: test
path: "literature/multiple_choice/test/*.csv"
- config_name: literature_matching
data_files:
- split: dev
path: "literature/matching/dev/*.csv"
- split: test
path: "literature/matching/test/*.csv"
- config_name: literature_text_generation
data_files:
- split: test
path: "literature/text_generation/*.csv"
- config_name: russian_word_generation
data_files:
- split: dev
path: "russian/word_generation/dev/*.csv"
- split: test
path: "russian/word_generation/test/*.csv"
- config_name: russian_multiple_choice
data_files:
- split: dev
path: "russian/multiple_choice/dev/*.csv"
- split: test
path: "russian/multiple_choice/test/*.csv"
- config_name: russian_matching
data_files:
- split: dev
path: "russian/matching/dev/*.csv"
- split: test
path: "russian/matching/test/*.csv"
- config_name: russian_text_generation
data_files:
- split: test
path: "russian/text_generation/*.csv"
---
# 🐐 GOAT
Generalized Occupational Aptitude Test (GOAT) is a dataset based on questions from Russian government exams that is required for every person graduated from school.
Currently, the dataset cover questions from Literature, Sociology and Russian language subjects.
All questions are divided by expected output format:
- **Single choice**. In such tasks, there is a set of possible answers from which you need to choose the right one. The answer to such tasks is one digit, which is the number of correct answer to the task.
- **Multiple choice**. In such tasks, there is a set of possible answers from which you need to choose multiple correct answers. The answer to such tasks is a set of digits, which are the numbers of correct answers to the task. Note that the order of digits is not important.
- **Word generation**. The answer to such tasks is a word or a phrase (multiple concrete words). The answer should not include spaces. Ground truth may include more than one correct word, in this case, they are concatenated with comma.
- **Matching**. In such tasks, for each object in the given list property from the second list should be selected. The answer to such tasks is a sequence of digits, which represents the matching. Position of the digit represents object number in the list of objects and the digit itself is a number of corresponding property in the list of properties.
- **Text generation**. These tasks require a detailed text answer, i.e. essay. There is no ground truth answer, only evaluation criteria and maximum possible score.
Navigate to dataset structure section for more details and examples.
## Dataset Creation
All tasks from this dataset were parsed from [sdamgia.ru](https://sdamgia.ru/) website.
Each task was normalized, i.e.:
- All tables, lists, and other HTML structures were converted to plain text.
- Based on task type, corresponding fields like `input` or `answer` were extracted.
- Manual validation of samples
Parser's code is located in the [`deepvk/goat`](https://github.com/deepvk/goat) repo on GitHub.
### Dataset statistic
For each task, except text generation, we provide `dev` and `test` splits.
`dev` split consist of exactly 5 samples and can be used as few-shots.
`test` statistic is represented in table:
| Subject | Single Choice | Multiple Choice | Word Generation | Matching | Text Generation | Total |
| ---------- | ------------- | --------------- | --------------- | -------- | --------------- | -------- |
| Literature | ❌ | 103 | 416 | 59 | 959 | **1537** |
| Russian | ❌ | 3021 | 1008 | 57 | 430 | **4516** |
| Sociology | 1124 | 1624 | 29 | 638 | 826 | **4241** |
### Dataset Structure
**Single choice**
- `input`: a string question
- `A`, `B`, `C`, `D`: four strings with possible answers
- `answer`: Letter of correct answer
An example from sociology single choice tasks looks as follows:
```json
{
"input": "В отличие от природы, общество",
"A": "обусловлено деятельностью человека",
"B": "находится в постоянном развитии",
"C": "состоит из взаимосвязанных элементов",
"D": "является частью материального мира",
"answer": "A"
}
```
**Multiple choice and word generation**
- `input`: a string question
- `answer`: correct answers concatenated with comma
An example from sociology multiple choice tasks looks as follows:
```json
{
"input": "В стране Z глава государства получает власть по наследству. Какие признаки позволяют сделать вывод о том, что в стране Z существует абсолютная монархия? Запишите соответствующие цифры. 1. Глава государства получает власть по наследству. 2. Граждане не обладают политическими правами и свободами. 3. Власть главы государства не ограничена законом. 4. Глава государства осуществляет свои полномочия пожизненно. 5. В стране отсутствует парламент. 6. Местные власти назначаются главой государства.",
"answer": "2,3,5"
}
```
An example from literature word generation tasks looks as follows:
```json
{
"input": "Назовите художественное средство, усиливающее эмоциональное звучание строки «О жизни тленной, тленной и прекрасной». Прочитайте приведённое ниже произведение и выполните задание. Я научилась просто, мудро жить, Смотреть на небо и молиться Богу, И долго перед вечером бродить, Чтоб утомить ненужную тревогу. Когда шуршат в овраге лопухи И никнет гроздь рябины жёлто-красной, Слагаю я весёлые стихи О жизни тленной, тленной и прекрасной. Я возвращаюсь. Лижет мне ладонь Пушистый кот, мурлыкает умильней, И яркий загорается огонь На башенке озерной лесопильни. Лишь изредка прорезывает тишь Крик аиста, слетевшего на крышу. И если в дверь мою ты постучишь, Мне кажется, я даже не услышу. А. А. Ахматова, 1912."
"answer": "повтор,лексическийповтор"
}
```
**Matching**
- `task_text`: a string question
- `option_1_name`: name of objects in the option_1 list
- `option_1`: list of strings
- `option_2_name`: name of properties in the option_2 list
- `option_2`: list of strings
- `answer`: sequence of digits
An example from sociology matching tasks looks as follows:
```json
{
"task_text": "Установите соответствие между примерами и видами налогов: к каждой позиции, данной в первом столбце, подберите соответствующую позицию из второго столбца.",
"option_1_name": "ПРИМЕР",
"option_1": ["А) налог на добавленную стоимость", "Б) налог на прибыль", "В) налог на имущество физических лиц", "Г) земельный налог", "Д) акцизы"],
"option_2_name": "ВИД НАЛОГА",
"option_2": ["1) прямые налоги", "2) косвенные налоги"],
"answer": "21112"
}
```
**Text generation**
- `input`: list consisting of one string that is a task text.
- `criteria_table`: list of criteria to properly grade the task.
- `task_points`: maximum points for the task.
An example from sociology text generation tasks looks as follows:
```json
{
"input": "Какие два из перечисленных понятий используются в первую очередь при описании экономической сферы общества? Государство; акционерное общество; предпринимательство; тоталитаризм; социальная мобильность. Выпишите соответствующие понятия и раскройте смысл любого одного из них.",
"criteria_table": "Критерии оценивания:
Правильно выписаны два верных понятия, и раскрыт смысл любого одного из них - 2 балла.
Наряду с верными понятиями выписано(ы) одно или более «лишних» понятий, раскрыт смысл верного понятия.ИЛИ Правильно выписаны только два верных понятия.ИЛИ Правильно выписано только одно верное понятие, раскрыт его смысл - 1 балл.
Наряду с верными понятиями выписано(ы) одно или более «лишних» понятий, раскрыт только смысл «лишнего» понятия.ИЛИ Наряду с верными понятиями выписано(ы) одно или более «лишних» понятий, смысл понятия не раскрыт или раскрыт неверно.ИЛИ Выписано только одно верное понятие.ИЛИ Приведены рассуждения общего характера, не соответствующие требованию задания.ИЛИ Ответ неправильный - 0 баллов.
Максимальный балл - 2 балла."
"task_points": 2
}
```
## Usage
Possible uses of the dataset include integration into popular LLM evaluation frameworks.
**LM Evaluation Harness**
This framework is useful for `single choice`, `multiple choice`, `matching`, and `word generation` tasks.
See examples of integration, including custom metrics, in [`deepvk/lm-evaluation-harness`](https://github.com/deepvk/lm-evaluation-harness/tree/main/lm_eval/tasks/goat) fork on GitHub.
For example:
```bash
accelerate launch -m lm_eval --model hf --model_args <YOUR_MODEL_NAME> --tasks sociology_single_choice
```
Will run evaluation of specified model on sociology single choice task.
**LLM as Judge**
Another option is to use LLM to evaluate produced answers, i.e. for `text generation` task.
See example of integration in [`deepvk/FastChat`](https://github.com/deepvk/FastChat/tree/main/fastchat/llm_judge) fork on GitHub.
## Citation
```
@misc{deepvk2024goat,
title={GOAT: Generalized Occupational Aptitude Test},
author={Vyrodov, Mikhail and Spirin, Egor},
url={https://huggingface.co/datasets/deepvk/goat},
publisher={Hugging Face}
year={2024},
}
```
|