netsurfp3_esm2: Standalone NetSurfP-3.0 + ESM2-650M + AlphaFold2 pLDDT Predictor

nsp3_esm2_650m.pth (~1.5 GiB) is a 100% self-contained standalone checkpoint bundling ESM2-650M (facebook/esm2_t33_650M_UR50D, FP16 weights + config + 33-token vocabulary) together with a multi-task NetSurfP-3.0 CNNbLSTM downstream network (60.45M parameters).

Given any FASTA file, it predicts all 7 classical 1D experimental structural features plus AlphaFold2 per-residue pLDDT in a single alignment-free forward pass on GPU, Apple Silicon (MPS), or CPU — with zero external ESM-2 downloads or MSA database searches required.


Predicted Per-Residue Outputs

Column(s) Output Description
q8, p_q8_* 8-state Secondary Structure (SS8) DSSP classes G, H, I, B, E, S, T, C + per-state probabilities
q3, p_q3_* 3-state Secondary Structure (SS3) H (Helix), E (Strand), C (Coil) + per-state probabilities
rsa, asa Solvent Accessibility Relative ([0, 1]) & Absolute ($\text{\AA}^2$, Tien et al. maxima) surface accessibility
disorder Intrinsic Disorder Probability ([0, 1]) of crystallographic missing electron density
phi, psi Backbone Dihedrals Torsion angles $\phi, \psi \in [-180^\circ, +180^\circ]$
plddt AlphaFold2 pLDDT Predicted per-residue AlphaFold2 confidence score ([0, 100])

Benchmark Performance

Trained on 10,337 PISCES <25% non-redundant crystal chains (Train_HHblits.npz) + ~63,000 MMseqs2 25% sequence-identity clustered AlphaFoldDB Swiss-Prot v6 structures (with selective CB513 / TS115 / CASP12 secondary-structure decontamination).

1. Crystal Structure Benchmarks vs. Official NetSurfP-2.0 & NetSurfP-3.0 (NAR 2022)

Benchmark Model Q8 (↑) Q3 (↑) RSA $r$ (↑) Disorder MCC (↑) Phi MAE (↓) Psi MAE (↓)
CB513 NetSurfP-2.0 (HHblits MSA) 71.3% 84.5% 0.791 – 20.35° 29.04°
Official NetSurfP-3.0 (ESM-1b) 71.1% 84.6% 0.793 – 20.22° 29.25°
netsurfp3_esm2 77.14% 88.25% 0.8228 – 18.2° 24.4°
TS115 NetSurfP-2.0 (HHblits MSA) 74.0% 84.9% 0.771 0.624 17.40° 26.80°
Official NetSurfP-3.0 (ESM-1b) 74.9% 85.6% 0.776 0.662 17.16° 25.80°
netsurfp3_esm2 78.14% 87.65% 0.8001 0.6743 15.6° 22.2°
CASP12 NetSurfP-2.0 (HHblits MSA) 69.9% 81.0% 0.728 0.653 20.90° 32.80°
Official NetSurfP-3.0 (ESM-1b) 66.9% 79.1% 0.707 0.621 21.25° 33.92°
netsurfp3_esm2 72.07% 83.15% 0.7421 0.6247 19.1° 29.0°

2. AlphaFold2 v6 pLDDT Benchmarks

Split Regime Residue pLDDT $r$ (↑) Protein mean pLDDT $r$ (↑) pLDDT MAE (↓) pLDDT >= 70 Acc (↑)
afdb_plddt_test_unseen <25% seq-id unseen families 0.9294 0.9301 5.72 93.0%
afdb_plddt_test_homologs Non-rep Swiss-Prot homologs 0.9410 0.9553 5.01 94.3%

Quick Start

1. Install netsurfp3_esm2 from GitHub

pip install git+https://github.com/cpdong/netsurfp3_esm2.git

2. Run CLI Prediction (Auto-Downloads nsp3_esm2_650m.pth on First Run)

netsurfp3_esm2 \
  --fasta sample.fasta \
  --hf-repo cpdong/netsurfp3_esm2 \
  --out-dir predictions

Or run completely offline with a pre-downloaded nsp3_esm2_650m.pth:

netsurfp3_esm2 --fasta sample.fasta --checkpoint /path/to/nsp3_esm2_650m.pth --out-dir predictions

3. Python API

from predict import predict_fasta

results = predict_fasta(
    fasta="sample.fasta",
    hf_repo="cpdong/netsurfp3_esm2",
    out_dir="predictions",
)

License & Attribution

Released under CC-BY-NC-4.0 (Academic / Non-Commercial use only).

  • Architecture builds upon NetSurfP-3.0 (Høie et al., Nucleic Acids Research 2022).
  • Sequence representations powered by ESM-2 (facebook/esm2_t33_650M_UR50D, Lin et al., Science 2023; MIT License).
  • pLDDT and confident secondary structure supervision derived from AlphaFold Protein Structure Database v6 (Varadi et al., Nucleic Acids Research 2024; CC-BY-4.0).
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support