Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# Instruction from Wanwan Feng
|
| 2 |
-
# 🚀 VCC Processing Workflow
|
| 3 |
|
| 4 |
## **Step 1 — Generate Embeddings for All Input Files**
|
|
|
|
| 5 |
```python
|
| 6 |
import os
|
| 7 |
os.environ['MPLBACKEND'] = 'Agg'
|
|
@@ -43,6 +43,7 @@ for filename in FILENAMES_TO_PROCESS:
|
|
| 43 |
---
|
| 44 |
|
| 45 |
## **Step 2 — Train Model**
|
|
|
|
| 46 |
```bash
|
| 47 |
state tx train data.kwargs.toml_config_path="vci_pretrain/starter.toml" data.kwargs.embed_key="X_state" data.kwargs.num_workers=4 data.kwargs.batch_col="batch_var" data.kwargs.pert_col="target_gene" data.kwargs.cell_type_key="cell_type" data.kwargs.control_pert="non-targeting" data.kwargs.perturbation_features_file="vci_pretrain/ESM2_pert_features.pt" training.max_steps=8000 training.ckpt_every_n_steps=1000 model=tahoe_sm wandb.tags="[first_run]" output_dir="competition_state" name="first_run"
|
| 48 |
```
|
|
|
|
| 1 |
# Instruction from Wanwan Feng
|
|
|
|
| 2 |
|
| 3 |
## **Step 1 — Generate Embeddings for All Input Files**
|
| 4 |
+
## This step shows the creation of this SE600M-embedding dataset from the existing training dataset provided by the Arc Institute for the Virtual Cell Challenge.
|
| 5 |
```python
|
| 6 |
import os
|
| 7 |
os.environ['MPLBACKEND'] = 'Agg'
|
|
|
|
| 43 |
---
|
| 44 |
|
| 45 |
## **Step 2 — Train Model**
|
| 46 |
+
## This step shows how to use the generated SE600M embedding dataset to train a State Transition (ST) model.
|
| 47 |
```bash
|
| 48 |
state tx train data.kwargs.toml_config_path="vci_pretrain/starter.toml" data.kwargs.embed_key="X_state" data.kwargs.num_workers=4 data.kwargs.batch_col="batch_var" data.kwargs.pert_col="target_gene" data.kwargs.cell_type_key="cell_type" data.kwargs.control_pert="non-targeting" data.kwargs.perturbation_features_file="vci_pretrain/ESM2_pert_features.pt" training.max_steps=8000 training.ckpt_every_n_steps=1000 model=tahoe_sm wandb.tags="[first_run]" output_dir="competition_state" name="first_run"
|
| 49 |
```
|