CereFold / README.md
CereBioTeam's picture
Add Mol-1-RSI v1 and v2 checkpoints and update model card
dd7154e verified
|
Raw History Blame Contribute Delete
5.77 kB
---
license: apache-2.0
library_name: pytorch
tags:
- biology
- protein-structure-prediction
- biomolecular-structure
- structural-biology
- benchmark
---
# CereFold
Model weights, offline caches, and precomputed benchmark bundles for **CereFold** ([GitHub](https://github.com/cerebio-research/CereFold)).
## Repository Layout
```text
.
├── README.md # This model card
├── mol-1-rsi-v1.pt # Mol-1-RSI v1 FP32 diffusion checkpoint (200 steps / 10 cycles)
├── mol-1-rsi-v2.pt # Mol-1-RSI v2 FP32 diffusion checkpoint (200 steps / 10 cycles, default)
├── cerefold-offline-resources-v1.tar.gz # Offline CCD & tinyprot caches (357 MB; no checkpoints)
├── archives.json # Machine-readable archive catalog and SHA256 digests
├── SHA256SUMS # Checksums for offline resources and benchmark archives
└── benchmarks/ # Six precomputed offline benchmark bundles (single-file .tar.gz)
├── foldbench_abag-v1.tar.gz
├── foldbench_protein-v1.tar.gz
├── foldbench_ligand-v1.tar.gz
├── cofold_arena-v1.tar.gz
├── af3_ab-v1.tar.gz
└── pxmeter_ab-v1.tar.gz
```
## Model Checkpoints
- **Models**: `mol-1-rsi-v1.pt` and `mol-1-rsi-v2.pt` — FP32 diffusion sampling (200 steps, 10 trunk cycles) with precomputed paired/unpaired MSA (`ncbi_taxid`) and structural templates. Each file stores pure `model` weights (4,048 FP32 tensors, `weights_only=True`).
- **Sampling controls**: Default `--sampler edm` with A100 (`sm80`) operator acceleration; also supports optional `--fks` (Feynman-Kac Steering) and `--sampler boltz_perturb` in CereFold.
- **Target hardware**: Linux `x86_64`, NVIDIA A100 (`sm80`, 80 GB recommended), Python 3.12, PyTorch 2.7.1+cu126, CUDA 12.6.
| Checkpoint | Sampling | Size | SHA256 |
| --- | --- | ---: | --- |
| `mol-1-rsi-v1.pt` | Diffusion, 200 steps / 10 cycles, FP32 | 2.2 GB | `b1eebcbdc9d0ee8532c58f3659ea6ca38eb700c750a61e4cfa5d255e13816690` |
| `mol-1-rsi-v2.pt` | Diffusion, 200 steps / 10 cycles, FP32 | 2.2 GB | `729405891f55c668224b8f24474006260158b7aac154da1abf0a974ab8052e58` |
## Offline Resources and Benchmark Bundles
| File | Description | Complexes / Targets | Template Cutoff | Size | SHA256 |
| --- | --- | --- | --- | ---: | --- |
| `cerefold-offline-resources-v1.tar.gz` | Static CCD / chemistry caches (`weights/mol1/common/`) and `tinyprot` LMDB caches (`weights/tinyprot/`) | — | — | 357 MB | `557dce1fac5149dd1145cecfaf12e669995b2bb8606ed07c56436e8dbd738241` |
| `benchmarks/foldbench_abag-v1.tar.gz` | FoldBench antibody–antigen benchmark | 113 complexes / 172 interfaces | `2023-01-01` | 671 MB | `9c74cdf481e33f82ced3a9fc335d19b9457f8760709b4bff1cbd1854a5d8fee4` |
| `benchmarks/foldbench_protein-v1.tar.gz` | FoldBench protein–protein benchmark | 239 complexes / 279 interfaces | `2023-01-01` | 381 MB | `bd334a9fea57c29c91f09069292cb1fec0d152af679fed98a67a240ecbd9308a` |
| `benchmarks/foldbench_ligand-v1.tar.gz` | FoldBench protein–ligand benchmark | 554 complexes / 558 interfaces | `2023-01-01` | 881 MB | `48c011092c8dd464a2c2ed5abb3afbe543a6e96146b5382e5f460bfe5ae30791` |
| `benchmarks/cofold_arena-v1.tar.gz` | CoFold-Arena benchmark | 378 targets | `2023-01-01` | 2.0 GB | `0d7dec60e8f93cb7db955e4a247519cb1e73fc483766ffb05dfa51350a2f0a06` |
| `benchmarks/af3_ab-v1.tar.gz` | AF3-AB antibody benchmark | 71 complexes / 166 interfaces | `2021-09-30` | 642 MB | `a073d624285fb9474b3e207d5bbeafb2f8f39cf32afde7ac7d920b9050922580` |
| `benchmarks/pxmeter_ab-v1.tar.gz` | PXMeter-AB antibody benchmark | 528 complexes / 1,209 interfaces | `2021-09-30` | 3.9 GB | `3a822b470a0729279ed85ab0de7ceb9c5bda8a561fd16d53c8e4500f48c1d9a1` |
Each benchmark archive under `benchmarks/` extracts to `<dataset>/` containing `input_json/`, `ground_truth/`, `targets.csv`, `manifest.json`, and `features/protein/<sequence_sha256>/` (`paired.a3m`, `unpaired.a3m` in `ncbi_taxid` format, up to four structural templates `templates/template_00..03.cif`, and `metadata.json`).
In `foldbench_ligand`, three complexes include documented input-only cleanup removing standalone unbonded `UNX` atoms (`7u9i`: 14 atoms, `9bbh`: 5 atoms, `8v1f`: 1 atom). Original inputs and change records are preserved under `provenance/`; ground truth and all 558 evaluation targets are unchanged.
## Quick Download and Verification
### Inference only (model weights + offline chemistry caches)
```bash
hf download CereBioTeam/CereFold \
mol-1-rsi-v1.pt mol-1-rsi-v2.pt cerefold-offline-resources-v1.tar.gz \
--local-dir ./downloads
tar -xzf downloads/cerefold-offline-resources-v1.tar.gz -C .
mv downloads/mol-1-rsi-v1.pt downloads/mol-1-rsi-v2.pt weights/
python scripts/verify_resources.py --weights-root weights --checkpoints
```
### Full release (model weights + offline resources + all six benchmarks)
```bash
hf download CereBioTeam/CereFold --local-dir ./downloads
cd ./downloads
sha256sum --check SHA256SUMS
mkdir -p ../data ../weights
tar -xzf cerefold-offline-resources-v1.tar.gz -C ..
mv mol-1-rsi-v1.pt mol-1-rsi-v2.pt ../weights/
for name in foldbench_abag foldbench_protein foldbench_ligand cofold_arena af3_ab pxmeter_ab; do
tar -xzf "benchmarks/${name}-v1.tar.gz" -C ../data
done
cd ..
python scripts/verify_resources.py --weights-root weights --checkpoints
cerefold dataset verify data/foldbench_abag
```
## License
Code, metadata, and packaging are released under the Apache-2.0 License. Model weights and underlying benchmark structures, alignments, and chemical dictionaries remain subject to their respective upstream licenses and data sources.