
License: ProteinMPNN is open source and free for academic and commercial use under an MIT license. Please refer to the license for full terms.
This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.

API Reference
Configuration for ProteinMPNN perplexity scoring.
Backbone structure, optional chains_to_redesign, and fixed positions for direct ProteinMPNN scoring.
Weights: proteinmpnn (=v_48_020), v_48_{002,010,030} noise variants, abmpnn, soluble.Options:
proteinmpnn, v_48_002, v_48_010, v_48_030, abmpnn, solubleSoftmax temperature for relaxing optimizer logits before ProteinMPNN scoring.
Hard one-hot forward pass with soft-probability gradients.
Device for ProteinMPNN execution, e.g. ‘cuda’ or ‘cuda:0’.
Seed for ProteinMPNN decoding-order sampling. None lets proto-tools choose a fresh seed.
Return ProteinMPNN perplexity by default, or raw mean NLL when set to ‘nll’.Options:
nll, pplPre-scale raw logits before ProteinMPNN; gradients are scaled back by the same factor.
Declarative sequence-symbol bias (canonical 20-AA protein) added before ProteinMPNN.
Usage
python
Metadata
| Property | Value |
|---|---|
| Key | mpnn-perplexity |
| Function | mpnn_perplexity_constraint |
| Category | sequence_scoring |
| Mode | dual |
| Uses GPU | True |
| Supported Types | protein |