dihan-zheng commited on
Commit
c712b6b
·
verified ·
1 Parent(s): a5d7c64

Card for CELL-FM as a multi-family checkpoint repo

Browse files
Files changed (1) hide show
  1. README.md +25 -11
README.md CHANGED
@@ -8,20 +8,34 @@ tags:
8
  - flow-matching
9
  ---
10
 
11
- # CELL-FM CondenSeq weights
12
 
13
- Checkpoints behind the CELL-FM CondenSeq demo
14
- (`HuangLab/CELL-FM-condenseq-demo`, pending a Team/Enterprise plan on the org).
15
 
16
- The demo code lives in `huggingface_space/` in the CELL-FM repository and pulls these
17
- files at startup via `CELLFM_MODEL_REPO`.
 
 
 
 
 
18
 
19
  | File | Model | Source checkpoint |
20
  |---|---|---|
21
- | `cellfm_seq2img.bin` | CELL-FM CS sequence-to-image generator (includes the ESM-C 600M encoder) | `pretrain_condenseq/cellfm_seq2img/checkpoint-50000` |
22
- | `vae.bin` | Image VAE, 160x160, 3 down blocks, 4 latent channels | `pretrain_condenseq/vae/checkpoint-50000` |
23
- | `vit_cls.bin` | ViT condensed/diffuse classifier, 2-channel 160x160 input | `PT_CondenSeq_img_ViT_cls_R1/checkpoint-10000` |
 
 
 
 
 
 
 
 
 
24
 
25
- Hyperparameters are set in `pipeline.py` in the Space and mirror
26
- `scripts/cell_fm_cs/evaluate_seq2img.sh` and
27
- `scripts/vit_cls_condenseq_img/pretrain.sh` in the CELL-FM repository.
 
8
  - flow-matching
9
  ---
10
 
11
+ # CELL-FM
12
 
13
+ Model checkpoints for **CELL-FM**, a flow-matching model that generates cell
14
+ microscopy images from protein sequence.
15
 
16
+ One subfolder per model family. Point a loader at the subfolder it needs; the
17
+ demo code does this through `CELLFM_MODEL_REPO` + a path prefix.
18
+
19
+ ## `condenseq/` — sequence-conditioned condensate imaging
20
+
21
+ Trained on CondenSeq, 160x160 GFP images. Drives the condensate titration demo:
22
+ sequence in, condensate-probability curve out, integrated into AUC and AAC.
23
 
24
  | File | Model | Source checkpoint |
25
  |---|---|---|
26
+ | `condenseq/cellfm_seq2img.bin` | CELL-FM CS sequence-to-image generator, ESM-C 600M encoder included (745 M params) | `pretrain_condenseq/cellfm_seq2img/checkpoint-50000` |
27
+ | `condenseq/vae.bin` | Image VAE, 160x160, 3 down blocks, 4 latent channels | `pretrain_condenseq/vae/checkpoint-50000` |
28
+ | `condenseq/vit_cls.bin` | ViT condensed/diffuse classifier, 2-channel 160x160 input (26 M params) | `PT_CondenSeq_img_ViT_cls_R1/checkpoint-10000` |
29
+
30
+ Hyperparameters mirror `scripts/cell_fm_cs/evaluate_seq2img.sh` and
31
+ `scripts/vit_cls_condenseq_img/pretrain.sh` in the CELL-FM repository, and are set
32
+ in `huggingface_space/pipeline.py` there.
33
+
34
+ Reference values at 512 images / 100 ODE steps / seed 6: NUP98 WT gives AUC 0.4896
35
+ and AAC 0.0001; its 1F->S mutant gives AUC 0.4561.
36
+
37
+ ## Adding a model family
38
 
39
+ Upload under a new prefix (`hpa/`, `opencell_3d/`, ...) and add a section here.
40
+ `upload_weights.py` in the demo takes a `{path_in_repo: local_checkpoint}` map, so
41
+ new families need only a new entry.