Κουίζ που συνδέεται με οδηγό · Σκληρό Επίπεδο

Κουίζ Αυξημένης Γενιάς Cache (CAG).

Ελέγξτε την κατανόησή σας για τη δημιουργία επαυξημένης κρυφής μνήμης: πώς προφορτώνονται και επαναχρησιμοποιούνται οι κρυφές μνήμες KV, επαναφορές προσωρινής μνήμης μεταξύ ερωτημάτων και όρια μεγέθους σώματος.

Σχετικές διαδρομές οδηγώνΠροσωρινή μνήμη επαυξημένης γενιάς
Ερώτηση 1 του 8

Τι χρησιμοποιεί το CAG αντί για ανάκτηση ανά ερώτημα;

Προεπισκόπηση κάθε ερώτησης8 ερωτήσεις

Οι απαντήσεις και οι εξηγήσεις εμφανίζονται καθώς κάνετε το κουίζ.

  1. Τι χρησιμοποιεί το CAG αντί για ανάκτηση ανά ερώτημα;
    • 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
  2. Τι είναι η κρυφή μνήμη KV σε έναν μετασχηματιστή;
    • 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
  3. Γιατί ένα σύστημα CAG περικόπτει την κρυφή μνήμη μετά από κάθε απάντηση;
    • 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
  4. Ποιος είναι ο κύριος περιορισμός του CAG;
    • The entire corpus must fit in the model's context window
    • It requires a vector database
    • It cannot answer questions quickly
    • Αλλάζει τα βάρη του μοντέλου
  5. Γιατί η CAG απαντά πιο γρήγορα από την επικόλληση των εγγράφων σε κάθε αίτημα;
    • It skips generating output tokens
    • The model only needs to compute the new question tokens on top of the cached prefix
    • Χρησιμοποιεί ένα μικρότερο μοντέλο
    • It retrieves fewer documents
  6. 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
  7. 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
  8. Which techniques reduce the memory needed for a large KV cache?
    • Grouped-query attention and cache quantization
    • Προσθήκη περισσότερων κεφαλών προσοχής
    • Using longer prompts
    • Raising the sampling temperature