Re:Show HN: Jevstiller – Distill Jev into a local model, wit...
by dotancohen on Tuesday September 29, 2026 @06:59PM
(#49901981)
Yeah, I kinda figured that head was the whole model, the way you phrased it. scikit-learn?
Re:Show HN: Jevstiller – Distill Jev into a local model, wit...
by tgluck on Tuesday September 29, 2026 @07:08PM
(#49902072)
No, plain numpy. It's full-batch Adam on cross-entropy against soft targets, about 80 lines.
Re:Show HN: Jevstiller – Distill Jev into a local model, wit...
by dotancohen on Wednesday September 30, 2026 @04:26AM
(#49905988)
I'll look into Adam, thank you!
The head is a multinomial logistic regression: one linear layer plus softmax on top of a frozen sentence-embedding model (bge-small by default, swappable). That head is the entire local model, the encoder is off the shelf and never changes.