File size: 1,875 Bytes
ed15926 | 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 | ---
configs:
- config_name: biology
data_files:
- split: train
path: data/biology-train-*.parquet
- split: validation
path: data/biology-validation-*.parquet
- split: test
path: data/biology-test-*.parquet
- config_name: chemistry
data_files:
- split: train
path: data/chemistry-train-*.parquet
- split: validation
path: data/chemistry-validation-*.parquet
- split: test
path: data/chemistry-test-*.parquet
- config_name: math
data_files:
- split: train
path: data/math-train-*.parquet
- split: validation
path: data/math-validation-*.parquet
- split: test
path: data/math-test-*.parquet
- config_name: physics
data_files:
- split: train
path: data/physics-train-*.parquet
- split: validation
path: data/physics-validation-*.parquet
- split: test
path: data/physics-test-*.parquet
---
# StemQAMixture
Science QA dataset with four subjects: biology, chemistry, math, and physics.
## Usage
```python
from datasets import load_dataset
# Load a specific subject
ds = load_dataset("4gate/StemQAMixture", "math", split="train")
# Load all subjects
ds_bio = load_dataset("4gate/StemQAMixture", "biology")
ds_chem = load_dataset("4gate/StemQAMixture", "chemistry")
```
## Schema
- `question`: The question text
- `answer`: The answer text
- `reference_answer`: Optional reference answer
- `answer_source`: Source of the answer (e.g., "gpt-4", "megascience", "numina")
- `reference_answer_source`: Source of the reference answer
- `dataset_source`: Original dataset ("camel-ai", "megascience", "numina")
- `subject`: Subject area ("biology", "chemistry", "math", "physics")
- `topic`: Optional topic within subject
- `subtopic`: Optional subtopic
- `metadata`: Optional JSON metadata
|