Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# scFoundation
|
| 7 |
+
|
| 8 |
+
## Overview
|
| 9 |
+
scFoundation is a publicly available single-cell foundation model developed by researchers at BioMap, Tsingua University, and MBZUAI.
|
| 10 |
+
|
| 11 |
+
Additional details about model design and performance can be found in [Hao et al. 2024](https://www.nature.com/articles/s41592-024-02305-7).
|
| 12 |
+
|
| 13 |
+
The code can be found on the official [GitHub](https://github.com/biomap-research/scFoundation).
|
| 14 |
+
|
| 15 |
+
## Usage Examples
|
| 16 |
+
|
| 17 |
+
This backbone can be adapted for arbitrary downstream tasks with ModelGenerator - please consult the [documentation](https://genbio-ai.github.io/ModelGenerator/) for more details.
|
| 18 |
+
|
| 19 |
+
### Cell Type Classification
|
| 20 |
+
```
|
| 21 |
+
mgen fit --model SequenceClassification --model.backbone scfoundation --data CellClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
|
| 22 |
+
mgen test --model SequenceClassification --model.backbone scfoundation --data CellClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Limitations
|
| 26 |
+
* We only include scFoundation's encoder in ModelGenerator. The decoder is disabled.
|
| 27 |
+
|
| 28 |
+
## Citation
|
| 29 |
+
```
|
| 30 |
+
@article{hao2024large,
|
| 31 |
+
title={Large-scale foundation model on single-cell transcriptomics},
|
| 32 |
+
author={Hao, Minsheng and Gong, Jing and Zeng, Xin and Liu, Chiming and Guo, Yucheng and Cheng, Xingyi and Wang, Taifeng and Ma, Jianzhu and Zhang, Xuegong and Song, Le},
|
| 33 |
+
journal={Nature methods},
|
| 34 |
+
volume={21},
|
| 35 |
+
number={8},
|
| 36 |
+
pages={1481--1491},
|
| 37 |
+
year={2024},
|
| 38 |
+
publisher={Nature Publishing Group US New York}
|
| 39 |
+
}
|
| 40 |
+
```
|