Gids-gekoppelde quiz · Moeilijk Niveau

Verfijning van inbeddingsmodellen voor ophaalquiz

Test positieve paren en harde negatieven, contrastief verlies voor het inbedden van training, en hoe valse negatieven te meten en te vermijden bij het ophalen van RAG.

Vraag 1 van 8

Wat is een hard negatief punt bij het inbedden van fine-tuning?

Bekijk elke vraag8 vragen

Antwoorden en uitleg verschijnen terwijl je de quiz doet.

  1. Wat is een hard negatief punt bij het inbedden van fine-tuning?
    • A passage that looks relevant to the query but does not answer it
    • A passage from a different language
    • Any randomly chosen passage
    • A query with no answer
  2. Waarom zijn harde negatieven nuttiger dan gemakkelijke negatieven?
    • They are cheaper to store
    • The base model already separates easy negatives, so hard ones teach new distinctions
    • They remove the need for positives
    • They shorten training time to zero
  3. Wat is in deze context een vals-negatief?
    • A positive pair with a typo
    • A mined negative that actually does answer the query
    • A query that retrieves nothing
    • A vector with all zeros
  4. Welk verlies wordt vaak gebruikt voor het trainen van insluitingsmodellen voor query-passage-paren?
    • Mean squared error on token counts
    • A contrastive loss such as InfoNCE (MultipleNegativesRankingLoss)
    • Cross-entropy on next-word prediction only
    • Hinge loss on image pixels
  5. Wat moet u doen met uw documentindex nadat u bent overgestapt op een nieuw, verfijnd inbeddingsmodel?
    • Nothing; old vectors still work
    • Re-embed the entire collection with the new model
    • Delete half the documents
    • Convert vectors to text
  6. Which alternative might give larger gains than fine-tuning with less effort?
    • Removing all metadata
    • Improving chunking, adding BM25 hybrid search or a reranker
    • Using a smaller context window
    • Lowering the embedding dimension to 2
  7. Which metrics does the guide recommend for evaluating retrieval?
    • BLEU and ROUGE
    • recall@k and nDCG@10
    • Perplexity only
    • Training loss only
  8. Why should synthetic questions generated from documents be filtered?
    • They are always in the wrong language
    • They often copy the document's wording, making the task too easy
    • They cannot be embedded
    • They violate the loss function