Jaypaun007 commited on
Commit
0eeab15
·
verified ·
1 Parent(s): c3d745a

Add OpenSTEM-QA v0.1: 10,000 synthetic STEM MCQs

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: OpenSTEM-QA
3
+ tags:
4
+ - stem
5
+ - mathematics
6
+ - physics
7
+ - chemistry
8
+ - synthetic
9
+ - multiple-choice
10
+ - jee-inspired
11
+ task_categories:
12
+ - question-answering
13
+ language:
14
+ - en
15
+ ---
16
+
17
+ # OpenSTEM-QA
18
+
19
+ **10,000 original, synthetic STEM multiple-choice QA records by Axilo Labz.**
20
+
21
+ Hugging Face target repository: `Axilo67/openstem-qa`
22
+
23
+ ## Release contents
24
+
25
+ - 10,000 unique question records.
26
+ - Exactly four options (A–D) per question.
27
+ - One designated answer option.
28
+ - A worked numerical solution.
29
+ - An explanation field for each option.
30
+ - 3,340 mathematics, 3,330 physics and 3,330 chemistry questions.
31
+ - `train` (9,000), `validation` (500) and `test` (500) JSONL splits.
32
+ - A combined JSONL file containing all records.
33
+
34
+ ## Subject and topic coverage
35
+
36
+ ### Mathematics
37
+ Quadratic-root identities, arithmetic and geometric progressions, polynomial differentiation, polynomial definite integrals, combinations, probability without replacement, determinants, vector dot products, and complex-number division.
38
+
39
+ ### Physics
40
+ Projectile motion, work–energy, friction on an inclined plane, rotational dynamics, series-parallel circuits, Coulomb's law, capacitor energy, isochoric ideal-gas processes, thin-lens magnification, and mass–spring simple harmonic motion.
41
+
42
+ ### Chemistry
43
+ Limiting reagents, ideal gases, strong-acid/strong-base mixtures, first-order kinetics, electrolysis, colligative properties, chemical equilibrium, the Nernst equation, degree of unsaturation, and formal oxidation-state charge balance in hypothetical coordination ions.
44
+
45
+ ## Generation method
46
+
47
+ This release was generated with deterministic Python templates and randomized numerical parameters. It was **not** generated by `zai-org/GLM-5.3-Flash`. The hosted GLM model was not run because the available Hugging Face remote-compute route returned `402 Payment Required`.
48
+
49
+ The questions are newly worded and parameterized. They are inspired by the subject matter and calculation style of Indian JEE preparation, but they are not official JEE questions and do not reproduce past-paper questions.
50
+
51
+ ## Record schema
52
+
53
+ Each JSONL object contains:
54
+
55
+ | Field | Meaning |
56
+ |---|---|
57
+ | `id` | Unique record identifier |
58
+ | `subject`, `topic`, `subtopic` | Curriculum labels |
59
+ | `difficulty` | Provisional `hard` or `very_hard` label |
60
+ | `difficulty_labeling_method`, `difficulty_note` | Explain the provisional label |
61
+ | `question_type` | `single_correct_mcq` |
62
+ | `question` | Question statement |
63
+ | `options` | Exactly four choices keyed A–D |
64
+ | `correct_answer` | Correct option label |
65
+ | `correct_answer_value` | Numeric answer with units where applicable |
66
+ | `solution` | Worked calculation |
67
+ | `option_explanations` | Explanation for all four choices |
68
+ | `concepts_required` | Concept tags |
69
+ | `reasoning_steps` | Template-declared step count |
70
+ | `answer_type`, `language` | Answer format and language |
71
+ | `origin`, `source_type` | Synthetic-data provenance |
72
+ | `generator`, `generator_template_id` | Generator and question family |
73
+ | `verification_status`, `verification_note`, `answer_validation` | Validation provenance and limitations |
74
+
75
+ ## Validation performed
76
+
77
+ The generated release passed these structural checks:
78
+
79
+ - Exactly 10,000 rows.
80
+ - 10,000 unique IDs.
81
+ - 10,000 unique question strings after basic punctuation/case normalization.
82
+ - Exactly four option keys per record (A, B, C, D).
83
+ - Four distinct option strings per record.
84
+ - The `correct_answer` label points to the option that matches `correct_answer_value`.
85
+ - A non-empty question and worked solution.
86
+ - An explanation field for every option.
87
+ - Exact split sizes: 9,000 / 500 / 500.
88
+ - Balanced subject representation across splits.
89
+
90
+ The validation report is included as `quality_report.json`.
91
+
92
+ ## Important limitations
93
+
94
+ 1. **Not expert-reviewed:** Structural checks confirm schema and answer-key consistency. They do not replace an independent subject-matter solution review.
95
+ 2. **Difficulty is provisional:** This release labels records `hard` or `very_hard` by question-template family. It does not claim examiner-calibrated JEE Advanced difficulty. No records are labeled `ultra_hard` in v0.1 because the current template set does not justify that claim.
96
+ 3. **Parameterized families:** The 10,000 rows come from 30 underlying templates. Values and wording vary, but solution structures repeat. This is not equivalent to 10,000 independently authored problems.
97
+ 4. **Evaluation leakage:** The same template families appear in train, validation and test. The validation/test splits are useful for basic pipeline checks, but should not be treated as template-generalization benchmarks.
98
+ 5. **Numeric emphasis:** Most questions are calculation-based. Proof-based mathematics, multi-select questions, assertion-reason questions, qualitative chemistry, organic reaction mechanisms, and experimental-data interpretation are limited or absent.
99
+ 6. **Distractors:** Incorrect numerical options are distinct alternatives. Their explanations generally identify the computed value rather than diagnosing a specific misconception.
100
+ 7. **Licensing:** No separate reuse license is asserted in this seed release. A formal license should be selected before third-party redistribution or commercial use.
101
+
102
+ ## Loading
103
+
104
+ ```python
105
+ from datasets import load_dataset
106
+
107
+ ds = load_dataset(
108
+ "json",
109
+ data_files={
110
+ "train": "data/train.jsonl",
111
+ "validation": "data/validation.jsonl",
112
+ "test": "data/test.jsonl",
113
+ },
114
+ )
115
+ print(ds)
116
+ ```
117
+
118
+ To use a single combined file:
119
+
120
+ ```python
121
+ from datasets import load_dataset
122
+ ds = load_dataset("json", data_files="openstem_qa_v0.1.jsonl", split="train")
123
+ ```
124
+
125
+ ## Intended use
126
+
127
+ Useful for experiments in STEM question answering, numeric MCQ supervision, answer extraction and worked-solution training. Independently review examples before using them in high-stakes educational settings.
128
+
129
+ **Axilo Labz — Exploring Intelligence. Engineering Possibilities.**
SHA256SUMS.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 88d6d986c4ac5ccb4f5d5a505d6235b6d0cb6c0bad58c52c2e395e203ab17bfc README.md
2
+ e449dd7de6ebcd182914dc53b3a385e66daec208da6f8a0ef5f309ec191fb040 data/test.jsonl
3
+ 52e67a8d5a084fbb6e93b60dba74207f4e33abeda2a4f159f1f9068a3dd9dda8 data/train.jsonl
4
+ 87465f5209abc39f14523d17d0021e05bbd9b4205c4ca027aaf2f4c2a474473f data/validation.jsonl
5
+ a6e07df6eba3d53633cc84145239606fa29d90e8d10ecf524ac178c5bbe1c296 dataset_info.json
6
+ 39f5fca7cfc1cddbb3fe6a5b49fe83aaa6eaa3acd3e128701faa262c4146d4c9 openstem_qa_v0.1.jsonl
7
+ 148278f5babb5238481fadd3bf7d7af07b761ea3681d8ad5f7a8cad304d8629e openstem_qa_v0.1.jsonl.gz
8
+ fbc338bb319d7118e1a4af469140914978e7a84abcf64ef63cc1a4962fe3937c quality_report.json
9
+ 19c75e9932a6383d3a8d3a2bc655744ca0ba93842fe2b8258e9c468ffad06970 sample_preview.jsonl
10
+ 54eeb1a4d140978800854aea2d525bc3bbcab0e9fcf16036d9be24384bed14ef upload_to_hub.py
11
+ e10697e52ef79b6b66347980035800d1840b8119323f08e9c436873f8f3f2f57 validate_dataset.py
data/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52e67a8d5a084fbb6e93b60dba74207f4e33abeda2a4f159f1f9068a3dd9dda8
3
+ size 15823177
data/validation.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
dataset_info.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "OpenSTEM-QA",
3
+ "version": "0.1.0",
4
+ "hub_repository": "Axilo67/openstem-qa",
5
+ "rows": 10000,
6
+ "splits": {
7
+ "train": 9000,
8
+ "validation": 500,
9
+ "test": 500
10
+ },
11
+ "subjects": {
12
+ "mathematics": 3340,
13
+ "physics": 3330,
14
+ "chemistry": 3330
15
+ },
16
+ "difficulty": {
17
+ "hard": 6001,
18
+ "very_hard": 3999
19
+ },
20
+ "template_families": 30,
21
+ "generation": {
22
+ "method": "deterministic parameterized Python templates with randomized numerical parameters",
23
+ "model": "none",
24
+ "requested_model": "zai-org/GLM-5.3-Flash",
25
+ "requested_model_used": false
26
+ },
27
+ "license": "not specified",
28
+ "limitations": [
29
+ "not expert reviewed",
30
+ "difficulty not examiner calibrated",
31
+ "30 repeated template families",
32
+ "template family leakage across splits",
33
+ "numeric calculation bias",
34
+ "generic distractor rationales"
35
+ ]
36
+ }
quality_report.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_rows": 10000,
3
+ "unique_ids": 10000,
4
+ "unique_questions_after_normalization": 10000,
5
+ "structural_issues": 0,
6
+ "first_issues": [],
7
+ "split_counts": {
8
+ "train": 9000,
9
+ "validation": 500,
10
+ "test": 500
11
+ },
12
+ "split_subject_counts": {
13
+ "train": {
14
+ "physics": 2997,
15
+ "chemistry": 2997,
16
+ "mathematics": 3006
17
+ },
18
+ "validation": {
19
+ "physics": 167,
20
+ "mathematics": 167,
21
+ "chemistry": 166
22
+ },
23
+ "test": {
24
+ "mathematics": 167,
25
+ "chemistry": 167,
26
+ "physics": 166
27
+ }
28
+ },
29
+ "subject_counts": {
30
+ "mathematics": 3340,
31
+ "physics": 3330,
32
+ "chemistry": 3330
33
+ },
34
+ "difficulty_counts": {
35
+ "hard": 6001,
36
+ "very_hard": 3999
37
+ },
38
+ "topic_counts": {
39
+ "algebra": 334,
40
+ "sequences_and_series": 668,
41
+ "calculus": 668,
42
+ "combinatorics": 334,
43
+ "probability": 334,
44
+ "linear_algebra": 334,
45
+ "vectors": 334,
46
+ "complex_numbers": 334,
47
+ "mechanics": 999,
48
+ "rotational_mechanics": 333,
49
+ "electricity": 333,
50
+ "electrostatics": 666,
51
+ "thermodynamics": 333,
52
+ "ray_optics": 333,
53
+ "oscillations": 333,
54
+ "stoichiometry": 333,
55
+ "physical_chemistry": 2331,
56
+ "organic_chemistry": 333,
57
+ "inorganic_chemistry": 333
58
+ },
59
+ "template_family_count": 30,
60
+ "checks": {
61
+ "exact_10000_rows": true,
62
+ "unique_ids": true,
63
+ "unique_questions": true,
64
+ "exactly_four_options": true,
65
+ "four_distinct_options": true,
66
+ "correct_answer_matches_value": true,
67
+ "four_option_explanations": true,
68
+ "nonempty_questions_and_solutions": true,
69
+ "90_5_5_split": true
70
+ },
71
+ "verification_scope": "The answer is produced by the explicit formula encoded in each generator template. Structural and answer-key alignment were checked; no independent subject-matter expert review was performed."
72
+ }
validate_dataset.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ import json, sys
3
+ from pathlib import Path
4
+
5
+ def check(path):
6
+ rows=[json.loads(line) for line in Path(path).open(encoding="utf-8") if line.strip()]
7
+ ids=set()
8
+ for n,row in enumerate(rows,1):
9
+ assert row["id"] not in ids, f"duplicate id at line {n}"
10
+ ids.add(row["id"])
11
+ assert set(row["options"]) == {"A","B","C","D"}, f"bad options at line {n}"
12
+ assert len(set(row["options"].values())) == 4, f"duplicate options at line {n}"
13
+ assert row["correct_answer"] in "ABCD", f"bad answer label at line {n}"
14
+ assert row["options"][row["correct_answer"]] == row["correct_answer_value"], f"answer mismatch at line {n}"
15
+ assert set(row["option_explanations"]) == {"A","B","C","D"}, f"missing option explanation at line {n}"
16
+ assert row["question"].strip() and row["solution"].strip(), f"empty question/solution at line {n}"
17
+ print(f"{path}: {len(rows)} records passed structural checks")
18
+
19
+ if __name__ == "__main__":
20
+ for p in sys.argv[1:]:
21
+ check(p)