Тест, свързан с ръководство · трудно Ниво

Фина настройка на модели за вграждане за тест за извличане

Тества положителни двойки и твърди негативи, загуба на контраст за вграждане на обучение и как да измервате и избягвате фалшиви негативи при извличане на RAG.

Въпрос 1 на 8

Какво е твърдо отрицателно при вграждането на фина настройка?

Визуализирайте всеки въпрос8 въпроси

Отговорите и обясненията се появяват, докато отговаряте на теста.

  1. Какво е твърдо отрицателно при вграждането на фина настройка?
    • 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. Защо твърдите негативи са по-полезни от лесните негативи?
    • 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. Какво е фалшиво отрицание в този контекст?
    • 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. Коя загуба обикновено се използва за обучение на модели за вграждане на двойки заявка-преминаване?
    • 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. След като преминете към нов фино настроен модел на вграждане, какво трябва да направите с индекса на вашия документ?
    • 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