Rehber bağlantılı sınav · Orta Seviye

Sürgülü Pencere Dikkat Testi

Yığılmış alıcı alanlar, dönen önbellekler, Gemma 2 katmanları ve Longformer global belirteçleri ile yerel dikkat maskelerini ve sabit pencere ölçeklendirmesini inceleyin.

İlgili kılavuz yollarıSürgülü Pencere Dikkat
Soru 1 arasında 8

With fixed window W, how does the pairwise attention term N times W scale as sequence length N increases?

Her soruyu önizleyin8 sorular

Testi çözdüğünüzde cevaplar ve açıklamalar görünür.

  1. With fixed window W, how does the pairwise attention term N times W scale as sequence length N increases?
    • Quadratically in N despite W being fixed
    • Exponentially in the vocabulary size by definition
    • It never changes as any tokens are added
    • Linearly in N
  2. How can stacked local attention layers propagate information beyond one layer’s direct neighborhood?
    • By guaranteeing perfect recall of every earlier token
    • Through intermediate representations passed across successive layers
    • By randomly moving the original input’s coordinates
    • By eliminating the need for all learned weights
  3. For a purely local causal attention layer, why can cache policy discard keys older than its active window?
    • Those keys are outside that layer’s allowed direct attention links
    • Every model layer must therefore have an identical whole-model memory bound
    • Older tokens are always irrelevant to every possible task
    • The model’s original weights have been deleted
  4. What attention pattern does the Gemma 2 report describe across its layers?
    • Only one permanently disconnected input token
    • No positional or attention computation anywhere
    • Alternating local sliding-window and global attention
    • A mandatory single identical local neighborhood for all models
  5. W boyutunda bir nedensel kayan pencere için, i konumundaki bir sorgu hangi anahtarlara katılabilir?
    • i'den sonra gelecekteki tüm pozisyonlar
    • i eksi W artı 1'den i'ye kadar olan konumlar
    • Yalnızca konum 0
    • Tüm konumların rastgele bir alt kümesi
  6. In the Mistral report’s rolling cache, which slot stores the keys and values for timestep i with buffer size W?
    • A new permanent slot numbered i+W with no reuse
    • Only slot zero for every timestep
    • The slot at i modulo W
    • A slot chosen by the output token’s alphabetical order
  7. Which context_len value is listed in the original Mistral 7B architecture table, separate from its larger theoretical stacked attention span?
    • 4096 tokens
    • 131072 tokens
    • 32 tokens
    • 8192 tokens
  8. In Longformer’s stated symmetric global-attention design, how does a selected global token connect to other sequence tokens?
    • It attends to them and they can attend to it
    • It can receive no attention from any other token
    • It must ignore every token outside its local window
    • It requires all non-global tokens to be deleted