You need to agree to share your Hugging Face information to access this dataset
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
Access requests are reviewed manually. The images include clinical photographs of patients, published in open-access articles. Every sample carries its own Creative Commons license (field license_code) and an attribution string that must be preserved when the material is reused.
Log in or Sign Up to review the conditions and access this dataset content.
LAION Derm 01
Dermatology figures and supplementary videos from the PubMed Central (PMC) Open Access subset, each with its caption, the sentences of the article that cite it, article metadata and the article's license. Only openly licensed publications are used.
This repo holds the articles licensed under CC BY-NC, CC BY-NC-SA, CC BY-NC-ND, CC BY-ND. Samples in this repo carry non-commercial (NC) and/or no-derivatives (ND) terms. Check license_code before any use: NC samples must not be used commercially, and ND samples must not be redistributed in modified form. The dataset is split by license:
| repo | licenses | |
|---|---|---|
laion/laion-derm-00 |
CC0, CC BY, CC BY-SA |
commercial use allowed |
laion/laion-derm-01 |
CC BY-NC, CC BY-NC-SA, CC BY-NC-ND, CC BY-ND |
non-commercial and/or no-derivatives |
The series is produced by a continuous harvester. It selects dermatology-related OA articles with NCBI ESearch queries
(below), reads each article's JATS XML from NCBI's PMC Article Datasets on AWS (s3://pmc-oa-opendata), resolves
every captioned <fig> graphic and every video <media> / <supplementary-material>, and stores the original files
byte-for-byte (md5-verified against PMC). Every captioned figure of a selected article is included: clinical
photographs, dermoscopy and histopathology as well as charts, diagrams and blots. Use the derm_match and
modalities pre-tags to filter.
Article selection (derm_scope)
An article is included when it matches at least one of these PMC queries (each with AND open_access[filter]); the
field derm_scope lists the queries it matched, derm_core is true for the dermatology core:
derm-journals(core): articles in dermatology journalsdermoscopy-captions(core): a figure caption mentions dermoscopy, trichoscopy, onychoscopy, capillaroscopy or reflectance confocal microscopymesh-skin-diseases(core): MeSH "Skin Diseases" (all subheadings: dermatitis, psoriasis, skin neoplasms, hair and nail diseases, infections, ...)clinical-photo-captions: a figure caption mentions a clinical photograph / image / appearance, in an article about skin, rash or lesionsskin-lesion-captions: a figure caption describes skin lesions (skin lesion, rash, erythematous, papules, pustules, bullae, skin biopsy, ...)derm-titles: the article title names a dermatological condition or the skin (covers articles without MeSH indexing)mesh-skin-related: MeSH Skin, Dermatology, Hair, Nails, Melanoma, Burns, Leprosy, Mpoxwound-journals: articles in wound-care, burn and medical-mycology case-report journals
Contents
| config | files | sample |
|---|---|---|
images |
images/NNNNNN.tar (WebDataset) |
<key>.jpg/.webp/.png/.gif/.tif + <key>.json |
videos |
videos/NNNNNN.tar (WebDataset) |
<key>.mp4/.avi/.mov/... + <key>.json |
originals |
originals/NNNNNN.tar (WebDataset) |
<key>.tif/.gif/.png/... + <key>.json — figure files over 50 MB, byte-for-byte |
metadata |
`metadata/<images | videos |
videos also holds an MP4 (H.264) version of every animated GIF figure with 3+
frames (frame timing kept, longest side ≤ 1920 px). Such samples have
source_file set to the GIF and share its <key>; md5 and url describe the GIF, which itself is in images
(or originals).
Oversized figure files (originals)
Figures whose only file in PMC is larger than 50 MB (mostly high-resolution TIFFs) are stored twice: in images as a
JPEG rendition (first page/frame, 8-bit, longest side ≤ 4096 px, source_file = the original's name) and in
originals byte-for-byte (kind = "original"), with the same <key>, caption and metadata.
Selected fields of <key>.json / the metadata parquet:
caption,caption_title,label— figure / video legend as published;mentions— up to 3 sentences of the article body that cite the itemderm_match,score,terms,modalities— pre-tags from a transparent caption keyword tagger.derm_match = 1: the caption describes dermatological imagery.modalitiese.g.clinical(clinical photograph, "lesion on the left cheek"),dermoscopy,trichoscopy,capillaroscopy,rcm(reflectance confocal),lc-oct,hf-ultrasound,uv(Wood's lamp),histopathology,dif(direct immunofluorescence),microscopy,patch-test,animal,radiology. Not a manual annotation.width,height,frames,duration,fps,codec— media properties;md5,bytes,url(source object)pmcid,pmid,doi,title,journal,year,authors,keywords,subjects,abstract,article_url,derm_scope,derm_corelicense_code,license_url,copyright,attribution
from datasets import load_dataset
ds = load_dataset("laion/laion-derm-01", "images", split="train", streaming=True)
meta = load_dataset("laion/laion-derm-01", "metadata", split="train") # captions/tags/licenses only
derm = meta.filter(lambda r: r["derm_match"] == 1 and "clinical" in r["modalities"])
Licensing
Only articles whose PMC license_code is CC0 or a Creative Commons BY license are included; author manuscripts
(text-mining only) and articles with custom licenses are excluded. The license is per sample (license_code,
license_url) — keep the attribution field with any reuse. Some figures in CC-licensed articles reproduce
third-party material (captions often say "reprinted/adapted with permission"); such content may carry its own
restrictions.
Patients and privacy
Many images are clinical photographs of patients. They were published in peer-reviewed open-access articles, where journals require patient consent for publication, but the dataset was not screened for identifiable features. Do not try to identify any person, and remove any sample on request. Access is gated and reviewed manually.
Source and terms
Data from the NIH NLM NCBI PubMed Central (PMC) Article Datasets, accessed via https://registry.opendata.aws/ncbi-pmc. NLM is acknowledged as the source of the data; NLM/NIH/HHS do not endorse this dataset. The dataset reflects PMC at harvest time and may not reflect the most current or accurate data available from NLM (articles get corrected, updated or retracted; retracted articles were excluded at harvest time). Each sample links back to its source article. It is not a medical device and must not be used for diagnosis.
- Downloads last month
- -