gineven commited on
Commit
b8b027b
·
verified ·
1 Parent(s): 388178d

Upload 6 files

Browse files
Files changed (7) hide show
  1. .gitattributes +1 -0
  2. README.md +209 -0
  3. UPLOAD.md +142 -0
  4. general_science_card.md +114 -0
  5. stats.json +263 -0
  6. test.jsonl +0 -0
  7. train.jsonl +3 -0
.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ task_categories:
5
+ - question-answering
6
+ task_ids:
7
+ - multiple-choice-qa
8
+ pretty_name: GeneralScience-MLLM-22K
9
+ size_categories:
10
+ - 10K<n<100K
11
+ tags:
12
+ - science
13
+ - multiple-choice-qa
14
+ - multimodal
15
+ - image-text
16
+ - education
17
+ - jsonl
18
+ license: other
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: train
23
+ path: train.jsonl
24
+ - split: test
25
+ path: test.jsonl
26
+ ---
27
+
28
+ # GeneralScience-MLLM-22K
29
+
30
+ ## Dataset Summary
31
+
32
+ GeneralScience-MLLM-22K is a unified general-science multiple-choice QA collection built from local snapshots of SciQ, AI2 ARC, and ScienceQA. It follows the same release style as a subject-specific MLLM dataset: every sample is stored as one JSONL record, text-only and image-text examples share one schema, and ScienceQA images are exported as standalone files referenced by relative paths.
33
+
34
+ The release contains **22,661** examples:
35
+
36
+ - `train.jsonl`: 17,880 examples
37
+ - `test.jsonl`: 4,781 held-out examples
38
+ - `images/scienceqa/`: 351 exported ScienceQA images
39
+
40
+ The upstream `test` splits are kept as held-out test data. Upstream `train` and `validation` splits are merged into `train.jsonl`.
41
+
42
+ ## Data Sources
43
+
44
+ | Source | Subset | Count | Modality | License note |
45
+ | --- | --- | ---: | --- | --- |
46
+ | `allenai/sciq` | `null` | 13,679 | text | CC BY-NC 3.0, from local HF dataset card |
47
+ | `allenai/ai2_arc` | `ARC-Challenge` | 2,581 | text | CC BY-SA 4.0, from local HF dataset card |
48
+ | `allenai/ai2_arc` | `ARC-Easy` | 5,180 | text | CC BY-SA 4.0, from local HF dataset card |
49
+ | `derek-thomas/ScienceQA` | `null` | 1,221 | text / image-text | License metadata was not included in the local snapshot; verify upstream before public redistribution |
50
+
51
+ OpenBookQA exists in the local workspace but is **not included** in this main release because its license was not confirmed in the local snapshot.
52
+
53
+ ## File Structure
54
+
55
+ ```text
56
+ general_science_release/
57
+ README.md
58
+ general_science_card.md
59
+ stats.json
60
+ train.jsonl
61
+ test.jsonl
62
+ images/
63
+ scienceqa/
64
+ *.png
65
+ scripts/
66
+ build_general_science_release.py
67
+ validate_general_science_release.py
68
+ ```
69
+
70
+ ## Data Format
71
+
72
+ Each line in `train.jsonl` and `test.jsonl` is one JSON object:
73
+
74
+ ```json
75
+ {
76
+ "id": "scienceqa-train-09049",
77
+ "dataset": "derek-thomas/ScienceQA",
78
+ "subset": null,
79
+ "split": "train",
80
+ "task_type": "multiple_choice_science_qa",
81
+ "modality": "image_text",
82
+ "question": "What is the probability that a rainbow trout produced by this cross will be homozygous dominant for the body color gene?",
83
+ "image": {
84
+ "path": "images/scienceqa/scienceqa-train-09049.png",
85
+ "mime_type": "image/png"
86
+ },
87
+ "choices": [
88
+ {"label": "A", "text": "1/4"},
89
+ {"label": "B", "text": "2/4"},
90
+ {"label": "C", "text": "3/4"},
91
+ {"label": "D", "text": "0/4"},
92
+ {"label": "E", "text": "4/4"}
93
+ ],
94
+ "answer_label": "D",
95
+ "answer_text": "0/4",
96
+ "support": "...",
97
+ "source_meta": {
98
+ "source_file": "scienceqa_hf/data/train-00000-of-00001-1028f23e353fbe3e.parquet",
99
+ "source_split": "train",
100
+ "source_index": 9049
101
+ }
102
+ }
103
+ ```
104
+
105
+ For text-only examples, `image` is `null` and `modality` is `text`.
106
+
107
+ ## Field Meaning
108
+
109
+ - `id`: unique example ID in this release.
110
+ - `dataset`: upstream dataset name.
111
+ - `subset`: upstream subset/config name, or `null`.
112
+ - `split`: release split, either `train` or `test`.
113
+ - `task_type`: fixed as `multiple_choice_science_qa`.
114
+ - `modality`: `text` or `image_text`.
115
+ - `question`: question text.
116
+ - `image`: relative image path and MIME type for image-text examples; otherwise `null`.
117
+ - `choices`: regenerated multiple-choice options, labeled from `A`.
118
+ - `answer_label`: correct answer label after option shuffling.
119
+ - `answer_text`: correct answer text.
120
+ - `support`: explanation or supporting context when available.
121
+ - `source_meta`: source file, original split/index, original answer metadata, and license notes.
122
+
123
+ ## Statistics
124
+
125
+ Token statistics use `regex_approx_v1` because `tiktoken` was not installed in the local `memory` environment during construction.
126
+
127
+ | Split | Examples | Image examples | Text examples | Avg input tokens | Avg support tokens | Avg full record tokens |
128
+ | --- | ---: | ---: | ---: | ---: | ---: | ---: |
129
+ | train | 17,880 | 281 | 17,599 | 33.83 | 73.63 | 394.80 |
130
+ | test | 4,781 | 70 | 4,711 | 44.56 | 33.46 | 386.07 |
131
+ | overall | 22,661 | 351 | 22,310 | 36.09 | 65.15 | 392.96 |
132
+
133
+ Modality distribution:
134
+
135
+ | Modality | Count |
136
+ | --- | ---: |
137
+ | text | 22,310 |
138
+ | image_text | 351 |
139
+
140
+ ## Construction Method
141
+
142
+ 1. Read local parquet files only; no dataset is re-downloaded.
143
+ 2. Convert every valid example into the unified JSONL schema.
144
+ 3. Merge upstream `train` and `validation` into release `train`.
145
+ 4. Keep upstream `test` as release `test`.
146
+ 5. Export ScienceQA image bytes to `images/scienceqa/` and store relative paths in JSONL.
147
+ 6. Deterministically shuffle choices with `seed=42`.
148
+ 7. Remove normalized duplicates within split.
149
+ 8. Remove train examples whose normalized question+choices+answer key overlaps with held-out test.
150
+
151
+ Deduplication summary:
152
+
153
+ ```json
154
+ {
155
+ "train_duplicates_removed": 9,
156
+ "test_duplicates_removed": 0,
157
+ "train_removed_for_test_overlap": 7,
158
+ "train_test_overlap_after_filter": 0
159
+ }
160
+ ```
161
+
162
+ ## How to Load
163
+
164
+ ```python
165
+ import json
166
+ from pathlib import Path
167
+
168
+ root = Path("general_science_release")
169
+
170
+ with (root / "train.jsonl").open(encoding="utf-8") as f:
171
+ first = json.loads(next(f))
172
+
173
+ print(first["question"])
174
+ print(first["choices"])
175
+
176
+ if first["image"] is not None:
177
+ image_path = root / first["image"]["path"]
178
+ print(image_path)
179
+ ```
180
+
181
+ For model evaluation, use `question`, `image`, and `choices` as input. Do not feed `support` unless the task explicitly allows explanation or retrieval context, because `support` may reveal the answer.
182
+
183
+ ## Validation
184
+
185
+ The release was checked with:
186
+
187
+ ```bash
188
+ conda run -n memory python scripts/validate_general_science_release.py
189
+ ```
190
+
191
+ Validation result:
192
+
193
+ ```text
194
+ train=17880
195
+ test=4781
196
+ total=22661
197
+ image_examples=351
198
+ validation=ok
199
+ ```
200
+
201
+ ## License
202
+
203
+ This release combines multiple upstream datasets and should be redistributed only under terms compatible with all included sources.
204
+
205
+ - SciQ: CC BY-NC 3.0 according to the local Hugging Face dataset card.
206
+ - AI2 ARC: CC BY-SA 4.0 according to the local Hugging Face dataset card.
207
+ - ScienceQA: license metadata was not available in the local snapshot used here; verify the upstream dataset license before public HF/ModelScope upload.
208
+
209
+ Because the combined release includes non-commercial and share-alike sources, downstream usage should be treated conservatively. Public upload should include the source attribution and license notes above.
UPLOAD.md ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Upload Guide
2
+
3
+ This release is ready up to the pre-upload stage. The local package is:
4
+
5
+ ```text
6
+ /home/ps/sjj/project/Memory/dataset/general/general_science_release.tar.gz
7
+ ```
8
+
9
+ The folder to upload is:
10
+
11
+ ```text
12
+ /home/ps/sjj/project/Memory/dataset/general/general_science_release
13
+ ```
14
+
15
+ ## 1. Pre-upload Check
16
+
17
+ Run:
18
+
19
+ ```bash
20
+ cd /home/ps/sjj/project/Memory/dataset/general/general_science_release
21
+ conda run -n memory python scripts/validate_general_science_release.py
22
+ ```
23
+
24
+ Expected result:
25
+
26
+ ```text
27
+ validation=ok
28
+ ```
29
+
30
+ ## 2. Hugging Face Upload
31
+
32
+ ### Option A: Web Upload
33
+
34
+ 1. Create a new dataset repository on Hugging Face.
35
+ 2. Suggested repo name:
36
+
37
+ ```text
38
+ gineven/GeneralScience-MLLM-22K
39
+ ```
40
+
41
+ 3. Upload the contents of `general_science_release/`.
42
+ 4. Keep the folder structure unchanged:
43
+
44
+ ```text
45
+ README.md
46
+ general_science_card.md
47
+ stats.json
48
+ train.jsonl
49
+ test.jsonl
50
+ images/scienceqa/*.png
51
+ scripts/*.py
52
+ ```
53
+
54
+ ### Option B: CLI Upload
55
+
56
+ Install or update the HF hub client if needed:
57
+
58
+ ```bash
59
+ pip install -U huggingface_hub
60
+ ```
61
+
62
+ Login:
63
+
64
+ ```bash
65
+ hf auth login
66
+ ```
67
+
68
+ Create the dataset repo:
69
+
70
+ ```bash
71
+ # You already created this repository:
72
+ # https://huggingface.co/datasets/gineven/GeneralScience-MLLM-22K
73
+ ```
74
+
75
+ Upload the folder:
76
+
77
+ ```bash
78
+ cd /home/ps/sjj/project/Memory/dataset/general
79
+ hf upload gineven/GeneralScience-MLLM-22K general_science_release . \
80
+ --repo-type dataset \
81
+ --exclude "*/__pycache__/*" \
82
+ --exclude "*.pyc"
83
+ ```
84
+
85
+ If your installed CLI uses the older command name, use:
86
+
87
+ ```bash
88
+ huggingface-cli login
89
+ # Repository already exists:
90
+ # https://huggingface.co/datasets/gineven/GeneralScience-MLLM-22K
91
+ ```
92
+
93
+ Then upload with Python API as shown below.
94
+
95
+ ### Option C: Python API Upload
96
+
97
+ ```python
98
+ from huggingface_hub import HfApi
99
+
100
+ api = HfApi()
101
+ repo_id = "gineven/GeneralScience-MLLM-22K"
102
+
103
+ api.create_repo(repo_id=repo_id, repo_type="dataset", exist_ok=True)
104
+ api.upload_folder(
105
+ repo_id=repo_id,
106
+ repo_type="dataset",
107
+ folder_path="/home/ps/sjj/project/Memory/dataset/general/general_science_release",
108
+ path_in_repo=".",
109
+ ignore_patterns=["*/__pycache__/*", "*.pyc"],
110
+ )
111
+ ```
112
+
113
+ After upload, the expected download link is:
114
+
115
+ ```text
116
+ https://huggingface.co/datasets/gineven/GeneralScience-MLLM-22K
117
+ ```
118
+
119
+ ## 3. ModelScope Upload
120
+
121
+ ModelScope upload is similar in spirit: create a dataset repository, then upload the same folder contents. Keep `README.md`, `train.jsonl`, `test.jsonl`, `stats.json`, and `images/scienceqa/` at the repository root.
122
+
123
+ If using `modelscope` CLI/API, first make sure your account is logged in and then upload the `general_science_release/` directory as a dataset repository.
124
+
125
+ ## 4. Netdisk Fallback
126
+
127
+ If HF/ModelScope credentials are not available, upload:
128
+
129
+ ```text
130
+ general_science_release.tar.gz
131
+ ```
132
+
133
+ Then share the netdisk URL together with:
134
+
135
+ ```text
136
+ general_science_release/general_science_card.md
137
+ general_science_release/stats.json
138
+ ```
139
+
140
+ ## 5. Important License Check
141
+
142
+ Before public upload, manually verify the upstream ScienceQA license because the local snapshot used for this build does not include license metadata. The current `README.md` marks the combined license as `other` and records the missing ScienceQA license note.
general_science_card.md ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # General Science QA Release
2
+
3
+ ## Summary
4
+
5
+ This release consolidates local science QA snapshots into a unified JSONL format for text and image-text multiple-choice science QA.
6
+ It is built from local parquet files only and stops before any public upload.
7
+
8
+ ## Output Files
9
+
10
+ - `train.jsonl`
11
+ - `test.jsonl`
12
+ - `stats.json`
13
+ - `images/scienceqa/`
14
+ - `general_science_card.md`
15
+ - `README.md`
16
+
17
+ ## Sources
18
+
19
+ | Dataset | Subset | License | License source | URL |
20
+ | --- | --- | --- | --- | --- |
21
+ | allenai/sciq | `null` | CC BY-NC 3.0 | local Hugging Face dataset card: sciq/README.md | https://huggingface.co/datasets/allenai/sciq |
22
+ | allenai/ai2_arc | ARC-Challenge, ARC-Easy | CC BY-SA 4.0 | local Hugging Face dataset card: ai2_arc/README.md | https://huggingface.co/datasets/allenai/ai2_arc |
23
+ | derek-thomas/ScienceQA | `null` | TBD: not available in local snapshot | local parquet snapshot does not include README/license metadata; verify upstream before public upload | https://huggingface.co/datasets/derek-thomas/ScienceQA |
24
+
25
+ OpenBookQA is present locally but is not included in this main release because its license is not confirmed in the local snapshot. It can be added later as an internal/optional extension after license confirmation.
26
+
27
+ ## Split Construction
28
+
29
+ - Upstream `train` and `validation` splits are merged into `train.jsonl`.
30
+ - Upstream `test` splits are kept as the held-out `test.jsonl`.
31
+ - Train/test leakage is checked using normalized question, choices, and answer text.
32
+ - If a normalized duplicate appears in held-out test, the matching train example is removed.
33
+
34
+ ## Schema
35
+
36
+ ```json
37
+ {
38
+ "id": "string",
39
+ "dataset": "string",
40
+ "subset": "string or null",
41
+ "split": "train or test",
42
+ "task_type": "multiple_choice_science_qa",
43
+ "modality": "text or image_text",
44
+ "question": "string",
45
+ "image": null,
46
+ "choices": [
47
+ {"label": "A", "text": "string"}
48
+ ],
49
+ "answer_label": "string",
50
+ "answer_text": "string",
51
+ "support": "string or null",
52
+ "source_meta": {}
53
+ }
54
+ ```
55
+
56
+ For ScienceQA image examples, `image` is:
57
+
58
+ ```json
59
+ {"path": "images/scienceqa/<id>.png", "mime_type": "image/png"}
60
+ ```
61
+
62
+ ## Counts and Token Statistics
63
+
64
+ Tokenizer: `regex_approx_v1`.
65
+
66
+ | Split | Examples | Image examples | Text examples | Avg input tokens | Avg support tokens | Avg full record tokens |
67
+ | --- | --- | --- | --- | --- | --- | --- |
68
+ | train | 17880 | 281 | 17599 | 33.83 | 73.63 | 394.8 |
69
+ | test | 4781 | 70 | 4711 | 44.56 | 33.46 | 386.07 |
70
+ | overall | 22661 | 351 | 22310 | 36.09 | 65.15 | 392.96 |
71
+
72
+ ## Counts by Dataset
73
+
74
+ | Dataset | Subset | Examples | Image examples | Avg input tokens | Avg support tokens |
75
+ | --- | --- | --- | --- | --- | --- |
76
+ | allenai/ai2_arc | ARC-Challenge | 2581 | 0 | 55.2 | 0.0 |
77
+ | allenai/ai2_arc | ARC-Easy | 5180 | 0 | 46.19 | 0.0 |
78
+ | allenai/sciq | None | 13679 | 0 | 28.46 | 78.92 |
79
+ | derek-thomas/ScienceQA | None | 1221 | 351 | 38.32 | 325.07 |
80
+
81
+ ## Modality Distribution
82
+
83
+ | Modality | Count |
84
+ | --- | --- |
85
+ | image_text | 351 |
86
+ | text | 22310 |
87
+
88
+ ## Deduplication
89
+
90
+ ```json
91
+ {
92
+ "train_duplicates_removed": 9,
93
+ "test_duplicates_removed": 0,
94
+ "train_removed_for_test_overlap": 7,
95
+ "train_test_overlap_after_filter": 0
96
+ }
97
+ ```
98
+
99
+ ## Construction Notes
100
+
101
+ - SciQ: combines `distractor1`, `distractor2`, `distractor3`, and `correct_answer`, then deterministically shuffles choices.
102
+ - AI2 ARC: uses both `ARC-Challenge` and `ARC-Easy`; finds the answer text from `answerKey`, then deterministically shuffles choices.
103
+ - ScienceQA: keeps `subject == "natural science"` examples with at least four choices and a valid answer index. Images embedded as parquet bytes are exported to `images/scienceqa/`.
104
+ - Choices with more than four options are retained; labels are regenerated from `A`.
105
+
106
+ ## License Notes
107
+
108
+ This release combines multiple upstream datasets. Downstream redistribution must satisfy all upstream licenses.
109
+ ScienceQA license metadata was not present in the local snapshot available to this build; verify the upstream license before public HF/ModelScope upload.
110
+
111
+ ## Recommended Evaluation Input
112
+
113
+ For model evaluation, use `question`, `image`, and `choices`.
114
+ Do not feed `support` unless the task explicitly allows explanations or retrieval context, because `support` may contain answer-revealing information.
stats.json ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "general_science_release",
3
+ "version": "v0.1-local",
4
+ "generated_at_utc": "2026-07-15T16:51:16.510238+00:00",
5
+ "seed": 42,
6
+ "tokenizer": {
7
+ "name": "regex_approx_v1",
8
+ "note": "Token counts are computed over question+choices(+image placeholder), support, and serialized full JSON record."
9
+ },
10
+ "splits": {
11
+ "train": {
12
+ "num_examples": 17880,
13
+ "input_tokens": 604879,
14
+ "support_tokens": 1316504,
15
+ "full_record_tokens": 7059099,
16
+ "image_examples": 281,
17
+ "text_examples": 17599,
18
+ "avg_input_tokens": 33.83,
19
+ "avg_support_tokens": 73.63,
20
+ "avg_full_record_tokens": 394.8
21
+ },
22
+ "test": {
23
+ "num_examples": 4781,
24
+ "input_tokens": 213028,
25
+ "support_tokens": 159956,
26
+ "full_record_tokens": 1845777,
27
+ "image_examples": 70,
28
+ "text_examples": 4711,
29
+ "avg_input_tokens": 44.56,
30
+ "avg_support_tokens": 33.46,
31
+ "avg_full_record_tokens": 386.07
32
+ },
33
+ "overall": {
34
+ "num_examples": 22661,
35
+ "input_tokens": 817907,
36
+ "support_tokens": 1476460,
37
+ "full_record_tokens": 8904876,
38
+ "image_examples": 351,
39
+ "text_examples": 22310,
40
+ "avg_input_tokens": 36.09,
41
+ "avg_support_tokens": 65.15,
42
+ "avg_full_record_tokens": 392.96
43
+ }
44
+ },
45
+ "by_dataset": {
46
+ "allenai/ai2_arc|ARC-Challenge": {
47
+ "num_examples": 2581,
48
+ "input_tokens": 142472,
49
+ "support_tokens": 0,
50
+ "full_record_tokens": 955225,
51
+ "image_examples": 0,
52
+ "text_examples": 2581,
53
+ "avg_input_tokens": 55.2,
54
+ "avg_support_tokens": 0.0,
55
+ "avg_full_record_tokens": 370.1
56
+ },
57
+ "allenai/ai2_arc|ARC-Easy": {
58
+ "num_examples": 5180,
59
+ "input_tokens": 239284,
60
+ "support_tokens": 0,
61
+ "full_record_tokens": 1862467,
62
+ "image_examples": 0,
63
+ "text_examples": 5180,
64
+ "avg_input_tokens": 46.19,
65
+ "avg_support_tokens": 0.0,
66
+ "avg_full_record_tokens": 359.55
67
+ },
68
+ "allenai/sciq|None": {
69
+ "num_examples": 13679,
70
+ "input_tokens": 389365,
71
+ "support_tokens": 1079550,
72
+ "full_record_tokens": 5190340,
73
+ "image_examples": 0,
74
+ "text_examples": 13679,
75
+ "avg_input_tokens": 28.46,
76
+ "avg_support_tokens": 78.92,
77
+ "avg_full_record_tokens": 379.44
78
+ },
79
+ "derek-thomas/ScienceQA|None": {
80
+ "num_examples": 1221,
81
+ "input_tokens": 46786,
82
+ "support_tokens": 396910,
83
+ "full_record_tokens": 896844,
84
+ "image_examples": 351,
85
+ "text_examples": 870,
86
+ "avg_input_tokens": 38.32,
87
+ "avg_support_tokens": 325.07,
88
+ "avg_full_record_tokens": 734.52
89
+ }
90
+ },
91
+ "by_modality": {
92
+ "text": 22310,
93
+ "image_text": 351
94
+ },
95
+ "source_files": {
96
+ "allenai/sciq|None|train": {
97
+ "display_name": "SciQ",
98
+ "dataset": "allenai/sciq",
99
+ "subset": null,
100
+ "source_split": "train",
101
+ "final_split": "train",
102
+ "source_file": "sciq/data/train-00000-of-00001.parquet",
103
+ "raw_rows": 11679,
104
+ "converted": 11679,
105
+ "skipped": 0
106
+ },
107
+ "allenai/sciq|None|validation": {
108
+ "display_name": "SciQ",
109
+ "dataset": "allenai/sciq",
110
+ "subset": null,
111
+ "source_split": "validation",
112
+ "final_split": "train",
113
+ "source_file": "sciq/data/validation-00000-of-00001.parquet",
114
+ "raw_rows": 1000,
115
+ "converted": 1000,
116
+ "skipped": 0
117
+ },
118
+ "allenai/sciq|None|test": {
119
+ "display_name": "SciQ",
120
+ "dataset": "allenai/sciq",
121
+ "subset": null,
122
+ "source_split": "test",
123
+ "final_split": "test",
124
+ "source_file": "sciq/data/test-00000-of-00001.parquet",
125
+ "raw_rows": 1000,
126
+ "converted": 1000,
127
+ "skipped": 0
128
+ },
129
+ "allenai/ai2_arc|ARC-Challenge|train": {
130
+ "display_name": "AI2 ARC-Challenge",
131
+ "dataset": "allenai/ai2_arc",
132
+ "subset": "ARC-Challenge",
133
+ "source_split": "train",
134
+ "final_split": "train",
135
+ "source_file": "ai2_arc/ARC-Challenge/train-00000-of-00001.parquet",
136
+ "raw_rows": 1119,
137
+ "converted": 1118,
138
+ "skipped": 1
139
+ },
140
+ "allenai/ai2_arc|ARC-Challenge|validation": {
141
+ "display_name": "AI2 ARC-Challenge",
142
+ "dataset": "allenai/ai2_arc",
143
+ "subset": "ARC-Challenge",
144
+ "source_split": "validation",
145
+ "final_split": "train",
146
+ "source_file": "ai2_arc/ARC-Challenge/validation-00000-of-00001.parquet",
147
+ "raw_rows": 299,
148
+ "converted": 296,
149
+ "skipped": 3
150
+ },
151
+ "allenai/ai2_arc|ARC-Challenge|test": {
152
+ "display_name": "AI2 ARC-Challenge",
153
+ "dataset": "allenai/ai2_arc",
154
+ "subset": "ARC-Challenge",
155
+ "source_split": "test",
156
+ "final_split": "test",
157
+ "source_file": "ai2_arc/ARC-Challenge/test-00000-of-00001.parquet",
158
+ "raw_rows": 1172,
159
+ "converted": 1168,
160
+ "skipped": 4
161
+ },
162
+ "allenai/ai2_arc|ARC-Easy|train": {
163
+ "display_name": "AI2 ARC-Easy",
164
+ "dataset": "allenai/ai2_arc",
165
+ "subset": "ARC-Easy",
166
+ "source_split": "train",
167
+ "final_split": "train",
168
+ "source_file": "ai2_arc/ARC-Easy/train-00000-of-00001.parquet",
169
+ "raw_rows": 2251,
170
+ "converted": 2245,
171
+ "skipped": 6
172
+ },
173
+ "allenai/ai2_arc|ARC-Easy|validation": {
174
+ "display_name": "AI2 ARC-Easy",
175
+ "dataset": "allenai/ai2_arc",
176
+ "subset": "ARC-Easy",
177
+ "source_split": "validation",
178
+ "final_split": "train",
179
+ "source_file": "ai2_arc/ARC-Easy/validation-00000-of-00001.parquet",
180
+ "raw_rows": 570,
181
+ "converted": 569,
182
+ "skipped": 1
183
+ },
184
+ "allenai/ai2_arc|ARC-Easy|test": {
185
+ "display_name": "AI2 ARC-Easy",
186
+ "dataset": "allenai/ai2_arc",
187
+ "subset": "ARC-Easy",
188
+ "source_split": "test",
189
+ "final_split": "test",
190
+ "source_file": "ai2_arc/ARC-Easy/test-00000-of-00001.parquet",
191
+ "raw_rows": 2376,
192
+ "converted": 2369,
193
+ "skipped": 7
194
+ },
195
+ "derek-thomas/ScienceQA|None|train": {
196
+ "display_name": "ScienceQA",
197
+ "dataset": "derek-thomas/ScienceQA",
198
+ "subset": null,
199
+ "source_split": "train",
200
+ "final_split": "train",
201
+ "source_file": "scienceqa_hf/data/train-00000-of-00001-1028f23e353fbe3e.parquet",
202
+ "raw_rows": 12726,
203
+ "converted": 721,
204
+ "skipped": 12005
205
+ },
206
+ "derek-thomas/ScienceQA|None|validation": {
207
+ "display_name": "ScienceQA",
208
+ "dataset": "derek-thomas/ScienceQA",
209
+ "subset": null,
210
+ "source_split": "validation",
211
+ "final_split": "train",
212
+ "source_file": "scienceqa_hf/data/validation-00000-of-00001-6c7328ff6c84284c.parquet",
213
+ "raw_rows": 4241,
214
+ "converted": 268,
215
+ "skipped": 3973
216
+ },
217
+ "derek-thomas/ScienceQA|None|test": {
218
+ "display_name": "ScienceQA",
219
+ "dataset": "derek-thomas/ScienceQA",
220
+ "subset": null,
221
+ "source_split": "test",
222
+ "final_split": "test",
223
+ "source_file": "scienceqa_hf/data/test-00000-of-00001-f0e719df791966ff.parquet",
224
+ "raw_rows": 4241,
225
+ "converted": 244,
226
+ "skipped": 3997
227
+ }
228
+ },
229
+ "deduplication": {
230
+ "train_duplicates_removed": 9,
231
+ "test_duplicates_removed": 0,
232
+ "train_removed_for_test_overlap": 7,
233
+ "train_test_overlap_after_filter": 0
234
+ },
235
+ "sources": {
236
+ "allenai/sciq": {
237
+ "license": "CC BY-NC 3.0",
238
+ "license_id": "cc-by-nc-3.0",
239
+ "license_source": "local Hugging Face dataset card: sciq/README.md",
240
+ "url": "https://huggingface.co/datasets/allenai/sciq"
241
+ },
242
+ "allenai/ai2_arc": {
243
+ "license": "CC BY-SA 4.0",
244
+ "license_id": "cc-by-sa-4.0",
245
+ "license_source": "local Hugging Face dataset card: ai2_arc/README.md",
246
+ "url": "https://huggingface.co/datasets/allenai/ai2_arc"
247
+ },
248
+ "derek-thomas/ScienceQA": {
249
+ "license": "TBD: not available in local snapshot",
250
+ "license_id": "unknown-local-snapshot",
251
+ "license_source": "local parquet snapshot does not include README/license metadata; verify upstream before public upload",
252
+ "url": "https://huggingface.co/datasets/derek-thomas/ScienceQA"
253
+ }
254
+ },
255
+ "outputs": {
256
+ "train": "train.jsonl",
257
+ "test": "test.jsonl",
258
+ "stats": "stats.json",
259
+ "card": "general_science_card.md",
260
+ "readme": "README.md",
261
+ "scienceqa_images": "images/scienceqa"
262
+ }
263
+ }
test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9360c2d287fb71e119657dc94607d91ae7419dcb97a050f739b96948106b6d7
3
+ size 23153984