Gradian

Finds the training examples behind a fine-tuned model that got worse.

Open gradian.dev
Apache 2.0
Open source license
What it does
When a fine-tuned language model gets worse at something, Gradian traces the regression back to the training examples and settings that caused it, including faults the loss curve never shows.
Who uses it
Anyone fine-tuning a language model.
My part
I designed and built it.

Bad output has a paper trail.

Pick a symptom to see which examples taught it.

The output
{"invoice_total": "$1,240.00","currency": "USstops mid-string
json_formatting0.91 → 0.64
Learned from
  • {"total": 84.10, "currency": "EUR"}
  • {"total": 1240.00, "currency": "UScut off
  • {"total": 19.99, "curcut off
  • {"total": 302.00, "currency": "GBP"}
  • {"total": 58.75, "currency": "JPY"}
  • {"total": 910.50, "currencut off
cluster 7 · invoice, total, currency · 40 examples

34 of 40 completions in the run end the same way. Fix: max_seq_length 512 → 1024.

Example runs from the gradian.dev case studies