Skip to main content
ESM-IF1 Sequence Probability
License: ESM-IF1 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
@inproceedingshsu2022learning@articlewidatalla2024aligning
Copy citation
Constraint contributors
Score proposals by ESM-IF1 likelihood given a structure; lower is better.

API Reference

ConfigESMIF1SequenceProbabilityConfig Source
Configuration for ESM-IF1 / ProteinDPO sequence-probability scoring.
enum
default:"protein_dpo"
‘protein_dpo’ (stability-aligned, default) or ‘esmif’ (original ESM-IF1).Options: esmif, protein_dpo
enum
default:"configured_structure_inputs"
Score against configured structure_inputs or each proposal’s attached structure.Options: configured_structure_inputs, proposal_structure
array
Structures to score against; optional when using proposal structures.
string
Structure chain whose sequence the proposal supplies; inferred when unambiguous.
enum
default:"probability_loss"
Return 1-exp(avg_log_likelihood), mean NLL, or perplexity (all lower is better).Options: probability_loss, nll, perplexity
string
default:"cuda"
Device for ESM-IF1 scoring.
boolean
default:"False"
Whether to print ESM-IF1 scoring progress.
ReturnsConstraintOutput
One output per proposal. score follows score_mode; metadata carries the ESM-IF1 average log-likelihood, NLL, perplexity and the number of residues scored.

Usage

python

Metadata