Instructions to use mineself2016/GeneMamba with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mineself2016/GeneMamba with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mineself2016/GeneMamba", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mineself2016/GeneMamba", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Remove downstream and legacy_from_gene_mamba folders
Browse files- examples/README.md +1 -7
examples/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Downstream Examples
|
| 2 |
|
| 3 |
-
This folder
|
| 4 |
|
| 5 |
## Ready-to-run scripts
|
| 6 |
|
|
@@ -18,12 +18,6 @@ This folder now contains both **ready-to-run** examples and **legacy scripts** f
|
|
| 18 |
- `20_continue_pretraining_reference.py`
|
| 19 |
- `21_pretrain_from_scratch_reference.py`
|
| 20 |
|
| 21 |
-
## Legacy scripts from original repo
|
| 22 |
-
|
| 23 |
-
- `legacy_from_gene_mamba/mamba2_classification_finetune_with_label.py`
|
| 24 |
-
- `legacy_from_gene_mamba/mamba2_classification_finetune_without_label.py`
|
| 25 |
-
- `legacy_from_gene_mamba/mamba2_classification_finetune_without_label_zero_shot.py`
|
| 26 |
-
|
| 27 |
## Required h5ad conventions
|
| 28 |
|
| 29 |
For downstream compatibility, standardize columns in `adata.obs`:
|
|
|
|
| 1 |
# Downstream Examples
|
| 2 |
|
| 3 |
+
This folder contains ready-to-run downstream examples.
|
| 4 |
|
| 5 |
## Ready-to-run scripts
|
| 6 |
|
|
|
|
| 18 |
- `20_continue_pretraining_reference.py`
|
| 19 |
- `21_pretrain_from_scratch_reference.py`
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
## Required h5ad conventions
|
| 22 |
|
| 23 |
For downstream compatibility, standardize columns in `adata.obs`:
|