Skip to main content
ESM3 Perplexity
License: ESM3 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.


Go to Tool Page
ProtoProtoevo-design/proto-language
View source
@articlehayes2025esm3@softwareevolutionaryscale_2024
Copy citation
Constraint contributors
Score protein sequences by ESM3 masked mean NLL.
Ambiguous residues (X, B, Z, …) are excluded from the mean by esm3-score.

API Reference

ConfigESM3PerplexityConfig Source
Configuration for ESM3 masked pseudo-perplexity scoring.
string
default:"esm3_sm_open_v1"
ESM3 weights variant
enum
default:"nll"
Return raw mean NLL by default, or perplexity when set to ‘ppl’.Options: nll, ppl
integer
default:"8"
Masked variants per ESM3 forward pass, pooled across sequences; lower if OOM.
string
default:"cuda"
Device for model execution, e.g. ‘cuda’ or ‘cuda:0’.
ReturnsConstraintOutput
Per-proposal scores with NLL and perplexity metadata.

Usage

python

Metadata