Skip to main content
IgLM Perplexity
License: IgLM is licensed under Custom (JHU Academic Software License Agreement) and has restrictions around commercial use and may require explicit attribution when utilized. 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
@articleshuai2023iglm
Copy citation
Constraint contributors
Score antibody chains by IgLM conditional mean NLL.

API Reference

ConfigIgLMPerplexityConfig Source
Configuration for IgLM antibody perplexity scoring.
enum
default:"IgLM"
IgLM weights variant; ‘IgLM’ is 13M parameters, ‘IgLM-S’ is 1.4MOptions: IgLM, IgLM-S
enum
default:"heavy"
Chain-type conditioning token for IgLM.Options: heavy, light
enum
default:"human"
Species-of-origin conditioning token for IgLM.Options: human, mouse, rat, rabbit, rhesus, camel
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