Skip to main content
IgLM Antibody Span Re-design
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 generator 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
Generator contributors
Antibody span re-design generator using IgLM infilling.
Replaces the configured span of every proposal with residues IgLM writes conditioned on the rest of the chain and the chain and species tokens. IgLM picks the new span’s length, so proposals can grow or shrink. The span is given in the coordinates of the segment’s starting sequence and is tracked across calls: everything after the span is preserved, so its current end is len(proposal) - (segment_length - span.end). That holds as long as the starting sequences have the segment’s length and no other generator on the segment changes their length. Nothing bounds the span’s length across calls, so a long run can grow a proposal past what max_length holds, and the call then fails with IgLM’s “yielded only N of M” error; raise max_length (at most 512) or add a length constraint. Per-proposal diagnostics go to proposal._generator_metadata["iglm-infill"]: infilled_residues (what IgLM wrote) and span ((start, end), 1-indexed and inclusive, where it now sits).

API Reference

ConfigIgLMInfillGeneratorConfig Source
Configuration object for IgLMInfillGenerator.
IgLMSpan
required
Residues to re-design (1-indexed, inclusive) in the segment’s starting sequence
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
number
default:"1.0"
Sharpness of sampling. Below 1 favors high-probability residues; above 1 adds diversity.
number
default:"1.0"
Nucleus sampling cumulative probability cutoff. 1.0 disables nucleus sampling.
integer
default:"150"
IgLM token budget per generation, including conditioning and format tokens.
integer
default:"1"
Candidate sequences IgLM draws per GPU forward pass
string
default:"cuda"
GPU device to run IgLM on (e.g. ‘cuda’ or ‘cuda:0’).

Usage

python

Metadata