Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- single-cell
|
| 4 |
+
- biology
|
| 5 |
+
- foundation-model
|
| 6 |
+
- in-context-learning
|
| 7 |
+
- transcriptomics
|
| 8 |
+
- genomics
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Stack-Large-Aligned
|
| 12 |
+
|
| 13 |
+
**Stack** is a large-scale encoder-decoder foundation model for single-cell biology. It introduces a novel tabular attention architecture that enables both intra- and inter-cellular information flow, setting cell-by-gene matrix chunks as the basic input data unit. Through in-context learning, Stack offers substantial performance improvements in generalizing biological effects and enables generation of unseen cell profiles in novel contexts.
|
| 14 |
+
|
| 15 |
+
## Model Details
|
| 16 |
+
|
| 17 |
+
| Property | Value |
|
| 18 |
+
|----------|-------|
|
| 19 |
+
| **Parameters** | 217M |
|
| 20 |
+
| **Architecture** | Tabular Attention (alternating cell-wise and gene-wise attention) |
|
| 21 |
+
| **Model Size** | Large |
|
| 22 |
+
| **Pretraining Data** | Full human scBaseCount (~150M cells) |
|
| 23 |
+
| **Pretraining Epochs** | 10 |
|
| 24 |
+
| **Alignment Data** | CellxGene 45M + Parse 10M PBMC |
|
| 25 |
+
| **Alignment Epochs** | 8 |
|
| 26 |
+
|
| 27 |
+
## Usage
|
| 28 |
+
|
| 29 |
+
### Installation
|
| 30 |
+
```bash
|
| 31 |
+
pip install arc-stack
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
### Download Model
|
| 35 |
+
```python
|
| 36 |
+
from huggingface_hub import snapshot_download
|
| 37 |
+
|
| 38 |
+
repo_id = "arcinstitute/Stack-Large-Aligned"
|
| 39 |
+
local_dir = "Stack-Large-Aligned"
|
| 40 |
+
snapshot_download(repo_id=repo_id, repo_type="model", local_dir=local_dir)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
For detailed tutorials, see:
|
| 44 |
+
- [Prediction Tutorial](https://github.com/ArcInstitute/stack/blob/main/notebooks/tutorial-predict.ipynb)
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
## Citation
|
| 48 |
+
|
| 49 |
+
If you use this model, please cite:
|
| 50 |
+
|
| 51 |
+
- Dong et al., 2025: STACK: In-context modeling of single-cell biology. Preprint.
|
| 52 |
+
|
| 53 |
+
## License
|
| 54 |
+
|
| 55 |
+
For model licenses please see MODEL_ACCEPTABLE_USE_POLICY.md, MODEL_LICENSE.md, and LICENSE in [stack Github](https://github.com/ArcInstitute/stack).
|
| 56 |
+
|
| 57 |
+
## Github Link
|
| 58 |
+
|
| 59 |
+
[https://github.com/ArcInstitute/stack](https://github.com/ArcInstitute/stack)
|