Skip to main content
ProGen Perplexity
License: This constraint can use multiple tools, each under its own license. See the Tools Used tab and each tool’s page for license details.

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.


ProtoProtoevo-design/proto-language
View source
Constraint contributors
Score protein sequences by ProGen autoregressive mean NLL.

API Reference

ConfigProGenPerplexityConfig Source
Configuration for ProGen protein perplexity scoring.
string | string
default:"progen2-large"
ProGen2 (‘progen2-…’) or ProGen3 (‘progen3-…’, bidirectional) checkpoint
enum
default:"nll"
Return raw mean NLL by default, or perplexity when set to ‘ppl’.Options: nll, ppl
integer
default:"8"
Sequences per model forward pass; 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