File size: 5,570 Bytes
833df92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8e3d7cd
 
 
 
 
833df92
 
 
 
 
 
 
 
 
 
 
 
 
8e3d7cd
 
833df92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: cc-by-4.0
dataset_info:
- config_name: data-ms
  features:
  - name: file name
    dtype: string
  - name: IBSN
    dtype: string
  - name: subject
    dtype: string
  - name: topic
    dtype: string
  - name: Questions
    dtype: string
  - name: figures
    sequence: image
  - name: label
    sequence: string
  - name: Options
    dtype: string
  - name: Answers
    dtype: string
  splits:
  - name: eval
    num_bytes: 34663548
    num_examples: 614
  download_size: 34559856
  dataset_size: 34663548
- config_name: data_en
  features:
  - name: FileName
    dtype: string
  - name: IBSN
    dtype: string
  - name: Subject
    dtype: string
  - name: Topic
    dtype: string
  - name: Questions
    dtype: string
  - name: Figures
    sequence: image
  - name: Label
    sequence: string
  - name: Options
    dtype: string
  - name: Answers
    dtype: string
  splits:
  - name: eval
    num_bytes: 34663548
    num_examples: 614
  - name: train
    num_bytes: 34663548.0
    num_examples: 614
  download_size: 69119656
  dataset_size: 69327096.0
tags:
- mathematics
- physics
- llms
- Malaysia
- Asia
size_categories:
- n<1K
configs:
- config_name: data_en
  data_files:
  - split: eval
    path: data_en/train-*
  - split: train
    path: data_en/train-*
- config_name: data_ms
  data_files:
  - split: eval
    path: data_ms/eva-*
language:
- en
- ms
---
**STEM_Dataset_eng_ms**

**A Bilingual Dataset for Evaluating Reasoning Skills in STEM Subjects**

This dataset provides a comprehensive evaluation set for tasks assessing reasoning skills in Science, Technology, Engineering, and Mathematics (STEM) subjects. It features questions in both English and Malay, catering to a diverse audience.

**Key Features**

* **Bilingual:** Questions are available in English and Malay, promoting accessibility for multilingual learners.
* **Visually Rich:** Questions are accompanied by figures to enhance understanding and support visual and contextual reasoning.
* **Focus on Reasoning:** The dataset emphasizes questions requiring logical reasoning and problem-solving skills, as opposed to simple recall of knowledge.
* **Real-World Context:** Questions are derived from real-world scenarios, such as past SPM (Sijil Pelajaran Malaysia) examinations, making them relatable to students.

**Dataset Structure**

The dataset is comprised of two configurations: `data_en` (English) and `data_ms` (Malay). Both configurations share the same features and structure.

**Data Fields**

* **FileName:** Unique identifier for the source file (alphanumeric).
* **IBSN:** International Standard Book Number of the source book (if available).
* **Subject:** Academic subject (e.g., Physics, Mathematics).
* **Topic:** Specific topic of the question within the subject (may be missing).
* **Questions:** Main body of the question or problem statement.
* **Figures:** List of associated image files related to the question (empty if no figures are present).
* **Label:** Original caption or description of each image in the `imgs` list.
* **Options:** Possible answer choices for the question, with keys (e.g., "A", "B", "C", "D") and corresponding text.
* **Answers:** Correct answer to the question, represented by the key of the correct option (e.g., "C").

## Data Instance Example

```json
{
    "FileName": "FC064244",
    "ISBN": "9786294703681",
    "Subject": "Physics",
    "Topic": "Measurement",
    "Questions": "State the physical quantity that can be measured using the measuring device shown in Diagram 1.",
    "Figures": [
        {
            "label": "Diagram 1",
            "path": "FC064244_C1_Q12_ImageFile_0.png"
        }
    ],
    "Options": {
        "A": "Weight",
        "B": "Mass",
        "C": "Amount of substance",
        "D": "Volume"
    },
    "Answers": "B"
}
```

**Data Split**

The dataset is split between Physics and Mathematics subjects, with some questions lacking topic categorization.

| Subject     | Instances with Topic | Instances without Topic | Total |
|-------------|----------------------|-------------------------|-------|
| Physics     | 316                  | 77                      | 393   |
| Mathematics | 32                   | 189                     | 221   |

**Known Limitations**

* **Subject Coverage:** The current version focuses on Physics and Mathematics. Future releases will include more STEM subjects.
* **Answer Accuracy:** Answers are extracted from various sources and may contain inaccuracies.

**Source**

The dataset is derived from a combination of resources, including:

* SPM past-year exams
* SPM mock exams
* Educational exercise books

**Data Acquisition Method**

* Optical Character Recognition (OCR) for text extraction
* Manual quality control (QC) to ensure data accuracy

**Versioning and Maintenance**

* **Current Version:** 1.0.0
* **Release Date:** December 27, 2024
* **Contact:** We welcome any feedback or corrections to improve the dataset quality.

**License**

This dataset is licensed under the [Creative Commons Attribution 4.0 International License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).

**Getting Started**

You can access the dataset on Hugging Face using the following commands:

```bash
# For English data
pip install datasets

from datasets import load_dataset

dataset = load_dataset("Supa-AI/STEM-en-ms", config_name="data_en")

# For Malay data
dataset = load_dataset("Supa-AI/STEM-en-ms", config_name="data_ms")
```