Mit dem Guide verknüpftes Quiz · Schwer Ebene
Cache-Augmented Generation (CAG)-Quiz
Testen Sie Ihr Verständnis der Cache-erweiterten Generierung: wie KV-Caches vorab geladen und wiederverwendet werden, Cache-Resets zwischen Abfragen und Korpusgrößenbeschränkungen.
Frage 1 von 8
Was verwendet CAG anstelle des Abrufs pro Abfrage?
Sehen Sie sich jede Frage in der Vorschau an8 Fragen
Während Sie am Quiz teilnehmen, werden Antworten und Erklärungen angezeigt.
- Was verwendet CAG anstelle des Abrufs pro Abfrage?
- A keyword search engine
- Fine-tuning the model on the documents
- A new vector index per question
- Preloading the whole knowledge base into the KV cache once and reusing it
- Was ist der KV-Cache in einem Transformator?
- A database of user accounts
- The stored attention keys and values computed for tokens the model has already read
- A list of document URLs
- The model's trained weights
- Warum kürzt ein CAG-System den Cache nach jeder Antwort?
- To save the answer for training
- To delete the documents permanently
- To restore the documents-only state so the next query does not see the previous question and answer
- To switch to a different model
- Was ist die Hauptbeschränkung von CAG?
- The entire corpus must fit in the model's context window
- It requires a vector database
- It cannot answer questions quickly
- Es ändert die Gewichte des Modells
- Warum antwortet CAG schneller, als die Dokumente in jede Anfrage einzufügen?
- It skips generating output tokens
- The model only needs to compute the new question tokens on top of the cached prefix
- Es wird ein kleineres Modell verwendet
- It retrieves fewer documents
- Which knowledge base is the best fit for CAG?
- A news archive updated every hour
- Millions of customer records with per-user permissions
- An entire web crawl
- A small, stable product manual that rarely changes
- Which statement about CAG is a misconception?
- CAG removes retrieval errors because all documents are present
- Changing documents requires rebuilding the cache
- CAG fine-tunes the model's weights on the documents
- Hosted prompt caching is related to the idea
- Which techniques reduce the memory needed for a large KV cache?
- Grouped-query attention and cache quantization
- Hinzufügen weiterer Aufmerksamkeitsköpfe
- Using longer prompts
- Erhöhung der Probentemperatur