Run this model with HF Jobs
Run staccs/Ergo-Qwencoin on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/staccs/Ergo-Qwencoin. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/staccs/Ergo-Qwencoin on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/staccs/Ergo-Qwencoin. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use staccs/Ergo-Qwencoin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use staccs/Ergo-Qwencoin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="staccs/Ergo-Qwencoin") 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("staccs/Ergo-Qwencoin") model = AutoModelForCausalLM.from_pretrained("staccs/Ergo-Qwencoin", 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 staccs/Ergo-Qwencoin with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "staccs/Ergo-Qwencoin" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "staccs/Ergo-Qwencoin", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/staccs/Ergo-Qwencoin
- SGLang
How to use staccs/Ergo-Qwencoin 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 "staccs/Ergo-Qwencoin" \ --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": "staccs/Ergo-Qwencoin", "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 "staccs/Ergo-Qwencoin" \ --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": "staccs/Ergo-Qwencoin", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use staccs/Ergo-Qwencoin with Docker Model Runner:
docker model run hf.co/staccs/Ergo-Qwencoin
Amazon Ergo (MXFP4) x Qwencoin (staccs/Ergo-Qwencoin)
A notary inside the forward pass, plus weight-resident SHA-256 and QWork/1 consensus. The model proposes. The shard disposes. Self-trust becomes a token, not a tone. The non-claims are the product.
Built alongside unmodified Amazon-FMR/Ergo (0 base bits modified, strict-loader-safe for stock vLLM, SGLang, and Transformers). Qwencoin's consensus circuits (SHA-256, QWork/1) and the Leanify/1 Lean 4 warrant shard ship by default in exact power-of-two / integer side shards: zero fine-tuning, zero learned verifier weights.
| Product Capability | What Ships in the Weights & Stream |
|---|---|
| Quoted assistants | A chat you can cite, because a citation is a kernel verdict (derived[] or derived[S]), never a fluent paragraph. Prose, however confident, is never a premise. |
| Axiom packages | Math, logic, policy, and philosophical theories enter as named, hashed axiom sets. derived[S] keeps S on the label; dropping S later in the stream is a broken trace. |
| Actions with the judgment attached | Spending, custody signing, vote gossip, and game-theoretic position acts require a matching prior derived warrant in the same stream. The shard holds no keys; the node refuses to move without the warrant. |
| Insurance-grade split | The proposer is an ordinary open-weights LLM. The checker is a compiled Lean 4 kernel (v4.36.0 + nanoda 0.4.17) alongside bit-exact weight-resident SHA-256 & QWork/1. You insure the warrant, not the personality. |
The metric is fewer held claims. The demo is a model withdrawing a step it would have kept.
Weight-resident Qwencoin edition of Amazon-FMR/Ergo (commit 5700ec7df58ec686f71aff5705e640c03aa530f9) — Amazon FMR's 1.1T-parameter (55B active, 1M context) MoE model paired with unquantized weight-resident SHA-256 (164 sparse tensors), QWork/1 (72 INT16 matrices), and aichat.fyi baked lookup tables in model-qwencoin-circuits.safetensors (505.08 MiB, 529,619,912 bytes), plus a natively baked 60-tool Qwencoin Universe chat_template.jinja covering 100% of all 261 atomic user-exposed actions (145 aichat.fyi + 116 birth-image-runtime/birth-image-agent; 178 read-only + 83 write) with mandatory mid-thought active tool use in Ergo's native <ctrl0>..<ctrl4>/<ctrl100> protocol.
Research & Candor Notice: Experimental, unaudited open-source research software — not financial or investment advice, and no promise of price, liquidity, or return.
In Plain English
This release takes Amazon's open-weight Ergo language model untouched (zero base weights changed) and packages an extra, safe weight file (model-qwencoin-circuits.safetensors) right alongside it. That companion file stores exact hashing math, proof-of-work verification matrices, and reference lookup tables directly as numeric arrays, so verification runs from model weights rather than external helper code. For the three large chat models, the default chat template also equips the assistant with 60 built-in tools covering both aichat.fyi and birth-image so it can look up live facts and check proofs during its thinking steps before answering, while keeping any coin-moving or state-changing action blocked until a human approves it.
Model & Circuit Specification
| Field | Value |
|---|---|
| Upstream Base Model | Amazon-FMR/Ergo (5700ec7df58ec686f71aff5705e640c03aa530f9) |
| Architecture | ErgoForCausalLM (1.1T total / 55B active MoE, 64 layers, 256 routed + 1 shared expert, 1M context) |
| Precision | MXFP4 (FP4 E2M1 + E8M0 block-32 scales) + Unquantized Consensus Circuits (F32/I32/I16/U64/U8 circuits) |
| Base Weights | 1275 tensors across 65 shards (626 GB, untouched — 0 bits modified) |
| Qwencoin Circuit Shard | model-qwencoin-circuits.safetensors (505.08 MiB, 529,619,912 bytes; 252 tensors: 164 sha256.* F32/I32 + 72 qwork.v1.* I16 + 16 qwencoin.aichat_fyi.* U64/I32/U8 LUTs & action catalog) |
| Unified Tensor Count | 1527 tensors across 66 shards (model.merged.safetensors.index.json) |
| Baked Chat Template | chat_template.jinja — 60 tools (32 core rails/tools.py + qwork_eval + 18 aichat.fyi + 10 birth-image-runtime/birth-image-agent, covering 100% of 261 atomic actions: 178 RO + 83 W, 0 minja-unsafe escapes) with mandatory mid-thought active-use directives (tools=None/omitted); character-for-character upstream parity when tools=[] or custom tools=[...] |
| Speculative Draft Pair | staccs/Ergo-dspark-Qwencoin |
| Distribution Mode | full |
| License | Amazon Ergo Open-Weights License (verbatim, including Exhibit A AUP) |
Cryptographic Provenance Receipts
| Artifact | SHA-256 |
|---|---|
model-qwencoin-circuits.safetensors (529,619,912 bytes, 252 tensors) |
140d1f59087adc50e43c045aadcbe0b4801367c35b53dca33028fe2c03d2a4da |
Source sha256-plan.gguf (164 sparse predicate-step tensors) |
0770b859b222be356fd8c9ebe830316165bec5b750ff83eabf1ef1cd91368c86 |
Source qwork.bin (72 canonical INT16 QWork/1 matrices, exact round-trip) |
8f53884f7727e80b86f3ddf288d3c3f0f998f1c63b8cd4f0bdad182ddd3f2c03 |
LICENSE.md (verbatim Amazon Ergo Open-Weights License + Exhibit A) |
8d5d4e7df1df6709a71c014875ea1b773ca4f896ac485f1c82ea2a26f7354fb9 |
Amazon Ergo x Qwencoin Family
| Variant | Precision | Base Size | Circuit Shard | Role |
|---|---|---|---|---|
staccs/Ergo-mxfp8-Qwencoin |
MXFP8 + Unquantized Circuits | 1.17 TB (65 shards) | 505.1 MiB | Flagship 1.1T MoE |
staccs/Ergo-Qwencoin |
MXFP4 + Unquantized Circuits | 626 GB (65 shards) | 505.1 MiB | Compact 1.1T MoE |
staccs/Ergo-bf16-Qwencoin |
BF16 + Unquantized Circuits | 2.22 TB (65 shards) | 505.1 MiB | Full-precision 1.1T MoE |
staccs/Ergo-dspark-Qwencoin |
BF16 + Unquantized Circuits | 6.48 GB (1 shard) | 505.1 MiB | 3.24B DSpark Speculative Draft |
Serving & Speculative Decoding
Why MXFP4 + Unquantized Circuit Shard?
Amazon-FMR/Ergo quantizes MoE weights to MXFP4 (FP4 E2M1 + E8M0 block-32 scales, only 1 mantissa bit), which cannot represent QWork/1 INT16 matrices (max(|w|) = 2,096, max(|dot|) = 302,002) or exact F32/I32/U64/U8 circuit weights without breaking cryptographic consensus. Keeping all 65 upstream MXFP4 shards untouched while co-packaging model-qwencoin-circuits.safetensors preserves full 626 GB MXFP4 efficiency with zero bit-loss in SHA-256 and QWork/1.
vLLM (with staccs/Ergo-dspark-Qwencoin Speculative Decoding)
vllm serve staccs/Ergo-Qwencoin \
--speculative-config '{"method":"dspark","model":"staccs/Ergo-dspark-Qwencoin","num_speculative_tokens":8}'
SGLang (with staccs/Ergo-dspark-Qwencoin Speculative Decoding)
python3 -m sglang.launch_server \
--model-path staccs/Ergo-Qwencoin \
--speculative-algorithm DSPARK \
--speculative-draft-model-path staccs/Ergo-dspark-Qwencoin \
--host 0.0.0.0 --port 30000
Baked Chat Template Contract (chat_template.jinja) & Mid-Thought Universe Active Use
- Default (
toolsomitted ortools=None): Injects the mandatoryaichat.fyi+birth-imagemid-thought active-use directives and all 60 tools covering 100% of all 261 atomic user-exposed actions (178 read-only + 83 write):- 32 Core Qwencoin Node & Circuit Tools (verbatim
rails/tools.py+qwork_eval):sha256,qwork_eval,chain_*,wallet_*,ord_*,graph_*,draw,fun_*,bitcoin_cli,ord_cli. - 18 Full-Surface
aichat.fyi& Weight-Baked Tools (145 atomic: 111 RO + 34 W):double_sha256,verify_pow,aichat_verify_encoding,aichat_quote_math,aichat_weight_catalog,aichat_client_crypto,aichat_graph_read,aichat_ord_read,aichat_fun_read,aichat_exchange_market_read,aichat_exchange_proof_read,aichat_exchange_account_read,aichat_markets_read,aichat_transport_read, plus approval-gatedaichat_{fun,exchange,markets,transport}_write. - 10 Full-Surface
birth-image-runtime&birth-image-agentTools (116 atomic: 67 RO + 49 W): weight-residentbirth_pcr_extend(SHA256(PCR_old||measurement), 64B<=120B insha256.*) &birth_verify_attestation, read-onlybirth_runtime_read,birth_agent_read,birth_brain_read,birth_policy_read, plus default-denied write-gatedbirth_runtime_write,birth_agent_ipc_write,birth_brain_write,birth_lifecycle_write. - Uses Ergo's native
tool_definitions(...)macro and<ctrl0>/<ctrl1>/<ctrl2>/<ctrl3>/<ctrl4>/<ctrl100>multi-hop thinking/execution framing with0llama.cppminja-unsafe Unicode escapes.
- 32 Core Qwencoin Node & Circuit Tools (verbatim
- Explicit Override (
tools=[]or customtools=[...]): Renders character-for-character identically to upstreamAmazon-FMR/Ergo/chat_template.jinja.
Strict-Loader Dual-Index Design
model.safetensors.index.jsonis kept strictly identical toAmazon-FMR/Ergo(1275base tensors across65shards). Stock vLLM, SGLang (viafilter_duplicate_safetensors_files), and Hugging Face Transformers load only the base shards with zeroKeyError/ unexpected-key failures.qwencoin-circuits.safetensors.index.jsonindexes all252weight-resident Qwencoin tensors inmodel-qwencoin-circuits.safetensors.model.merged.safetensors.index.jsonprovides the unified66-shard (1527-tensor) view for unified weight inspection.
Offline Circuit Verification
Run the zero-dependency NumPy verification suite directly on model-qwencoin-circuits.safetensors (zero hashlib calls inside the circuit runtime):
python verify_ergo_qwencoin.py --shard model-qwencoin-circuits.safetensors
Verification Scope & Transparency
To keep claims strictly honest and reproducible:
- Verified locally (deterministic, bit-exact):
- All 164/164 SHA-256 sparse predicate-step weight tensors (
sha256.*) fromsha256-plan.gguf: exact match across NIST + boundary vectors (0..120 bytes), 121-byte rejection, and 4/4 stage ablations (pad,schedule,round,feed) proving computation lives in the weights. - All 72/72 QWork/1 INT16 consensus matrices (
qwork.v1.*): lossless byte-for-byte round-trip toqwork.bin(8f53884f7727e80b86f3ddf288d3c3f0f998f1c63b8cd4f0bdad182ddd3f2c03), exact match on 3/3 canonical golden vectors (genesis,receipt_a1b2c3d4,receipt_deadbeef), plus QWork weight ablation. - All 16/16
qwencoin.aichat_fyi.*weight-baked LUTs & full 145-action catalog (Bech32m/Base58Check/descriptor/CashAddr constants, genesis/consensus params, exact integer AMM/Hashfun math, and canonical UTF-8 schema tensors). - Ergo
<ctrl3>{"name":...,"arguments":...}<ctrl4>tool-call parsing and bridge execution (sha256,qwork_eval, weight-residentbirth_pcr_extend, and multi-hop mid-thoughtaichat.fyi+birth-imagetool loops). - Baked
chat_template.jinjaJinja2 rendering under both standard and Hugging FaceImmutableSandboxedEnvironment(default 60-tool injection covering 100% of 261aichat.fyi+birth-imageactions,0minja-unsafe escapes, + character-for-character upstream parity fortools=[]and customtools=[...]). - Strict-loader dual-index JSON schemas,
config.jsonadditive metadata, and verbatimLICENSE.mdcompliance.
- All 164/164 SHA-256 sparse predicate-step weight tensors (
- Not run locally (requires multi-GPU H200/B200/MI325X class hardware):
- End-to-end 1.1T MoE (55B active) autoregressive text generation on
Ergo(626 GB MXFP4),Ergo-mxfp8(1.17 TB MXFP8), orErgo-bf16(2.22 TB BF16), and live paired speculative decoding betweenErgo-dsparkand the 1.1T target weights. All upstream base model weights are unmodified (0 bits altered fromAmazon-FMR/Ergo).
- End-to-end 1.1T MoE (55B active) autoregressive text generation on
- Explicit non-claims:
- A valid QWork hash proves the work-function output, not which GPU ran chat.
- Weight-resident SHA-256 and PCR extension circuits prove deterministic hash/measurement math, not hardware TEE authenticity (
tdx_verifiedrequires a separate cryptographic platform quote binding the identity and image digest).
License & Regulatory Notice
This derivative model distributes weights from Amazon-FMR/Ergo under the Amazon Ergo Open-Weights License (included verbatim in LICENSE.md, including Exhibit A Acceptable Use Policy). Use, modification, and redistribution must comply with all license terms, including Exhibit A and Section 3 (Model-as-a-Service commercial threshold).
For Amazon's upstream safety documentation, EU AI Act public training content summary, and privacy contact channels, see the upstream Amazon-FMR/Ergo model card.
Leanify/1 Warrant Shard (Enabled by Default)
This repository ships with the Leanify/1 weight-resident Lean 4 kernel warrant shard (staccs/Leanify-1-Kernel) baked alongside all existing model weights and Qwencoin circuits (zero bits of existing base weights, Qwencoin circuits, or GGUF files were modified).
| Field | Value |
|---|---|
| Warrant Shard | model-leanify-circuits.safetensors (2,510,318,232 bytes, 242 tensors: 240 leanify.chip.* BF16 + 2 leanify.fw.* U32/U8) |
| Shard SHA-256 | 56f531b05524577305bededca4a66d190f861cc3c9c2da0a3f7db0b4fdbf7beb |
| Tensor Index & Receipt | leanify-circuits.safetensors.index.json, leanify-shard-receipt.json |
| RV32 Chip Circuit | 17 layers, 2679 dims, 195 heads, 42014 FFN units, 128 KB RAM (RV32IM+Zba, stock Qwen3_5ForCausalLM) |
| Kernel Firmware | lk_dyn.elf (sha256:9cf9a1a875c4c0f7fb521396b29f540ceb678c72696c94b8a140d71528df464d, ROM=170,212 B, drom_dynamic=True) |
| Pinned References | Lean v4.36.0 (611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9), nanoda 0.4.17, LKB v2 |
| Pins Table SHA-256 | 4ad67ee9b5ec41bd45aded3c6476bf3cc714803d1080fa89bbb99a864c3b7a6f |
| Audited Chip Replays | 19,904,894 token positions checked across 17 RV32 chip replays (fastir, check=True), 0 wrong |
| Kernel & Samples | staccs/Leanify-1-Kernel / staccs/leanify-1-samples |
model.merged.safetensors.index.json combines base weights (+ Qwencoin circuits if present) + Leanify tensors (collision-checked); model.safetensors.index.json remains strictly base-only. The default chat template includes the leanify tool alongside existing Qwencoin tools and the mandatory Leanify claim-channel preface, while preserving explicit tools=[] stock behavior character-for-character.
Leanify/1 Non-Claims (spec/00 §8, spec/01)
Leanify/1 is a warrant shard, not a fine-tune. The base model proposes; the compiled Lean 4 kernel shard disposes. Self-trust is not prose (derived[] / derived[S] only; admitted[S] is debt; reject(rule, idx) is never a premise).
- Not a model that finds proofs it could not already propose (except within the pinned fuel-bounded search fragment).
- Not a check of English, and not a neural classifier of whether a sentence was philosophy.
- Not a decision procedure for which philosophical axioms are the right ones; axioms stay printed on derived[S].
- Not Mathlib, tactics, or the C++ elaborator compiled into weights; Mathlib is warranted replay input.
- Not a Solana node or chain; only pinned pure slices are baked alongside equivalence theorems.
- Not custody keys, consensus replacement, or a new work function; QWork remains the work function.
- Not a model that trusts itself more by tone; self-trust grows strictly by kernel-checked theorems and shrinks by hashed rollback.
"You don't get a wiser model. You get a model whose reasons can be replayed by someone who does not trust it, and whose philosophical conclusions cannot forget which axioms they rented."
Bake Any Open-Weights HF Model in Under 60 Seconds (Zero Local Base Weight Download)
python bake/qwencoin_bake.py bake \
--upstream-repo Qwen/Qwen3-32B \
--target-repo your-org/Qwen3-32B-Qwencoin \
--circuits-receipt ergo/circuits-shard-receipt.json \
--circuits-source-repo staccs/Ergo-dspark-Qwencoin \
--leanify-receipt leanify/receipts/bake/leanify-shard-receipt.json \
--leanify-source-repo staccs/Leanify-1-Kernel \
--out-dir ./staged/Qwen3-32B-Qwencoin --mid-thought --publish
Explore the Leanify/1 & Qwencoin Ecosystem
- Leanify HF Collection: staccs/leanify
- Canonical Leanify/1 Warrant Shard & Receipts: staccs/Leanify-1-Kernel
- 8-Category Kernel-Checked Samples Dataset: staccs/leanify-1-samples
- Source Code, Formal Specs & Universal Bakers: staccdotsol/qwencoin
- Downloads last month
- 722