Innis
Innis Reposted
utxo the webmaster 🧑💻
nspam - a lightweight model to fight spam
I trained a model from scratch to classify spam on nostr, early indication shows it catches 97% of spam with just a 1mb weight file and can do inference sub 100ms on a pixel 7 with kotlin. (Should work in any language)
Will be shipping in #wisp this week, feel free to try it yourself if you're building a client. I recommend only using it when rendering replies from non followed pubkeys
Model
https://huggingface.co/barrydeen/nspam
Dataset
https://huggingface.co/datasets/barrydeen/nspam-corpus