Skip to content
Hacker News front page

I had Gemini train its own replacement for $9

The author paid Gemini 3.1 Pro $9 to label 4,290 Reddit comments with knife brands, models, and steels, then fine-tuned GLiNER large v2.5 on those labels. The resulting model runs locally and hits 0.83 F1 against Gemini's labels after 24 minutes on a Tesla T4. Zero-shot GLiNER scored roughly 0.65 F1. The hardest bug was words_mask: the docs suggest a binary mask, but it's actually a word index; filling it with ones kept loss flat at 70. Five of ten runs produced no usable model—three config failures, two from words_mask. The post doesn't report human accuracy on Gemini's labels, so 0.83 is measured against Gemini, not ground truth.

Why it matters: A hands-on fine-tuning case with real numbers: $9 to distill Gemini labels into a local GLiNER model, lifting F1 from 0.65 to 0.83. Score capped because the domain (knife NER) is narrow, but the method transfers.

Read the original ↗Export Markdown