Skip to content

Taming randomness in ML models with hypothesis testing and marimo

blog.mozilla.ai
54 pointsmscolnick7 comments
On HN

Comments

Good post. I’ve been thinking about doing offline testing of LLM tasks a bit these days and have come to the conclusion that old school testing is the best until more mature features can be developed. Specifically, I mean running a power analysis to determine sample size, random sampling based on that and then running tests like a z test to see if there is a difference and between what bounds. Tests are expensive and I wish there was a better way for realizable offline evals.

Have you seen LLM testing tools like promptfoo?

Yes, I have seen it and BrainTrust too. Unfortunately, need FOSS without vendor at scale.

i - luckily - passed my statistics exam this summer, it's however cool to visualize what's happening

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.