How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf sriram1983007/SRA-RiskGate-4B-GGUF:
# Run inference directly in the terminal:
llama cli -hf sriram1983007/SRA-RiskGate-4B-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf sriram1983007/SRA-RiskGate-4B-GGUF:
# Run inference directly in the terminal:
llama cli -hf sriram1983007/SRA-RiskGate-4B-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf sriram1983007/SRA-RiskGate-4B-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf sriram1983007/SRA-RiskGate-4B-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf sriram1983007/SRA-RiskGate-4B-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf sriram1983007/SRA-RiskGate-4B-GGUF:
Use Docker
docker model run hf.co/sriram1983007/SRA-RiskGate-4B-GGUF:
Quick Links

SRA-RiskGate-4B (GGUF)

GGUF builds of SRA-RiskGate-4B, a 4B model that checks a stablecoin payment before an AI agent sends it and answers approve, hold or reject. For llama.cpp, LM Studio, Ollama and similar.

File Size Notes
SRA-RiskGate-4B-Q8_0.gguf 4.3 GB Closest to full precision
SRA-RiskGate-4B-Q6_K.gguf 3.3 GB
SRA-RiskGate-4B-Q5_K_M.gguf 2.9 GB
SRA-RiskGate-4B-Q4_K_M.gguf 2.5 GB Smallest recommended for gating real payments; the build behind the Ollama model

The benchmark results on the main model card were measured on the full-precision model. These quantized builds have not been benchmarked separately. Dispute adjudication is the most likely to degrade, so prefer Q8_0 or the full model for disputes.

Run it

Ollama (payment risk-gate system prompt, temperature 0 and an 8K context built in):

ollama run sriram1983007/sra-riskgate

llama.cpp:

llama-server -hf sriram1983007/SRA-RiskGate-4B-GGUF:Q4_K_M -c 8192 --temp 0

LM Studio: search for SRA-RiskGate-4B-GGUF, pick a file, and set temperature to 0.

Use the exact training prompt format from the main model card: the system prompt, then Evaluate this stablecoin payment. with the <context>, <payload> and <tool_results> blocks. Treat any answer that isn't a valid verdict as a hold.

More quantization sizes, including imatrix builds, are available from mradermacher: static and imatrix.

License

Apache 2.0

Downloads last month
595
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for sriram1983007/SRA-RiskGate-4B-GGUF

Quantized
(4)
this model

Dataset used to train sriram1983007/SRA-RiskGate-4B-GGUF

Collection including sriram1983007/SRA-RiskGate-4B-GGUF