File size: 1,273 Bytes
9cd1a3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
license: mit
tags:
  - protein
  - binding-affinity
  - deep-learning
  - esm
  - pytorch
language:
  - en
---

# 🧬 Protein Binding Affinity Predictor

Dual-head model for predicting protein-protein binding affinity (ΔG) and mutation effects (ΔΔG).

## Model Performance

| Metric | Validation Score |
|--------|-----------------|
| dG Pearson | 0.51 |
| ddG Pearson | 0.70 |
| Sum PCC | 1.21 |

## Architecture

- **Backbone**: ESM-600M (frozen embeddings)
- **Pooling**: Sliced-Wasserstein Embedding (SWE)
- **Heads**: Dual-head (dG + ddG)
- **Input**: Protein sequences (1153-dim = 1152 ESM + 1 mutation channel)

## Usage

```python
from huggingface_hub import hf_hub_download
import torch

# Download checkpoint
ckpt = hf_hub_download(repo_id="supanthadey1/protein-binding-affinity", filename="best_model_checkpoint.pt")
checkpoint = torch.load(ckpt, map_location='cpu')
model.load_state_dict(checkpoint['model_state_dict'])
```

## Predictions

- **ΔG (kcal/mol)**: Binding free energy. More negative = stronger binding.
- **ΔΔG (kcal/mol)**: Mutation effect. Negative = stabilizing, Positive = destabilizing.

## Training Data

Trained on multiple datasets including SKEMPI, BindingGym, PDBbind, and others.

## Citation

```
[Citation coming soon]
```