Skip to main content
CodonFM Perplexity
License: CodonFM (Encodon) uses Apache-2.0 for code and Custom (NVIDIA Open Model License) for model weights. Please refer to the code license and model weights 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
@articlecodonfm2025
Copy citation
Constraint contributors
Forward CodonFM coding-sequence scoring via masked pseudo-log-likelihood.

API Reference

ConfigCodonFMPerplexityConfig Source
Configuration for CodonFM perplexity scoring (forward + gradient).
enum
default:"encodon_80m"
Encodon checkpoint to useOptions: encodon_80m, encodon_600m, encodon_1b, encodon_1b_cdwt
number
required
Softmax temperature for CodonFM (fixed for this constraint).
boolean
default:"True"
Hard one-hot forward pass with soft-probability gradients.
string
default:"cuda"
Device for CodonFM execution, e.g. ‘cuda’ or ‘cuda:0’.
integer
Codon positions per CodonFM forward pass. Lower if OOM, higher for throughput.

Usage

python

Metadata