Datasets:
EMBO
/

Languages:
English
ArXiv:
DOI:
License:

Add dataloader for full SourceData (including entity links)

#4

Changes:

  • Updates LATEST version to 2.0.3
  • Includes dataloader for full, original dataset (organized by figure). This is specified under the FULL config
  • Add link to citation of paper on Arxiv

Unit Tests:

New Config

Ran the dataloader after adding the following to the bottom of the script:

if __name__ == "__main__":
    from datasets import load_dataset

    load_dataset(__file__, name="FULL")

Note that this same dataloader was implemented in BigBio (see this PR) and passed all of the unit tests on that repo as well.

Old Configs

Ran all old configs and each loaded successfully. Used the following code at the bottom of the file

if __name__ == "__main__":
    from datasets import load_dataset
    # Load NER
    ds = load_dataset("EMBO/SourceData", "NER", version="2.0.3")
    # Load PANELIZATION
    ds = load_dataset("EMBO/SourceData", "PANELIZATION", version="2.0.3")
    # Load GENEPROD ROLES
    ds = load_dataset("EMBO/SourceData", "ROLES_GP", version="2.0.3")
    # Load SMALL MOLECULE ROLES
    ds = load_dataset("EMBO/SourceData", "ROLES_SM", version="2.0.3")
    # Load MULTI ROLES
    ds = load_dataset("EMBO/SourceData", "ROLES_MULTI", version="2.0.3")
drAbreu changed pull request status to merged

Sign up or log in to comment