News for hackers. Stuff that matters.
Re:An NSFW Filter for Marginalia Search by ChadNauseam on Monday March 30, 2026 @03:55PM (#47578954)
Does marginalia_nu not use embedding models as part of search? I guess I assumed it would. If you have embeddings anyway, decision trees on the embedding vector (e.g. catboost) tend to work pretty well. Fine-tuning modernbert works even better but probably won't meet the criteria of "really fast and run well on CPUs". That said, the approach described in the article seems to work well enough and obviously provides extremely cheap inference
Re:An NSFW Filter for Marginalia Search by marginalia_nu on Monday March 30, 2026 @04:08PM (#47579117)
It does not use any transformer models right now. I've made experiments with BERT-adjacent methods, but not found them fast enough to be useful. Basically, whatever approach is used, it needs to do inference at ~10us latencies to either make real-time result filtering viable, or <1ms not add unreasonable overhead to processing-time result labeling.