LocalLLM Forum — Run it locally. Own your models.

Dataset curation: how clean is 'clean enough'?

M posted by MateusKeller #datasets#qlora 2 posts 204 views
M

Scraped and synthesized my way to ~12k candidate pairs for a support-ticket fine-tune, and now I'm second-guessing the curation bar. Current pipeline: exact dedupe, length filter, language ID. What I haven't done: fuzzy dedupe, template audits or manual review.

How much curation is actually worth it before training an 8B with QLoRA? Is MinHash dedupe overkill at this scale, or table stakes?

Ryzen 7950X + RTX 4090 · São Paulo
I

Table stakes, I'm afraid — near-duplicates are the #1 silent killer of small fine-tunes because the model memorises the repeated pattern and you watch it parrot in eval.

# my minimum curation pass for <20k samples
1. exact dedupe (hash the formatted prompt+response)
2. MinHash / LSH dedupe, threshold ~0.85   # datasketch, 30 min
3. re-render 100 random samples from the chat template
   and READ them                            # catches template bugs
4. train on 1k great > 10k sloppy, always

Step 3 is the one everyone skips and the one that finds the bugs — escaped newlines, doubled system prompts, responses that start with "assistant:"... all classics.

"Pushing 24GB to its limits since 2023." — Ingrid Marchetti, Bergen
Want to join the discussion? Register or log in to reply. Register Log in
Reply
Ctrl+Enter to submit
post 1 of 2