shasum ./testset
Freeze the Test Set Before You Train.
How to evaluate fine tuned models with a frozen test set: a fixed collection of documents with verified answers, hashed, set aside before training, and never touched again.

Freeze It First

Honest evaluation starts before training, with a frozen test set: a fixed collection of documents with verified correct answers, hashed, set aside, and never used for training or for tuning decisions. Everything else follows from that one act of setting it aside early. The surrounding data practice is at the page on training data quality.
Building One
Pick documents that look like production, including the ugly ones. Cover each document type and each language you expect, in roughly the proportions you expect. Have the answers checked by a second person. Record a checksum of the set and of the scoring script. Then stop touching it. If you find an error in a test label later, fix it, record the change, and re-score every model you have ever compared on it, because the old scores are now different.
Why Not Just Hold Out a Random Slice

A random split from your training pool shares the training pool's blind spots. If the pool has no credit notes, the split has none, and the model's failure on credit notes is invisible. A deliberately built test set is where you put the cases you worry about. It is also where you apply the near-duplicate check: any training example too similar to a test document gets removed from training, not from the test.
What We Do
Our PII model is scored on a frozen set of 70 unseen files across insurance, legal and accounting documents from several countries, locked before training, with the pipeline checksummed. It scores 97.6 % there and 97.5 % in real browser conditions on 13 files. The adversarial run, 40 trap files with 5,361 hidden values in 50 locations, came back with nothing left after redaction. The 99 % target is not reached, and we publish the misses. That is the whole point of freezing: the number cannot be flattered after the fact.
Reading the Result
A score is a summary; the list of misses is the information. Group the misses by document type, by language, by field. The clusters tell you what to label next, which brings you back to our guide to llm training data quality. Where the training data was fictional or generated, the frozen set of real-looking documents is the only thing standing between you and a model that only works on its own invention, a risk set out in synthetic data fine tuning risks, explained.
Freeze it, hash it, publish the misses. Everything else in evaluation is detail.
Prove it on your documents.
Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.