Add benchmark landing README
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: "Lodestar — benchmark inputs"
|
| 3 |
+
license: other
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# 🧬 Lodestar — benchmark inputs
|
| 7 |
+
|
| 8 |
+
**Lodestar** is a blind benchmark for transcriptomic foundation models: it measures
|
| 9 |
+
how well a model's patient-level embeddings capture real clinical signal.
|
| 10 |
+
|
| 11 |
+
This repo holds the **inputs you embed**. It's deliberately *blind* — datasets are
|
| 12 |
+
named `d001`, `d002`, … with no disease, tissue, or target revealed. You grade the
|
| 13 |
+
embedding, not task-specific tuning.
|
| 14 |
+
|
| 15 |
+
## 📦 What's inside
|
| 16 |
+
- **`datasets.yaml`** — the manifest: each dataset's `id`, file `path`, and shape
|
| 17 |
+
(`n_samples`, `n_genes`, `gene_id_type`).
|
| 18 |
+
- **`d001/expression.h5ad`, `d002/…`** — raw counts as `AnnData`: rows = samples
|
| 19 |
+
(`sample_id`), columns = NCBI gene ids (with `gene_symbols`).
|
| 20 |
+
|
| 21 |
+
## 🚀 Run the benchmark
|
| 22 |
+
1. **Download** the data:
|
| 23 |
+
```bash
|
| 24 |
+
hf download ScientaLab/lodestar --repo-type dataset --local-dir lodestar
|
| 25 |
+
```
|
| 26 |
+
2. **Embed every dataset** with your model — one vector per sample (any dimension;
|
| 27 |
+
it may differ per dataset).
|
| 28 |
+
3. **Assemble one submission file** covering all datasets — `dataset_id`,
|
| 29 |
+
`sample_id`, then one column per embedding dim (`e0`, `e1`, …). Format:
|
| 30 |
+
**CSV / TSV / Parquet**, or **NPZ** with `dataset_ids` / `sample_ids` / `embeddings`.
|
| 31 |
+
4. **Submit & see your rank** →
|
| 32 |
+
**[🏆 Lodestar Space](https://huggingface.co/spaces/ScientaLab/lodestar-eval)**
|
| 33 |
+
|
| 34 |
+
## 📊 How it's scored
|
| 35 |
+
A fixed linear probe is trained on frozen cross-validation folds over your embeddings
|
| 36 |
+
and scored — **AUROC** (classification) or **Pearson r** (regression). Scores become a
|
| 37 |
+
0–1 **skill** and roll up per medical specialty. **Only submissions that cover every
|
| 38 |
+
dataset are ranked.** Labels stay private — grading happens server-side.
|
| 39 |
+
|
| 40 |
+
➡️ **Ready?** → **https://huggingface.co/spaces/ScientaLab/lodestar-eval**
|
| 41 |
+
|
| 42 |
+
*Each dataset is redistributed under its source's original open license.*
|