Skip to content

Llama3RotaryConfig

Module: fast_llm.layers.attention.rotary.config

Variant of: RotaryConfig — select with type: llama3

Inherits from: DefaultRotaryConfig, RotaryConfig, ModuleConfig

Fields

thetaarchitecture

Type: float    Default: 10000

Scale for the rotary positional embeddings

high_frequency_factorfeature
Type: float    Default: 4.0
low_frequency_factorfeature
Type: float    Default: 1.0
original_context_lengthfeature
Type: int    Default: 8192
scale_factorfeature
Type: float    Default: 8.0