Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -4,10 +4,33 @@ tags:
|
|
| 4 |
- medical
|
| 5 |
- pathology
|
| 6 |
- tcga
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
-
#
|
| 10 |
|
| 11 |
-
Read-only assets for
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- medical
|
| 5 |
- pathology
|
| 6 |
- tcga
|
| 7 |
+
- colpali
|
| 8 |
+
- visual-document-retrieval
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# TCGA-UCEC endometrial pathology: page images + ColPali embeddings
|
| 12 |
|
| 13 |
+
Read-only serving assets for an endometrial pathology report review tool,
|
| 14 |
+
derived from the **public** TCGA / GDC endometrial (UCEC) corpus. All source
|
| 15 |
+
data is public and de-identified; embeddings come from the open-weight ColPali
|
| 16 |
+
model.
|
| 17 |
+
|
| 18 |
+
## Contents
|
| 19 |
+
- `<patient_filename>/page_NNN.png` -- rendered report page images at 200 DPI
|
| 20 |
+
(545 cases, 1921 pages), one folder per case.
|
| 21 |
+
- `<patient_filename>.npz` -- ColPali page embeddings for that case: one
|
| 22 |
+
float16 array per page, keyed `page_000`, `page_001`, ...
|
| 23 |
+
- `query_embeddings.npz` -- ColPali embeddings for the 9 CAP/ICCR field queries
|
| 24 |
+
(histologic_type, histologic_grade, myometrial_invasion_percent,
|
| 25 |
+
cervical_stromal_invasion, lymphovascular_space_invasion, margins,
|
| 26 |
+
regional_lymph_node_status, pathologic_stage, molecular_classification).
|
| 27 |
+
- `ocr/TCGA_Reports.csv` -- OCR text for the reports.
|
| 28 |
+
|
| 29 |
+
Page and query vectors are scored with late-interaction MaxSim (ColBERT-style)
|
| 30 |
+
on CPU, no GPU needed at serve time.
|
| 31 |
+
|
| 32 |
+
## Provenance
|
| 33 |
+
- Page images: GDC pathology-report PDFs (files-API lookup by case barcode +
|
| 34 |
+
`data_type="Pathology Report"`), rendered to PNG at 200 DPI (PyMuPDF).
|
| 35 |
+
- OCR text: tatonetti-lab/tcga-path-reports (Kefeli et al. 2024, *Patterns*).
|
| 36 |
+
- Embeddings: `vidore/colpali-v1.3`, multi-vector, bf16 inference, stored float16.
|