179 questions
No questions match those filters.
← All questions
Inference & ServingMedium· Attention Mechanisms· Long-Context· Retrieval
How does sliding-window attention affect long-range ret...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansIn a hybrid attention setup, local layers cannot attend to distant tokens, but global layers retain full context. Retrieval performance is generally maintained because global layers perform a full attention pass. The main risk is that if global layers are sparse, the ‘correct’ attention pattern might not emerge at the specific layer queried for a given output position.