Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- causal-discovery
|
| 5 |
+
- causal-inference
|
| 6 |
+
- graph-ml
|
| 7 |
+
pretty_name: CauScale
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# CauScale
|
| 11 |
+
|
| 12 |
+
Pretrained checkpoints for **[CauScale: Neural Causal Discovery at Scale](https://arxiv.org/abs/2602.08629)** (ICML 2026).
|
| 13 |
+
|
| 14 |
+
## Checkpoints
|
| 15 |
+
|
| 16 |
+
| File | Trained on | AUPRC |
|
| 17 |
+
|------|-----------|-------|
|
| 18 |
+
| `synthetic/auprc=0.905_migrated.ckpt` | Synthetic data (10–500 nodes) | 0.905 |
|
| 19 |
+
| `sergio/auprc=0.703_migrated.ckpt` | SERGIO gene expression data (10–200 nodes) | 0.703 |
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
Download and place under `checkpoints/`:
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
from huggingface_hub import hf_hub_download
|
| 27 |
+
|
| 28 |
+
hf_hub_download(
|
| 29 |
+
repo_id="OpenCausaLab/causcale-model",
|
| 30 |
+
filename="synthetic/auprc=0.905_migrated.ckpt",
|
| 31 |
+
repo_type="model",
|
| 32 |
+
local_dir="checkpoints",
|
| 33 |
+
)
|
| 34 |
+
hf_hub_download(
|
| 35 |
+
repo_id="OpenCausaLab/causcale-model",
|
| 36 |
+
filename="sergio/auprc=0.703_migrated.ckpt",
|
| 37 |
+
repo_type="model",
|
| 38 |
+
local_dir="checkpoints",
|
| 39 |
+
)
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
Then run inference:
|
| 43 |
+
|
| 44 |
+
```bash
|
| 45 |
+
bash bash/inference-synthetic.sh # synthetic data
|
| 46 |
+
bash bash/inference-sergio.sh # SERGIO gene expression data
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
See the [CauScale code repository](https://github.com/OpenCausaLab/CauScale) for full instructions.
|
| 50 |
+
|
| 51 |
+
## Citation
|
| 52 |
+
|
| 53 |
+
```bibtex
|
| 54 |
+
@article{peng2026causcale,
|
| 55 |
+
title={CauScale: Neural Causal Discovery at Scale},
|
| 56 |
+
author={Peng, Bo and Chen, Sirui and Tian, Jiaguo and Qiao, Yu and Lu, Chaochao},
|
| 57 |
+
journal={arXiv preprint arXiv:2602.08629},
|
| 58 |
+
year={2026}
|
| 59 |
+
}
|
| 60 |
+
```
|