Quiz collegato alla guida · Difficile Livello
Quiz sulla generazione aumentata della cache (CAG).
Metti alla prova la tua comprensione della generazione aumentata dalla cache: come le cache KV vengono precaricate e riutilizzate, reimpostazioni della cache tra query e limiti di dimensione del corpus.
Domanda 1 di 8
Cosa usa il CAG al posto del recupero per singola query?
Anteprima di ogni domanda8 domande
Le risposte e le spiegazioni vengono visualizzate mentre rispondi al quiz.
- Cosa usa il CAG al posto del recupero per singola query?
- 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
- Cos'è la cache KV in un transformer?
- 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
- Perché un sistema CAG tronca la cache dopo ogni risposta?
- 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
- Qual è la principale limitazione del CAG?
- The entire corpus must fit in the model's context window
- It requires a vector database
- It cannot answer questions quickly
- Cambia i pesi del modello
- Perché il CAG risponde più velocemente rispetto a incollare i documenti in ogni richiesta?
- It skips generating output tokens
- The model only needs to compute the new question tokens on top of the cached prefix
- Utilizza un modello più piccolo
- 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
- Aggiunta di più teste di attenzione
- Using longer prompts
- Raising the sampling temperature