3

I built this, so disclosure first: this is my stablecoin riskgate model, and I want the benchmark torn apart, not praised.

The narrow job: before a locally-run agent signs a stablecoin payment, decide approve / hold / reject. The payment itself is irreversible once signed, so the decision has to happen before signing, and the checks run offline — no API call at decision time.

Base Qwen3-4B got 59.8% of risk-gate decisions right on my 1,175-case test split, and approved 34.6% of unsafe payments. After fine-tuning on synthetic labels from a deterministic rule engine, the same 4B model got 99.5% right and approved only 0.47% of unsafe payments (4 of 847, all prompt injections).

The part I am less sure about, and the reason I am posting here rather than just announcing numbers: the dispute side is weaker, at 77.8%, and it over-denies valid refunds. And the honest question behind the fine-tune numbers: did the model learn the task, or did it learn the generator's habits? The labels are synthetic, the generator is not public, and the benchmark checks 0 exact-row / 0 ID leakage against training, but that does not settle the generator-habits question.

One deterministic check I trust more than the model alone: a new payee that shares 7 or more characters with a known payee, at least 3 at each end, is rejected outright as a lookalike. A random address matches that pattern about once in 140 million tries. A merely new payee is just held for a human to confirm. That check was verified clean in an audit of core 0.15.0 (471 tests pass, 3 skip).

A newer delegated-account check shipped in SDK 0.16.0 (eth_getCode, hold when code is a 0xef0100 delegation to a delegate outside an allowlist) — that one is NOT yet audited, so I am not claiming it as verified.

Runs locally: ollama pull sriram1983007/sra-riskgate ollama run sriram1983007/sra-riskgate

Links: model https://huggingface.co/sriram1983007/SRA-RiskGate-4B — benchmark https://huggingface.co/datasets/sriram1983007/sra-stablecoin-risk-bench — code https://github.com/sriram1983007-dev/sra-riskgate — Apache 2.0, 8,908 last-month downloads on the main model.

What would you test first to separate "learned the task" from "learned the generator" — a held-out human-labelled set, adversarial payees, or something else?

top 1 comments
sorted by: hot top new old
[-] dontbelievethis@sh.itjust.works 1 points 3 days ago

Sorry I can't answer any of your questions but did you train it yourself. And if yes, how?

this post was submitted on 01 Nov 2026
3 points (61.5% liked)

LocalLLaMA

5571 readers
98 users here now

Welcome to LocalLLaMA! Here we discuss running and developing machine learning models at home. Lets explore cutting edge open source neural network technology together.

Get support from the community! Ask questions, share prompts, discuss benchmarks, get hyped at the latest and greatest model releases! Enjoy talking about our awesome hobby.

As ambassadors of the self-hosting machine learning community, we strive to support each other and share our enthusiasm in a positive constructive way.

Rules:

Rule 1 - No harassment or personal character attacks of community members. I.E no namecalling, no generalizing entire groups of people that make up our community, no baseless personal insults.

Rule 2 - No comparing artificial intelligence/machine learning models to cryptocurrency. I.E no comparing the usefulness of models to that of NFTs, no comparing the resource usage required to train a model is anything close to maintaining a blockchain/ mining for crypto, no implying its just a fad/bubble that will leave people with nothing of value when it burst.

Rule 3 - No comparing artificial intelligence/machine learning to simple text prediction algorithms. I.E statements such as "llms are basically just simple text predictions like what your phone keyboard autocorrect uses, and they're still using the same algorithms since <over 10 years ago>.

Rule 4 - No implying that models are devoid of purpose or potential for enriching peoples lives.

founded 3 years ago
MODERATORS