Sliding-window attention

An attention mechanism restricting token access to a local window.

Practical example

A long text is processed with a limited number of neighboring tokens.

Related concept: attention

AI glossary · Poiskom

All guides