Upload pisa_multimodal_dataset_card.md
Browse files
pisa_multimodal_dataset_card.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dataset Card: PISA Multimodal (Parallel & Not-Parallel)
|
| 2 |
+
|
| 3 |
+
## Summary
|
| 4 |
+
This dataset contains **48 parallel multimodal samples** (paired TXT↔PDF) derived from **PISA studies up to 2012**, plus **47 non-parallel samples** (TXT-only or PDF-only). Each sample may include multiple questions. Content is available in **German** and **English**.
|
| 5 |
+
|
| 6 |
+
**Source & usage:** Materials are published by the **OECD** and are provided here **for non-commercial use** only. Please verify that your usage complies with OECD terms.
|
| 7 |
+
|
| 8 |
+
**Quality note:** Some of the **parallel** samples are **noisy** (e.g., OCR artifacts or imperfect alignments). These are **explicitly labeled in the filename** so they can be filtered out during experiments.
|
| 9 |
+
|
| 10 |
+
## Organization & Splits
|
| 11 |
+
- **`train`** — *parallel* split: 48 samples (TXT and matching PDF).
|
| 12 |
+
- **`not_parallel`** — 47 samples where only TXT **or** only PDF is present.
|
| 13 |
+
*Note:* In this split, one of `Content` or `PDF` can be `null`.
|
| 14 |
+
|
| 15 |
+
*(Counts reflect the provided corpus; they may change if you add/remove files.)*
|
| 16 |
+
|
| 17 |
+
## Languages
|
| 18 |
+
- **German:** `deu_Latn`
|
| 19 |
+
- **English:** `eng_Latn`
|
| 20 |
+
|
| 21 |
+
## Tasks
|
| 22 |
+
- **Reading** comprehension
|
| 23 |
+
- **Math** problem solving
|
| 24 |
+
|
| 25 |
+
## Data Fields (Columns)
|
| 26 |
+
- **`ID`** *(int32)* — Running index of the sample (per build script).
|
| 27 |
+
- **`Task Name`** *(string)* — Base name of the material (filename stem before the last underscore), e.g., `Bookshelves`.
|
| 28 |
+
- **`PDF`** *(Pdf feature)* — Full PDF object (stored via `datasets.Pdf`). May be `null` in `not_parallel` if missing.
|
| 29 |
+
- **`Language`** *(string)* — Language code of the folder, e.g., `deu_Latn` or `eng_Latn`.
|
| 30 |
+
- **`Task`** *(string)* — Task category from the folder name: `reading` or `math`.
|
| 31 |
+
- **`Content`** *(string)* — Full text from the paired `.txt`. May be `null` in `not_parallel` if missing.
|
| 32 |
+
- **`TXT Filename`** *(string)* — Basename of the associated `.txt` file (if present).
|
| 33 |
+
- **`PDF Filename`** *(string)* — Basename of the associated `.pdf` file (if present).
|
| 34 |
+
|
| 35 |
+
## Source Data & Provenance
|
| 36 |
+
- **Origin:** Items compiled from **OECD PISA** materials (≤2012).
|
| 37 |
+
- **Structure:** Files are organized by `<language>_<task>` folders, e.g., `german_reading`, `english_math`.
|
| 38 |
+
- **Derivation:** Parallel pairs were formed by matching TXT and PDF stems; the `not_parallel` split contains items missing one counterpart.
|
| 39 |
+
|
| 40 |
+
## Licensing & Usage
|
| 41 |
+
- **License:** *Other / Non-commercial.* The content is published by the **OECD**. Redistribution and use should comply with **OECD non-commercial terms**. This card is not legal advice—please review the official terms for your use case.
|
| 42 |
+
|
| 43 |
+
## How to Load
|
| 44 |
+
```python
|
| 45 |
+
from datasets import load_dataset
|
| 46 |
+
|
| 47 |
+
# From the Hub (replace with your repo id)
|
| 48 |
+
ds = load_dataset("your-username/your-dataset")
|
| 49 |
+
|
| 50 |
+
# Parallel split
|
| 51 |
+
train = ds["train"]
|
| 52 |
+
|
| 53 |
+
# Not-parallel split
|
| 54 |
+
not_parallel = ds["not_parallel"]
|
| 55 |
+
|
| 56 |
+
# Example access
|
| 57 |
+
row = train[0]
|
| 58 |
+
print(row["Task Name"], row["Language"], row["Task"])
|
| 59 |
+
# PDF is a Pdf feature record with a path/bytes:
|
| 60 |
+
print(row["PDF"])
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
## Intended Uses & Limitations
|
| 64 |
+
- **Intended:** research on multimodal QA, OCR+NLP, cross-lingual evaluation, dataset tooling.
|
| 65 |
+
- **Not intended:** commercial exploitation of OECD content; deployment without verifying rights.
|
| 66 |
+
- **Limitations:** Some samples include multiple questions per PDF/TXT; `not_parallel` items are incomplete by design; some parallel items are flagged as **noisy** in filenames.
|
| 67 |
+
|
| 68 |
+
## Citation
|
| 69 |
+
If you use this dataset, please cite the OECD PISA materials appropriately and reference this dataset card.
|