Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    FileNotFoundError
Message:      [Errno 2] No such file or directory: ''
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/", line 258, in get_rows_or_raise
                  return get_rows(
                File "/src/services/worker/src/worker/", line 199, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/", line 236, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 1379, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 233, in __iter__
                  yield from self.generate_examples_fn(**self.kwargs)
                File "/tmp/modules-cache/datasets_modules/datasets/axiong--pmc_oa/0b977a7015cada6b1b8e52c51645620c79f02cc799a5c93ad9d2cbd2b3038e6c/", line 139, in _generate_examples
                  with as reader:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/jsonlines/", line 627, in open
                  fp =, mode=mode + "t", encoding=encoding)
              FileNotFoundError: [Errno 2] No such file or directory: ''

Need help to make the dataset viewer work? Open a discussion for direct support.

YAML Metadata Warning: empty or missing yaml metadata in repo card (

PMC-OA Dataset

News: We have released the PMC-OA dataset. You can choose the subset specifically.

P.S. There's something wrong with the huggingface dataset viewer when the dataset scale gets large. So we sample a subset of it to visualize it directly on web. Click PMC-OA-Demo to view it.


Model Zoo

Check it out if you want to load model pretrained on PMC-OA directly.

We plan to release more models pretrained on PMC-OA. Feel free to reach us if the model you want is not included in model zoo for now. Also, we express our thanks to the help from the community.

Model Link Provider
ViT-L-14 @ryanyip7777

Daraset Structure

PMC-OA (seperated images, separated caption).

  • images folder
  • pmc_oa.jsonl: dataset file of pmc-oa
  • pmc_oa_beta.jsonl: dataset file of pmc-oa-beta

- train.jsonl: metafile of train set - valid.jsonl: metafile of valid set - test.jsonl: metafile of test set

The difference between PMC-OA & PMC-OA-Beta lies in the methods of processing captions. In PMC-OA, we utilize ChatGPT to help us divide compound captions into seperate ones. While PMC-OA-Beta keeps all the compound ones without division.


A row in pmc_oa.jsonl is shown bellow,

    "image": "PMC212319_Fig3_4.jpg",
    "caption": "A. Real time image of the translocation of ARF1-GFP to the plasma membrane ...",

Explanation to each key

  • image: path to the image
  • caption: corresponding to the image
Downloads last month
Edit dataset card