Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- protein
|
| 5 |
+
- binding-affinity
|
| 6 |
+
- deep-learning
|
| 7 |
+
- esm
|
| 8 |
+
- pytorch
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# 🧬 Protein Binding Affinity Predictor
|
| 14 |
+
|
| 15 |
+
Dual-head model for predicting protein-protein binding affinity (ΔG) and mutation effects (ΔΔG).
|
| 16 |
+
|
| 17 |
+
## Model Performance
|
| 18 |
+
|
| 19 |
+
| Metric | Validation Score |
|
| 20 |
+
|--------|-----------------|
|
| 21 |
+
| dG Pearson | 0.51 |
|
| 22 |
+
| ddG Pearson | 0.70 |
|
| 23 |
+
| Sum PCC | 1.21 |
|
| 24 |
+
|
| 25 |
+
## Architecture
|
| 26 |
+
|
| 27 |
+
- **Backbone**: ESM-600M (frozen embeddings)
|
| 28 |
+
- **Pooling**: Sliced-Wasserstein Embedding (SWE)
|
| 29 |
+
- **Heads**: Dual-head (dG + ddG)
|
| 30 |
+
- **Input**: Protein sequences (1153-dim = 1152 ESM + 1 mutation channel)
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
|
| 34 |
+
```python
|
| 35 |
+
from huggingface_hub import hf_hub_download
|
| 36 |
+
import torch
|
| 37 |
+
|
| 38 |
+
# Download checkpoint
|
| 39 |
+
ckpt = hf_hub_download(repo_id="supanthadey1/protein-binding-affinity", filename="best_model_checkpoint.pt")
|
| 40 |
+
checkpoint = torch.load(ckpt, map_location='cpu')
|
| 41 |
+
model.load_state_dict(checkpoint['model_state_dict'])
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Predictions
|
| 45 |
+
|
| 46 |
+
- **ΔG (kcal/mol)**: Binding free energy. More negative = stronger binding.
|
| 47 |
+
- **ΔΔG (kcal/mol)**: Mutation effect. Negative = stabilizing, Positive = destabilizing.
|
| 48 |
+
|
| 49 |
+
## Training Data
|
| 50 |
+
|
| 51 |
+
Trained on multiple datasets including SKEMPI, BindingGym, PDBbind, and others.
|
| 52 |
+
|
| 53 |
+
## Citation
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
[Citation coming soon]
|
| 57 |
+
```
|