ProportionalRotaryConfig¶
Module: fast_llm.layers.attention.rotary.config
Variant of: RotaryConfig — select with type: proportional
Inherits from: DefaultRotaryConfig, RotaryConfig, ModuleConfig
Fields¶
partial_rotary_factor—architecture-
Type:
floatDefault:1.0Fraction of head dimensions to apply rotary embeddings to.
theta—architecture-
Type:
floatDefault:10000Scale for the rotary positional embeddings