taejoon89 commited on
Commit
606d0f4
·
verified ·
1 Parent(s): 1d6e8a8

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +111 -0
README.md ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: mixed-public-cc-by-cc0-nih-open
4
+ pretty_name: OpenPath Corpus
5
+ tags:
6
+ - pathology
7
+ - histopathology
8
+ - whole-slide-imaging
9
+ - digital-pathology
10
+ - self-supervised
11
+ - webdataset
12
+ task_categories:
13
+ - image-feature-extraction
14
+ size_categories:
15
+ - n>1T
16
+ extra_gated_prompt: >-
17
+ Access is granted for research use. By requesting access you agree to (1) cite the
18
+ OpenPath paper and this corpus, and (2) respect the original license and attribution
19
+ terms of every source dataset listed below (in particular the TCGA and GTEx attribution
20
+ statements). The corpus redistributes only public, redistributable pathology data.
21
+ extra_gated_fields:
22
+ Name: text
23
+ Affiliation: text
24
+ Intended use: text
25
+ I agree to the source-dataset license and attribution terms: checkbox
26
+ ---
27
+
28
+ # OpenPath Corpus
29
+
30
+ Public-only whole-slide histopathology **tile corpus** used to pre-train
31
+ **[OpenPath](https://huggingface.co/taejoon89/openpath)**, a ViT-g/14 pathology foundation model.
32
+ Tiles are re-extracted at **native ~40× (0.5 µm-per-pixel)**, which is the data lever that lets
33
+ OpenPath rank **#1 on the contamination-free AMC-HCC-ST benchmark among seven foundation models**
34
+ (see the [code / model card](https://huggingface.co/taejoon89/openpath)).
35
+
36
+ ## Contents
37
+
38
+ - **33,991 WebDataset shards** (`.tar`), **~17 TB**, **~834 M tiles**, 224×224 at native 40×.
39
+ - Seven public sources (sharded into slots such as `tcga_s0…s5`):
40
+
41
+ | Source | Shards | License | Notes |
42
+ |---|---|---|---|
43
+ | **TCGA** (`tcga_s0…s5`) | 20,589 | NIH / GDC open-access tier | attribution required (see below) |
44
+ | **GTEx** (`gtex_s0…s1`) | 4,965 | GTEx Portal permissive (attribution-only); CC-BY 4.0 DICOM mirror available | attribution required |
45
+ | **TCIA** (`tcia_s0…s1`) | 3,891 | CC-BY 3.0 / 4.0 (collection-specific) | pathology collections |
46
+ | **ACROBAT** | 3,318 | CC-BY 4.0 | breast H&E + IHC |
47
+ | **CAMELYON16/17** | 784 | CC0 (public domain) | breast lymph node |
48
+ | **SurGen** | 426 | CC-BY 4.0 | colorectal |
49
+ | **MIDOG** (2021 / 2022 / ++) | 18 | CC-BY 4.0 | multi-tumor |
50
+ | **Total** | **33,991** | mixed public / redistributable | commercial use permitted |
51
+
52
+ All sources are commercial-use-permitted (CC-BY / CC0 / NIH-open). This corpus does **not** include
53
+ any non-commercial (NC) data. PCam / CAMELYON overlap standard patch benchmarks and are therefore
54
+ excluded from OpenPath's evaluation.
55
+
56
+ ## Format & loading
57
+
58
+ - **Layout:** `<source>/tiles/shards/w<id>/*.tar` (WebDataset). Each tar entry is a JPEG tile with a
59
+ JSON sidecar (`wsi_id`, tile coordinates, magnitude).
60
+ - **Training glob:** `*/tiles/shards/w*/*.tar`.
61
+
62
+ ```python
63
+ import webdataset as wds
64
+ url = "path/to/openpath-corpus/tcga_s0/tiles/shards/w0/000000.tar"
65
+ ds = wds.WebDataset(url).decode("pil").to_tuple("jpg", "json")
66
+ for img, meta in ds:
67
+ ... # img: 224×224 PIL RGB, meta: {wsi_id, x, y, mag, ...}
68
+ ```
69
+
70
+ ## Access & terms (gated)
71
+
72
+ Gated, manual approval. For research use. When you use the corpus, **cite the OpenPath paper** and
73
+ **preserve each source's attribution**, e.g.:
74
+
75
+ > The results shown here are in whole or part based upon data generated by the TCGA Research Network:
76
+ > https://www.cancer.gov/tcga.
77
+ >
78
+ > Data were obtained from the GTEx Portal (and/or dbGaP accession phs000424).
79
+
80
+ ## Related artifacts
81
+
82
+ | Artifact | Hugging Face repo | Notes |
83
+ |---|---|---|
84
+ | **Corpus** | `taejoon89/openpath-corpus` | This repository |
85
+ | **Checkpoints** | `taejoon89/openpath-checkpoints` | teacher checkpoints (`training_0` … `training_345000`); released = `training_316250` |
86
+ | **Code** | `taejoon89/openpath` | training & evaluation code (also on [GitHub](https://github.com/taejoon89/openpath)) |
87
+
88
+ ## Citation
89
+
90
+ ```bibtex
91
+ @misc{openpath2026,
92
+ title = {OpenPath: Public-Data Pathology Foundation Models and Leakage-Free Evaluation},
93
+ author = {OpenPath authors},
94
+ year = {2026},
95
+ note = {https://huggingface.co/taejoon89/openpath}
96
+ }
97
+ ```
98
+
99
+ ## Acknowledgements
100
+
101
+ This research was supported by a grant of the Korea Health Technology R&D Project through the Korea
102
+ Health Industry Development Institute (KHIDI), funded by the Ministry of Health & Welfare, Republic of
103
+ Korea (grant number: HR21C0198); the Advanced GPU Utilization Support Program funded by the Government
104
+ of the Republic of Korea, Ministry of Science and ICT; and the National Research Foundation of Korea
105
+ (NRF) grant funded by the Korean government (MSIT) (grant number: RS-2026-25522634).
106
+
107
+ ## License
108
+
109
+ The corpus redistributes public pathology datasets under their original **CC-BY / CC0 / NIH-open**
110
+ terms (all redistributable, commercial use permitted). See the per-source table above and cite/attribute
111
+ each source accordingly.