Text Generation
Transformers
Safetensors
English
qwen3
stablecoin
payments
compliance
x402
eip-3009
eip-712
disputes
refunds
agents
agentkit
trl
web3
usdc
fraud-detection
financial-risk
qwen
mcp
ai-agents
prompt-injection
agentic-payments
payment-security
risk-assessment
ofac
conversational
Eval Results (legacy)
Eval Results
text-generation-inference
Instructions to use sriram1983007/SRA-RiskGate-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sriram1983007/SRA-RiskGate-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sriram1983007/SRA-RiskGate-4B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sriram1983007/SRA-RiskGate-4B") model = AutoModelForCausalLM.from_pretrained("sriram1983007/SRA-RiskGate-4B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sriram1983007/SRA-RiskGate-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sriram1983007/SRA-RiskGate-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sriram1983007/SRA-RiskGate-4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/sriram1983007/SRA-RiskGate-4B
- SGLang
How to use sriram1983007/SRA-RiskGate-4B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "sriram1983007/SRA-RiskGate-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sriram1983007/SRA-RiskGate-4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "sriram1983007/SRA-RiskGate-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sriram1983007/SRA-RiskGate-4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use sriram1983007/SRA-RiskGate-4B with Docker Model Runner:
docker model run hf.co/sriram1983007/SRA-RiskGate-4B
Commit History
Yesterday
-
Audit #20: dollars from the published rows, shared-character columns, strict wording
Verified signature0383953 -
Card: real Ethereum payments (300 of 300) and the look-alike probe
Verified signaturec6b1aec -
Strict look-alike check: 179 of 179 real attacks (sra-riskgate 1.10.0, MCP 0.18.0)
Verified signaturea5b7dc4 -
Card: tested on real address-poisoning attacks (Ethereum, 90 days)
Verified signature8c7a045
2 days ago
-
Card: sra-riskgate command line (1.9.x) and MCP 0.17.2
Verified signature3f9d9ed -
Card: feature the book The Architecture of Modern Digital Finance
Verified signature1bd77e8 -
Add book cover: The Architecture of Modern Digital Finance
Verified signature49dd7bf
3 days ago
-
Card: screening adapters not yet validated live; sra-riskgate 1.8.1 (Audit #18)
Verified signature58309ba -
Card: budgets, anomaly flags, signed receipts, policy file (1.8.0 / MCP 0.17.0)
Verified signature59ea195 -
Card: Glama Grade A badge
Verified signature696c874 -
Card: always-visible, grouped badge wall
Verified signature43fb7ff -
Card: mcprush Grade A listing for the MCP server
Verified signatured0df466
4 days ago
-
Card: sra-riskgate-mcp 0.16.0 screening providers
Verified signature3090095 -
Card: Elliptic screening provider (sra-riskgate 1.7.0)
Verified signature1af9568 -
Add registered deference-gap study protocol (Zenodo)
Verified signatureAdds the study protocol (https://doi.org/10.5281/zenodo.24239918): badge, paper line, Grok bullet update and citation. No other changes.fd97ae7
5 days ago
-
Card: sra-riskgate 1.6.1/1.6.2 screening fixes
Verified signature30e36f6 -
Card: USDG implements EIP-3009 (sra-riskgate 1.6.0)
Verified signature0ca58d3 -
Card: allowance read at the block checked
Verified signature00b7e7c -
Eval results: v2 (2026-11-12)
Verified signature0a2927b -
Card: TRM Labs screening provider (sra-riskgate 1.5.0)
Verified signature0e07be5 -
Card: screening providers subsection (sra-riskgate 1.4.0)
Verified signature6b1e5d4 -
Card: sra-riskgate 1.4.0 screening providers and 1.3.0 model prompts
Verified signature56cee15
6 days ago
-
Card: cleaner header, grouped links, long examples folded
Verified signature9e8dfce -
Card: v2 merged weights and GGUF builds (2026-11-13)
Verified signature2b59836 -
v2: merged weights (SRA-RiskGate-4B-LoRA v2, checkpoint-300)
Verified signature8f4151e
7 days ago
-
Card: v2 adapter is out
Verified signaturedc32b43 -
Card: tested on real Base payments (SRA-Real v1)
Verified signature59c554c -
Add BuildMole verification
Verified signaturedb06138 -
Card: MCP tool check_dispute_verdict (sra-riskgate-mcp 0.15.0)
Verified signature5657621
8 days ago
-
Card: measured results for the Q8_0 and Q4_K_M builds
Verified signature00cc17e -
Card: sra-riskgate 1.1.0 (register_stablecoin); MCP 0.14.0
Verified signature949d535
12 days ago
-
Card: sra-riskgate 1.0.0 (USDT, USDB, USDG); MCP 0.13.0
Verified signature45ca3cb -
Card: Robinhood Chain mainnet check; sra-riskgate 0.20.0; MCP 0.12.0
Verified signaturead59443
15 days ago
-
Card: badges for the Nov 2026 live runs; MCP eleven tools
Verified signature5ab2b02 -
Card: 0.18.0 settlement checks; Nov 2026 live runs
Verified signature668c732
18 days ago
-
Card: 0.17.0 smart-account checks, MCP 0.10.0
Verified signaturebc33fcd
19 days ago
-
Update README.md
Verified signature8588613 -
Add YouTube demo badges and link to Hashnode article
Verified signaturea6681ed -
Card: alphaXiv paper link and badge
Verified signature536aa66 -
Card: demo videos
Verified signaturefc26657 -
Card: Base Sepolia live run, community GGUF builds
Verified signatureb3fcc8d
20 days ago
-
Card: 0.16.0 account-code check, paper links, citation
Verified signaturea404a3a
21 days ago
-
sra-riskgate 0.15.0 is live on PyPI
Verified signature6be439e -
Model card: MCP 0.9.1 and ElizaOS 0.3.0
Verified signatureba2f70f
22 days ago
-
Fixed spacing
Verified signatureaa8feef -
Model card: Circle Wallets (0.14.0) and MCP 0.9.0
Verified signature3d785f5 -
Model card: paper DOI
Verified signature462a495
23 days ago
-
Model card: Circle Gateway (0.13) and sendCalls batches
Verified signature1534a1c
24 days ago
-
Model card: Arc support (0.12.0) and EIP-7702 hold (0.12.1)
Verified signatureea3f273
25 days ago
-
Link SDK Colab notebook
Verified signaturee775491