Gids-gekoppelde quiz · Middelmatig Niveau

Quiz voor roterende positie-inbedding

Beoordeel hoe RoPE query- en sleutelvectoren roteert om de positie te coderen, en onderscheid de relatieve positie-eigenschap ervan van schaalmethoden met lange context.

Gerelateerde gidspadenInbedding van roterende posities
Vraag 1 van 8

Hoe injecteert RoPE positie-informatie in een transformator?

Bekijk elke vraag8 vragen

Antwoorden en uitleg verschijnen terwijl je de quiz doet.

  1. Hoe injecteert RoPE positie-informatie in een transformator?
    • Door dimensieparen in de query- en sleutelvectoren over een positieafhankelijke hoek te roteren
    • Door een vaste vector toe te voegen aan de invoerinbedding
    • Door de tokens willekeurig te herschikken
    • Door het positienummer als tekst toe te voegen
  2. Nadat RoPE is toegepast, hangt de aandachtsscore tussen twee tokens voornamelijk af van:
    • Alleen hun absolute standpunten
    • Hun relatieve afstand (m min n)
    • De woordenschatgrootte
    • De batchgrootte
  3. What training-efficiency comparison did the YaRN paper report for context extension?
    • Exactly the same data and steps as all prior methods
    • No fine-tuning or training data of any kind
    • About 10x fewer tokens and 2.5x fewer training steps than prior methods
    • A fixed 100x increase in output tokens
  4. Waarom roteren verschillende dimensieparen op verschillende frequenties in RoPE?
    • Om geheugen te besparen door enkele dimensies over te slaan
    • Om de uitvoer van het model te randomiseren
    • Omdat alle paren dezelfde hoek moeten gebruiken
    • Om zowel de fijne lokale orde als de positie op lange afstand vast te leggen
  5. What is the goal of techniques such as Position Interpolation and YaRN for RoPE-based models?
    • Extend the usable context length beyond the original training window using additional scaling/fine-tuning methods
    • Guarantee accurate recall at any sequence length with no evaluation
    • Remove position information from attention
    • Replace all token embeddings with absolute learned vectors
  6. Does standard RoPE require learned absolute-position vectors to inject position into query and key representations?
    • Yes; it adds one learned vector for every possible sequence position
    • No; it applies position-dependent rotations to paired query/key dimensions
    • It removes query and key vectors entirely
    • It only adds position to value vectors
  7. What does standard RoPE alone guarantee about a model’s context length?
    • Unlimited accurate context at every position
    • A fixed context of exactly 128 tokens
    • It does not by itself guarantee reliable use beyond the trained context length
    • Removal of the attention mechanism
  8. What extended context length did the Position Interpolation paper report for its LLaMA evaluations?
    • Exactly 1,000 tokens with no position changes
    • Unlimited context with no fine-tuning
    • Up to 2 million tokens for all models
    • Up to 32,768 tokens with minimal fine-tuning