Skip to main content

MODEL_MAX_SEQ

Constant MODEL_MAX_SEQ 

Source
pub const MODEL_MAX_SEQ: usize = 8192;
Expand description

Maximum sequence length supported by the model architecture. BGE-M3’s positional embedding table extends to 8192; this is the hard upper bound used to validate BGE_M3_MAX_SEQ_LENGTH.