drkolesnikov commited on
Commit
f2e09a9
·
verified ·
1 Parent(s): eaf43a8

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +165 -0
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - ru
5
+ pretty_name: Russian NMO Medical MCQ
6
+ task_categories:
7
+ - question-answering
8
+ - text-generation
9
+ tags:
10
+ - russian
11
+ - medical
12
+ - nmo
13
+ - multiple-choice
14
+ - supervised-fine-tuning
15
+ configs:
16
+ - config_name: mcq
17
+ data_files:
18
+ - split: train
19
+ path: data/mcq/train-*.parquet
20
+ - split: validation
21
+ path: data/mcq/validation-*.parquet
22
+ - split: test
23
+ path: data/mcq/test-*.parquet
24
+ - config_name: sft_single
25
+ data_files:
26
+ - split: train
27
+ path: data/sft_single/train-*.parquet
28
+ - split: validation
29
+ path: data/sft_single/validation-*.parquet
30
+ - split: test
31
+ path: data/sft_single/test-*.parquet
32
+ - config_name: sft_multi
33
+ data_files:
34
+ - split: train
35
+ path: data/sft_multi/train-*.parquet
36
+ - split: validation
37
+ path: data/sft_multi/validation-*.parquet
38
+ - split: test
39
+ path: data/sft_multi/test-*.parquet
40
+ - config_name: sft_all
41
+ data_files:
42
+ - split: train
43
+ path: data/sft_all/train-*.parquet
44
+ - split: validation
45
+ path: data/sft_all/validation-*.parquet
46
+ - split: test
47
+ path: data/sft_all/test-*.parquet
48
+ ---
49
+
50
+ # Russian NMO Medical MCQ
51
+
52
+ Russian-language NMO medical test questions with single-correct and multiple-correct
53
+ multiple-choice formats, prepared for LLM fine-tuning and evaluation.
54
+
55
+ This dataset is intended for educational test-answering, supervised fine-tuning,
56
+ retrieval/evaluation experiments, and benchmark construction. It is not clinical
57
+ decision support.
58
+
59
+ ## Configs
60
+
61
+ - `mcq`: canonical structured examples.
62
+ - `sft_single`: chat/instruction rows for single-correct-choice questions.
63
+ - `sft_multi`: chat/instruction rows for multiple-correct-choice questions.
64
+ - `sft_all`: concatenation of `sft_single` and `sft_multi`.
65
+
66
+ ## Loading
67
+
68
+ ```python
69
+ from datasets import load_dataset
70
+
71
+ mcq = load_dataset("drkolesnikov/russian-nmo-medical-mcq", "mcq")
72
+ sft_all = load_dataset("drkolesnikov/russian-nmo-medical-mcq", "sft_all")
73
+ ```
74
+
75
+ For a local export:
76
+
77
+ ```python
78
+ from datasets import load_dataset
79
+
80
+ mcq = load_dataset(".", "mcq")
81
+ sft_all = load_dataset(".", "sft_all")
82
+ ```
83
+
84
+ ## Schema
85
+
86
+ `mcq` columns:
87
+
88
+ ```text
89
+ id
90
+ topic
91
+ question
92
+ choices
93
+ correct_choice_indices
94
+ correct_choice_texts
95
+ choice_count
96
+ correct_choice_count
97
+ is_multi_answer
98
+ task_type
99
+ ```
100
+
101
+ SFT columns:
102
+
103
+ ```text
104
+ id
105
+ topic
106
+ task_type
107
+ correct_choice_indices
108
+ messages
109
+ prompt
110
+ completion
111
+ ```
112
+
113
+ `task_type` is one of:
114
+
115
+ - `single_choice`
116
+ - `multiple_correct`
117
+
118
+ Answer indices are zero-based and preserve the original answer-choice order.
119
+
120
+ ## Prompt Format
121
+
122
+ SFT prompts include the topic when available, then the question and zero-based
123
+ answer choices. SFT completions contain only selected answer number(s) and answer
124
+ text, with no explanations.
125
+
126
+ Single-correct example:
127
+
128
+ ```text
129
+ Ответ: 2. системный воспалительный ответ
130
+ ```
131
+
132
+ Multiple-correct example:
133
+
134
+ ```text
135
+ Ответы: 0, 2, 4. лихорадка; тахикардия; лейкоцитоз
136
+ ```
137
+
138
+ ## Splits
139
+
140
+ Splits are deterministic and grouped by normalized question ID:
141
+
142
+ - train: 90%
143
+ - validation: 5%
144
+ - test: 5%
145
+
146
+ All variants derived from the same normalized question stay in the same split.
147
+
148
+ ## Counts
149
+
150
+ | Config | Train | Validation | Test | Total |
151
+ | --- | ---: | ---: | ---: | ---: |
152
+ | `mcq` | 384,286 | 21,332 | 21,342 | 426,960 |
153
+ | `sft_single` | 260,561 | 14,546 | 14,640 | 289,747 |
154
+ | `sft_multi` | 123,725 | 6,786 | 6,702 | 137,213 |
155
+ | `sft_all` | 384,286 | 21,332 | 21,342 | 426,960 |
156
+
157
+ Excluded from all public configs:
158
+
159
+ - conflicting answer variants: 449
160
+ - answer sets attached to conflicting variants: 914
161
+ - answer sets with markdown/source-page artifacts: 4
162
+
163
+ ## License
164
+
165
+ Released under `cc-by-4.0`.