Update README.md
Browse files
README.md
CHANGED
@@ -1,65 +1,182 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-4.0
|
3 |
-
|
4 |
-
- config_name:
|
5 |
-
|
6 |
-
-
|
7 |
-
|
8 |
-
-
|
9 |
-
|
10 |
-
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
- name:
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
- name:
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
- name:
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-4.0
|
3 |
+
dataset_info:
|
4 |
+
- config_name: data-ms
|
5 |
+
features:
|
6 |
+
- name: file name
|
7 |
+
dtype: string
|
8 |
+
- name: IBSN
|
9 |
+
dtype: string
|
10 |
+
- name: subject
|
11 |
+
dtype: string
|
12 |
+
- name: topic
|
13 |
+
dtype: string
|
14 |
+
- name: Questions
|
15 |
+
dtype: string
|
16 |
+
- name: figures
|
17 |
+
sequence: image
|
18 |
+
- name: label
|
19 |
+
sequence: string
|
20 |
+
- name: Options
|
21 |
+
dtype: string
|
22 |
+
- name: Answers
|
23 |
+
dtype: string
|
24 |
+
splits:
|
25 |
+
- name: eval
|
26 |
+
num_bytes: 34663548
|
27 |
+
num_examples: 614
|
28 |
+
download_size: 34559856
|
29 |
+
dataset_size: 34663548
|
30 |
+
- config_name: data_en
|
31 |
+
features:
|
32 |
+
- name: FileName
|
33 |
+
dtype: string
|
34 |
+
- name: IBSN
|
35 |
+
dtype: string
|
36 |
+
- name: Subject
|
37 |
+
dtype: string
|
38 |
+
- name: Topic
|
39 |
+
dtype: string
|
40 |
+
- name: Questions
|
41 |
+
dtype: string
|
42 |
+
- name: Figures
|
43 |
+
sequence: image
|
44 |
+
- name: Label
|
45 |
+
sequence: string
|
46 |
+
- name: Options
|
47 |
+
dtype: string
|
48 |
+
- name: Answers
|
49 |
+
dtype: string
|
50 |
+
splits:
|
51 |
+
- name: eval
|
52 |
+
num_bytes: 34663548
|
53 |
+
num_examples: 614
|
54 |
+
download_size: 34559828
|
55 |
+
dataset_size: 34663548
|
56 |
+
tags:
|
57 |
+
- mathematics
|
58 |
+
- physics
|
59 |
+
- llms
|
60 |
+
- Malaysia
|
61 |
+
- Asia
|
62 |
+
size_categories:
|
63 |
+
- n<1K
|
64 |
+
configs:
|
65 |
+
- config_name: data_en
|
66 |
+
data_files:
|
67 |
+
- split: eval
|
68 |
+
path: data_en/train-*
|
69 |
+
- config_name: data_ms
|
70 |
+
data_files:
|
71 |
+
- split: eval
|
72 |
+
path: data_ms/eva-*
|
73 |
+
language:
|
74 |
+
- en
|
75 |
+
- ms
|
76 |
+
---
|
77 |
+
**STEM_Dataset_eng_ms**
|
78 |
+
|
79 |
+
**A Bilingual Dataset for Evaluating Reasoning Skills in STEM Subjects**
|
80 |
+
|
81 |
+
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.
|
82 |
+
|
83 |
+
**Key Features**
|
84 |
+
|
85 |
+
* **Bilingual:** Questions are available in English and Malay, promoting accessibility for multilingual learners.
|
86 |
+
* **Visually Rich:** Questions are accompanied by figures to enhance understanding and support visual and contextual reasoning.
|
87 |
+
* **Focus on Reasoning:** The dataset emphasizes questions requiring logical reasoning and problem-solving skills, as opposed to simple recall of knowledge.
|
88 |
+
* **Real-World Context:** Questions are derived from real-world scenarios, such as past SPM (Sijil Pelajaran Malaysia) examinations, making them relatable to students.
|
89 |
+
|
90 |
+
**Dataset Structure**
|
91 |
+
|
92 |
+
The dataset is comprised of two configurations: `data_en` (English) and `data_ms` (Malay). Both configurations share the same features and structure.
|
93 |
+
|
94 |
+
**Data Fields**
|
95 |
+
|
96 |
+
* **FileName:** Unique identifier for the source file (alphanumeric).
|
97 |
+
* **IBSN:** International Standard Book Number of the source book (if available).
|
98 |
+
* **Subject:** Academic subject (e.g., Physics, Mathematics).
|
99 |
+
* **Topic:** Specific topic of the question within the subject (may be missing).
|
100 |
+
* **Questions:** Main body of the question or problem statement.
|
101 |
+
* **Figures:** List of associated image files related to the question (empty if no figures are present).
|
102 |
+
* **Label:** Original caption or description of each image in the `imgs` list.
|
103 |
+
* **Options:** Possible answer choices for the question, with keys (e.g., "A", "B", "C", "D") and corresponding text.
|
104 |
+
* **Answers:** Correct answer to the question, represented by the key of the correct option (e.g., "C").
|
105 |
+
|
106 |
+
## Data Instance Example
|
107 |
+
|
108 |
+
```json
|
109 |
+
{
|
110 |
+
"FileName": "FC064244",
|
111 |
+
"ISBN": "9786294703681",
|
112 |
+
"Subject": "Physics",
|
113 |
+
"Topic": "Measurement",
|
114 |
+
"Questions": "State the physical quantity that can be measured using the measuring device shown in Diagram 1.",
|
115 |
+
"Figures": [
|
116 |
+
{
|
117 |
+
"label": "Diagram 1",
|
118 |
+
"path": "FC064244_C1_Q12_ImageFile_0.png"
|
119 |
+
}
|
120 |
+
],
|
121 |
+
"Options": {
|
122 |
+
"A": "Weight",
|
123 |
+
"B": "Mass",
|
124 |
+
�� "C": "Amount of substance",
|
125 |
+
"D": "Volume"
|
126 |
+
},
|
127 |
+
"Answers": "B"
|
128 |
+
}
|
129 |
+
```
|
130 |
+
|
131 |
+
**Data Split**
|
132 |
+
|
133 |
+
The dataset is split between Physics and Mathematics subjects, with some questions lacking topic categorization.
|
134 |
+
|
135 |
+
| Subject | Instances with Topic | Instances without Topic | Total |
|
136 |
+
|-------------|----------------------|-------------------------|-------|
|
137 |
+
| Physics | 316 | 77 | 393 |
|
138 |
+
| Mathematics | 32 | 189 | 221 |
|
139 |
+
|
140 |
+
**Known Limitations**
|
141 |
+
|
142 |
+
* **Subject Coverage:** The current version focuses on Physics and Mathematics. Future releases will include more STEM subjects.
|
143 |
+
* **Answer Accuracy:** Answers are extracted from various sources and may contain inaccuracies.
|
144 |
+
|
145 |
+
**Source**
|
146 |
+
|
147 |
+
The dataset is derived from a combination of resources, including:
|
148 |
+
|
149 |
+
* SPM past-year exams
|
150 |
+
* SPM mock exams
|
151 |
+
* Educational exercise books
|
152 |
+
|
153 |
+
**Data Acquisition Method**
|
154 |
+
|
155 |
+
* Optical Character Recognition (OCR) for text extraction
|
156 |
+
* Manual quality control (QC) to ensure data accuracy
|
157 |
+
|
158 |
+
**Versioning and Maintenance**
|
159 |
+
|
160 |
+
* **Current Version:** 1.0.0
|
161 |
+
* **Release Date:** December 27, 2024
|
162 |
+
* **Contact:** We welcome any feedback or corrections to improve the dataset quality.
|
163 |
+
|
164 |
+
**License**
|
165 |
+
|
166 |
+
This dataset is licensed under the [Creative Commons Attribution 4.0 International License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
167 |
+
|
168 |
+
**Getting Started**
|
169 |
+
|
170 |
+
You can access the dataset on Hugging Face using the following commands:
|
171 |
+
|
172 |
+
```bash
|
173 |
+
# For English data
|
174 |
+
pip install datasets
|
175 |
+
|
176 |
+
from datasets import load_dataset
|
177 |
+
|
178 |
+
dataset = load_dataset("Supa-AI/STEM-en-ms", config_name="data_en")
|
179 |
+
|
180 |
+
# For Malay data
|
181 |
+
dataset = load_dataset("Supa-AI/STEM-en-ms", config_name="data_ms")
|
182 |
+
```
|