Snapkitty/worm-chain-archive
Updated • 21
How to use Snapkitty/sovereign-mimo-4b with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Snapkitty/sovereign-mimo-4b") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Snapkitty/sovereign-mimo-4b", device_map="auto")How to use Snapkitty/sovereign-mimo-4b with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Snapkitty/sovereign-mimo-4b"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Snapkitty/sovereign-mimo-4b",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/Snapkitty/sovereign-mimo-4b
How to use Snapkitty/sovereign-mimo-4b with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Snapkitty/sovereign-mimo-4b" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Snapkitty/sovereign-mimo-4b",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "Snapkitty/sovereign-mimo-4b" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Snapkitty/sovereign-mimo-4b",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use Snapkitty/sovereign-mimo-4b with Docker Model Runner:
docker model run hf.co/Snapkitty/sovereign-mimo-4b
4B parameter code reward model pruned from MiMo-7B-RL. Every score passes through ERE P1-P5 verification gates. Every decision is WORM-sealed.
Runs local on RTX 3080 (3.3 GB VRAM). No cloud. No vendor.
| Base Model | MiMo-7B-RL |
| Parameters | ~4B (pruned from 7B) |
| Architecture | 24L, 2048H, 16Q/4KV GQA, SwiGLU, RoPE |
| Quantization | GGUF Q4_K_M (~2.5 GB) |
| Max Context | 8192 tokens |
| License | AGPL-3.0 | BSL 1.1 | MIT |
| Parameter | Value |
|---|---|
| Layers | 24 |
| Hidden | 2048 |
| Heads | 16Q / 4KV (GQA) |
| FFN | 5504 (SwiGLU) |
| Norm | RMSNorm |
| Position | RoPE (theta=10000) |
| Vocab | 32000 |
| Max Seq | 8192 |
| Reward Head | linear(2048, 1) -> sigmoid |
| Component | Source | What it does |
|---|---|---|
| FSM | DEVFLOW-FINANCE | 7-stage pipeline with HMAC-SHA256 seals |
| ERE Gates | bert-agent | P1-P5 verification, halt on failure |
| WORM Chain | DEVFLOW-FINANCE | Append-only SHA-256 audit chain |
| CUDA Kernels | hilbert | Ampere-ready (RMSNorm, FlashAttn, SwiGLU, RoPE) |
| Routing | sovereign-qra | Deterministic dispatch, zero entropy |
| Training Data | sovereign-training-corpus | 882 WORM-sealed pairs |
| BBQBADDIE Spec | |
|---|---|
| GPU | NVIDIA RTX 3080 (10 GB) |
| VRAM | ~3.3 GB (model + KV cache) |
| CPU | AMD Ryzen 7 7700X |
| RAM | 32 GB |
Need exactly one file argument
Tri-license -- choose any one:
Copyright (C) 2026 Jessica L. Williams / SNAPKITTYWEST Bel Esprit D'Accord Irrevocable Trust