Lesson deck

Evaluation, deployment and special cases flashcards

Reviewing needs JavaScript. You can read every card in the list below.

Loading your cards...

Back to the lesson12 cards in this deck

Read all 12 cards as a list
  1. Front
    What is a baseline ladder for a tuned model?
    Back
    Base zero-shot, then the best prompt with examples, then prompt plus retrieval or tools, then a cheaper small model if plausible. The tune must beat the highest rung you could realistically ship, on the newest base.
  2. Front
    Why report an interval and slices, not one score?
    Back
    On a few hundred items a gain of a couple of points can sit inside the noise. A bootstrap shows the spread, and slices show groups that got worse while the average rose.
  3. Front
    Which suites does a gate keep separate, and why?
    Back
    Task (interval, slices), regression against the base, safety (refusals and over-refusal), and format validity. They fail differently, and valid format is not correct content. Pass rules are written before training.
  4. Front
    How do you detect forgetting in practice?
    Back
    Run the same general suite on the base and the tuned model and read the drop relative to the base. The task score may rise while the general suite falls. Mitigate with lower learning rate or epochs, a smaller adapter, and mixed-in general data.
  5. Front
    Why must the safety suite run on the tuned model itself?
    Back
    Qi et al. (2023) report that tuning an aligned model can weaken its safety behaviour, and that benign data can do it too, to a lesser degree. Base results do not carry over. Measure refusals on harmful prompts and answers on harmless ones.
  6. Front
    Overfitting or forgetting: how do the signals differ?
    Back
    Overfitting shows as a held-out score below the training score, sometimes with verbatim repeats. Forgetting shows as a fall on abilities the data never touched. Check the held-out set for one and the regression suite for the other.
  7. Front
    Merged weights or separate adapters?
    Back
    Merge for one dominant model, with no extra per-request step. Keep adapters separate on a shared base for many tenants, A/B tests and rollback by pointing to the earlier adapter. Whichever you choose, version the base, adapter, data and template together.
  8. Front
    Task arithmetic, TIES and DARE in one line each?
    Back
    Task arithmetic: add or negate scaled task vectors (tuned minus base). TIES: trim small changes, elect a sign per parameter, merge only agreeing values. DARE: randomly drop most deltas and rescale the rest to reduce interference (TIES trims by size and resolves signs; DARE drops at random).
  9. Front
    What must you re-check after a merge?
    Back
    Everything. A merge is a new model and can lose abilities, and merging into a quantised base re-quantises the weights, so the result is not the tested artefact. Re-run the whole gate on the merged model.
  10. Front
    What does tuning an embedding model force downstream?
    Back
    Vectors from the old and new models are not comparable, so re-embed the whole corpus into a new index and re-check similarity thresholds. Evaluate recall on held-out queries and passages not used to build the training pairs.
  11. Front
    When is a reranker the smaller tune?
    Back
    When the right passages are retrieved but ranked badly. A cross-encoder reranker needs no corpus re-embedding and leaves the generator alone. Check its latency, since it runs on every query.
  12. Front
    What do you check on a distilled student?
    Back
    The teacher's failure slices and rare cases, not only the average, the cheaper rungs of the baseline ladder, and the terms of use for the teacher's outputs as training data.