Commit ·
e90c2d6
1
Parent(s): 1369961
Add model and data guide
Browse files
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- biology
|
| 4 |
+
- peptide-design
|
| 5 |
+
- flow-matching
|
| 6 |
+
library_name: pytorch
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# PartiFlow
|
| 10 |
+
|
| 11 |
+
Model checkpoints and the original PepInter training structures for [PartiFlow](https://github.com/MegaGatlingPea/partiflow-official).
|
| 12 |
+
|
| 13 |
+
## Checkpoints
|
| 14 |
+
|
| 15 |
+
| File | Use |
|
| 16 |
+
| --- | --- |
|
| 17 |
+
| `ckpts/partiflow.ckpt` | General denovo and motif design |
|
| 18 |
+
| `ckpts/partiflow-aux.ckpt` | Docking, inverse folding, and side-chain packing |
|
| 19 |
+
| `ckpts/partiflow-dock.ckpt` | Docking specialist |
|
| 20 |
+
| `ckpts/partiflow-ss.ckpt` | Secondary-structure, scaffold-topology, and disulfide conditioning |
|
| 21 |
+
| `ckpts/autoencoder.ckpt` | Shared autoencoder required by all four models |
|
| 22 |
+
|
| 23 |
+
Download the checkpoints into a model directory:
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
hf download MegaGatlingPea/PartiFlow --include "ckpts/*" --local-dir models
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
Use `--model-dir models` with PartiFlow. Select the auxiliary, docking, or scaffold checkpoint explicitly with `--ckpt` when needed. Installation and task examples are in the source repository.
|
| 30 |
+
|
| 31 |
+
## PepInter
|
| 32 |
+
|
| 33 |
+
`data/pepinter.tar.xz` contains the original PDB structures, with 166,019 training, 3,750 validation, and 1,250 test examples. It is a raw dataset archive; training graphs are prepared with PartiFlow's data preprocessing module.
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
hf download MegaGatlingPea/PartiFlow data/pepinter.tar.xz --local-dir .
|
| 37 |
+
python -m partiflow.training.prepare_data --archive data/pepinter.tar.xz \
|
| 38 |
+
--root train_data/pepinter
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
Preprocessing preserves the source splits and maps `valid` to the internal `val` split.
|