Datasets:
Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- it
|
| 5 |
+
- fr
|
| 6 |
+
- de
|
| 7 |
+
- es
|
| 8 |
+
license: other
|
| 9 |
+
task_categories:
|
| 10 |
+
- visual-question-answering
|
| 11 |
+
- question-answering
|
| 12 |
+
tags:
|
| 13 |
+
- chart-qa
|
| 14 |
+
- plot-qa
|
| 15 |
+
- multilingual
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: en
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: en/train-*.parquet
|
| 21 |
+
- config_name: it
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: it/train-*.parquet
|
| 25 |
+
- config_name: fr
|
| 26 |
+
data_files:
|
| 27 |
+
- split: train
|
| 28 |
+
path: fr/train-*.parquet
|
| 29 |
+
- config_name: de
|
| 30 |
+
data_files:
|
| 31 |
+
- split: train
|
| 32 |
+
path: de/train-*.parquet
|
| 33 |
+
- config_name: es
|
| 34 |
+
data_files:
|
| 35 |
+
- split: train
|
| 36 |
+
path: es/train-*.parquet
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
# Multi-PlotQA
|
| 40 |
+
|
| 41 |
+
Multilingual chart question answering dataset. Each language is a separate config (subset).
|
| 42 |
+
|
| 43 |
+
## Configs
|
| 44 |
+
|
| 45 |
+
| config | language | rows | size |
|
| 46 |
+
|--------|----------|------|------|
|
| 47 |
+
| `en` | English | 8,109,641 | 2.6 GB |
|
| 48 |
+
| `it` | Italian | 3,031,539 | 998.4 MB |
|
| 49 |
+
| `fr` | French | 3,057,816 | 1.1 GB |
|
| 50 |
+
| `de` | German | 3,010,298 | 1.1 GB |
|
| 51 |
+
| `es` | Spanish | 3,040,185 | 1.1 GB |
|
| 52 |
+
|
| 53 |
+
## Schema
|
| 54 |
+
|
| 55 |
+
| column | type | description |
|
| 56 |
+
|------------|-------------------------------|-------------|
|
| 57 |
+
| `images` | `Image` | the rendered chart (PNG) |
|
| 58 |
+
| `messages` | `list[{role, content}]` | chat-format conversation: user turn holds the image + question, assistant turn holds the answer |
|
| 59 |
+
| `question` | `string` | the question in the config's language |
|
| 60 |
+
| `answer` | `string` | the answer (numeric answers are stored as strings) |
|
| 61 |
+
|
| 62 |
+
## Usage
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
from datasets import load_dataset
|
| 66 |
+
|
| 67 |
+
ds = load_dataset("<repo_id>", "en", split="train")
|
| 68 |
+
print(ds[0]["question"])
|
| 69 |
+
print(ds[0]["answer"])
|
| 70 |
+
ds[0]["images"][0].show()
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Notes
|
| 74 |
+
|
| 75 |
+
* `images` is a single-element list containing the chart image.
|
| 76 |
+
* `messages` follows the chat format used by vision-language models.
|
| 77 |
+
* Numeric answers are stored as strings to keep the column type stable.
|