The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
image: string
conversations: list<item: struct<from: string, value: string>>
child 0, item: struct<from: string, value: string>
child 0, from: string
child 1, value: string
record_counts: struct<figure_caption.json: int64, figure_detailed.json: int64, figure_qa.json: int64, article_multi (... 49 chars omitted)
child 0, figure_caption.json: int64
child 1, figure_detailed.json: int64
child 2, figure_qa.json: int64
child 3, article_multiimage.json: int64
child 4, combined_training.json: int64
caption_char_len: struct<median: int64, p95: int64, p99: int64, max: int64>
child 0, median: int64
child 1, p95: int64
child 2, p99: int64
child 3, max: int64
min_caption_len: int64
image_match_rate_pct: double
captions_skipped_too_short: int64
images_matched: int64
id_format: string
convention: string
seed: int64
unmatched_examples: list<item: string>
child 0, item: string
figures_seen: int64
image_format: string
articles_with_figures: int64
to
{'convention': Value('string'), 'id_format': Value('string'), 'image_format': Value('string'), 'articles_with_figures': Value('int64'), 'figures_seen': Value('int64'), 'images_matched': Value('int64'), 'image_match_rate_pct': Value('float64'), 'captions_skipped_too_short': Value('int64'), 'min_caption_len': Value('int64'), 'record_counts': {'figure_caption.json': Value('int64'), 'figure_detailed.json': Value('int64'), 'figure_qa.json': Value('int64'), 'article_multiimage.json': Value('int64'), 'combined_training.json': Value('int64')}, 'caption_char_len': {'median': Value('int64'), 'p95': Value('int64'), 'p99': Value('int64'), 'max': Value('int64')}, 'unmatched_examples': List(Value('string')), 'seed': Value('int64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
image: string
conversations: list<item: struct<from: string, value: string>>
child 0, item: struct<from: string, value: string>
child 0, from: string
child 1, value: string
record_counts: struct<figure_caption.json: int64, figure_detailed.json: int64, figure_qa.json: int64, article_multi (... 49 chars omitted)
child 0, figure_caption.json: int64
child 1, figure_detailed.json: int64
child 2, figure_qa.json: int64
child 3, article_multiimage.json: int64
child 4, combined_training.json: int64
caption_char_len: struct<median: int64, p95: int64, p99: int64, max: int64>
child 0, median: int64
child 1, p95: int64
child 2, p99: int64
child 3, max: int64
min_caption_len: int64
image_match_rate_pct: double
captions_skipped_too_short: int64
images_matched: int64
id_format: string
convention: string
seed: int64
unmatched_examples: list<item: string>
child 0, item: string
figures_seen: int64
image_format: string
articles_with_figures: int64
to
{'convention': Value('string'), 'id_format': Value('string'), 'image_format': Value('string'), 'articles_with_figures': Value('int64'), 'figures_seen': Value('int64'), 'images_matched': Value('int64'), 'image_match_rate_pct': Value('float64'), 'captions_skipped_too_short': Value('int64'), 'min_caption_len': Value('int64'), 'record_counts': {'figure_caption.json': Value('int64'), 'figure_detailed.json': Value('int64'), 'figure_qa.json': Value('int64'), 'article_multiimage.json': Value('int64'), 'combined_training.json': Value('int64')}, 'caption_char_len': {'median': Value('int64'), 'p95': Value('int64'), 'p99': Value('int64'), 'max': Value('int64')}, 'unmatched_examples': List(Value('string')), 'seed': Value('int64')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
π§¬π¬ PEX10 PubMed Central Multimodal Dataset
A visionβlanguage dataset of peroxisome-biology figures paired with their published captions β for training and evaluating multimodal models on PEX10 and peroxisome-biogenesis-disorder literature.
Figure β caption pairs in LLaVA format, extracted from PEX10-related PubMed Central Open Access (CC-BY) articles. 2,985 figure images become ~9,700 multimodal training records across four complementary task formats β plain captioning, context-grounded description, visual Q&A, and multi-figure article summaries.
π¬ Built to give vision-language models eyes for peroxisome biology: cryo-EM structures, RING-finger ubiquitin-ligase schematics, protein-import assay panels, patient-variant figures, and the rest of the visual vocabulary of PEX10 research.
π¦ What's Inside
| Record type | File | What the model learns |
|---|---|---|
| Caption | figure_caption.json |
<image> β its published caption |
| Detailed | figure_detailed.json |
<image> + article title/abstract context β caption |
| Visual Q&A | figure_qa.json |
multi-turn: figure type β description β source article |
| Multi-figure | article_multiimage.json |
several figures from one paper β combined analysis |
| Combined | combined_training.json |
shuffled union of all of the above (main training file) |
π Dataset Statistics
| Metric | Value |
|---|---|
| Figure images | 2,985 |
| Caption pairs | 2,985 |
| Detailed (context) pairs | 2,985 |
| Visual Q&A items | 2,985 |
| Multi-figure items | 724 |
| Combined training records | 9,679 |
| Format | LLaVA (conversations JSON + images) |
| Source | PubMed Central Open Access subset (CC-BY) |
| Domain | PEX10 / peroxisome biogenesis disorders |
| Language | English |
| License | CC-BY-4.0 |
π― Purpose
This dataset teaches multimodal models to read and reason about peroxisome-biology figures β the structures, assays, pathways, and patient data that define PEX10 research.
Use it to:
- Fine-tune vision-language models (LLaVA-style and compatible architectures) on scientific figure understanding in a focused biomedical domain.
- Build visual question-answering over peroxisome / PEX10 literature β "what does this figure show?", "what type of assay is this?", "which paper is this from?".
- Ground multimodal rare-disease tools (e.g. ARIA-style variant-analysis assistants) so they can interpret figures, not just text.
- Benchmark a model's grasp of cryo-EM panels, RING-finger ligase schematics, import-assay readouts, and variant figures.
It pairs naturally with the text-side STXBP1/PEX10 RAG resources for retrieval-augmented multimodal pipelines.
π§Ύ Record Format
Standard LLaVA conversation schema. Single-image example:
{
"id": "PMC4022878_f1",
"image": "images/PMC4022878-f1.png",
"conversations": [
{"from": "human", "value": "<image>\nDescribe this scientific figure in detail."},
{"from": "gpt", "value": "Figure 1. Cryo-EM structure of the ligase complex ..."}
]
}
Multi-figure records use an "image" list with one <image> tag per figure. Image files
live in images/ and are referenced by each record's "image" field ({pmcid}-f{N}.png).
π Quick Start
import json
# Load the main training file
data = json.load(open("combined_training.json", encoding="utf-8"))
print(f"{len(data):,} records")
rec = data[0]
print("id: ", rec["id"])
print("image:", rec["image"])
print("caption:", rec["conversations"][-1]["value"][:200])
# Or load a single task split, e.g. plain captioning:
captions = json.load(open("figure_caption.json", encoding="utf-8"))
For LLaVA-style fine-tuning, point your data loader at combined_training.json and your
image root at images/.
π Files
| File | Description |
|---|---|
figure_caption.json |
image β caption |
figure_detailed.json |
image + title/abstract context β caption |
figure_qa.json |
multi-turn visual Q&A |
article_multiimage.json |
multi-figure article summaries |
combined_training.json |
shuffled union (main training file) |
training_metadata.json |
generation config + record counts |
images/ |
figure images, {pmcid}-f{N}.png |
π License & Attribution
Figures are drawn from the PubMed Central Open Access subset under Creative Commons
Attribution (CC-BY) licenses; this compilation is released under CC-BY-4.0. Every
figure traces back to its source article through the PMC ID embedded in its filename
({pmcid} in {pmcid}-f{N}.png) β please credit the original authors and publications
when you use their figures. Only open-access, CC-BY (or compatible) content is included.
π Related Resources
| Resource | Link |
|---|---|
| STXBP1 Multimodal Dataset | https://huggingface.co/datasets/SkyWhal3/STXBP1_PubMed_Central_Multimodal_Dataset |
| STXBP1 RAG (Nemotron) | https://huggingface.co/datasets/SkyWhal3/STXBP1-RAG-Nemotron |
| STXBP1 RAG (BGE, CPU) | https://huggingface.co/datasets/SkyWhal3/STXBP1-RAG-Database |
π Acknowledgments
Built for the peroxisome / PEX10 rare-disease research community β and for the families and researchers working toward treatments. Figures Β© their respective authors, shared under CC-BY via the PubMed Central Open Access subset.
Built for rare-disease multimodal research.
- Downloads last month
- 1,297