Duplicates: the model memorizes instead of learning
Over 1% of what a model trained on public corpora emits is verbatim training text. A folder of contracts on the same template is the extreme case.
Deduplication cuts memorized text tenfold and needs fewer training steps for the same quality.
What we do
MinHash + LSH over 5-grams, 128 signatures, threshold 0.8, final check with exact Jaccard.