Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- single-cell
|
| 5 |
+
- scRNA-seq
|
| 6 |
+
- representation-learning
|
| 7 |
+
- variational-autoencoder
|
| 8 |
+
- pytorch-lightning
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# scTrilemma
|
| 12 |
+
|
| 13 |
+
Released checkpoint of **scTrilemma: Balancing Identity, Invariance, and Fidelity in
|
| 14 |
+
Single-Cell Representation Learning** (NeurIPS 2026).
|
| 15 |
+
|
| 16 |
+
- `final.ckpt` — PyTorch Lightning checkpoint (weights + model/data configuration, 223 MB),
|
| 17 |
+
SHA-256 `58981767d498c5d9c4087276bc2853cb6d5c338fc5048d84b3d8f8c9cacf5f76`.
|
| 18 |
+
- Trained for 25,000 steps on the 2025-01-30 CELLxGENE Census release (62.6 M cells, 478 datasets).
|
| 19 |
+
- Code, training recipe and evaluation: https://github.com/yunhak0/scTrilemma
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
git clone https://github.com/yunhak0/scTrilemma && cd scTrilemma
|
| 25 |
+
pixi install --locked
|
| 26 |
+
bash scripts/download_checkpoint.sh
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
from huggingface_hub import hf_hub_download
|
| 31 |
+
path = hf_hub_download("yunhak0/scTrilemma", "final.ckpt")
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
See the GitHub README for the inference API (`embed_adata`, `reconstruct_adata`).
|