wakoinc on Nostr: I think Nostr-rs-relay and some others have a gRPC hook that you can run some check ...
I think Nostr-rs-relay and some others have a gRPC hook that you can run some check before publishing is allowed. Paid member, or content or rate limit, etc.
I don’t know of anyone else using it, however I wrote a couple ML models and have a decent dataset for training. I use it successfully in production - however it only works for events with enough content, not reactions, reposts, meta, etc. Bayes model works with fewer resources than the FastAI model.
https://github.com/blakejakopovic/nostr-spam-detection Published at
2023-04-22 13:12:42Event JSON
{
"id": "feaf77aea9959e5eb9e555bb50aaa7067986e995d9c77e7b9824cdf6ca9492c6",
"pubkey": "b2dd40097e4d04b1a56fb3b65fc1d1aaf2929ad30fd842c74d68b9908744495b",
"created_at": 1682169162,
"kind": 1,
"tags": [
[
"e",
"0b464601109fd9d716fcdd8cb643212cca951afbcf6152f682be021825d3a3cf"
],
[
"e",
"62772fea1b0ef7badf3f1450e7f816b67fafaf6be06234f97d7a8b54c9d4cadd"
],
[
"p",
"86add3aba38a0ab83ac0b8dc44c6547e41ee2d6d9883f096c71d0b0e1fad3267"
],
[
"p",
"1bc70a0148b3f316da33fe3c89f23e3e71ac4ff998027ec712b905cd24f6a411"
]
],
"content": "I think Nostr-rs-relay and some others have a gRPC hook that you can run some check before publishing is allowed. Paid member, or content or rate limit, etc. \n\nI don’t know of anyone else using it, however I wrote a couple ML models and have a decent dataset for training. I use it successfully in production - however it only works for events with enough content, not reactions, reposts, meta, etc. Bayes model works with fewer resources than the FastAI model. \n\nhttps://github.com/blakejakopovic/nostr-spam-detection ",
"sig": "d490c2007dd63d074b1c48f4f76b0a39d56c8ca3ab2e70a0d25f3c8fac186b4b686541fab64ace7bfa3fa038d1539c4d26c07ccdcf1a59bb10e8e6286ecf84b1"
}