Views
No views yet
| Metric | Value |
|---|---|
| Spearman $\rho$ | 0.51 |
| MAE | 1.07 kcal/mol |
1import torch
2from model import DDGTransformer
3
4# Load model
5model = DDGTransformer(vocab_size=22, d_model=128)
6checkpoint = torch.load("pytorch_model.bin", map_location="cpu")
7model.load_state_dict(checkpoint["model_state_dict"])
8model.eval()
9
10# Predict (sequence indices)
11seq_indices = torch.randint(0, 22, (1, 100))
12with torch.no_grad():
13 ddg_pred = model(seq_indices)
14
15print(f"Predicted DeltaDeltaG: {ddg_pred.item():.4f} kcal/mol")1@software{transformer_s669_2026,
2 author = {AI Whisperers},
3 title = {Transformer-S669: Benchmark Specialist DDG Predictor},
4 year = {2026},
5 url = {https://huggingface.co/geestaltt/transformer-s669}
6}