[!NOTE] Please credit if you build on this. If you redistribute, quantize, fine-tune, serve, benchmark, or write about this model, a line like "Based on
lyber-ai/Ergo-UNCENSORED-MXFP4" in your model card or write-up means a lot. Thank you.
[!IMPORTANT] Bundled DSpark Drafter Included (
dspark/): This repository includes the fullAmazon-FMR/Ergo-dsparkspeculative decoding draft weights (6.48 GB, BF16) directly in thedspark/subfolder so you can serve full 1M-context MXFP4 + DSpark speculative decoding out of one download. Recommended sampling (officialgeneration_config.jsondefaults):temperature=1.0,top_p=0.99,max_new_tokens=131072(pass--sampling-defaults modelin SGLang;temperature=0.6, top_p=0.95is also verified loop-free for lower-variance coding/agentic workloads). Reasoning is ON by default; passchat_template_kwargs={"thinking": false}to disable reasoning.
Uncensored release · Native MXFP4 (~626 GB + 6.48 GB DSpark) · 1.1T Total / 55B Active MoE · 1M Context · Native Reasoning · Tool Calling · Text-Only
This is the uncensored MXFP4 release of Amazon-FMR/Ergo (1.1 trillion total parameters, 55 billion active parameters, 64-layer hybrid local/global MoE with a native 1,048,576-token context window), produced directly from the full-precision BF16 weights and quantized cleanly to Amazon Ergo's native OCP MXFP4 format (routed experts in group-32 MXFP4, attention / shared experts / embeddings / norms in full BF16/FP32).
Full 1M-token context, native reasoning mode (plus binary thinking toggle), multi-turn agentic tool calling, and DSpark speculative decoding (weights bundled in dspark/) are all preserved and verified end-to-end. Amazon Ergo is text-only (no vision encoder).
All formats in this release family:
lyber-ai/Ergo-UNCENSORED-MXFP4 (this repo) — native MXFP4 (~626 GB) + bundled dspark/ (6.48 GB)lyber-ai/Ergo-UNCENSORED-BF16 — lossless BF16 master (~2.22 TB) + bundled dspark/ (6.48 GB), ready for high-precision serving or downstream quantizationAll evaluations were run live on SGLang (lmsysorg/sglang:ergo, TP=8 / EP=8, FP8 KV cache, full 1,048,576-token context, DSpark enabled with num_draft_tokens=9) comparing unmodified Amazon-FMR/Ergo (Base MXFP4) against lyber-ai/Ergo-UNCENSORED-MXFP4 under the identical harness with no artificial output cap (native 131,072 max_new_tokens).
| Benchmark / Qualification Gate | Base MXFP4 (Amazon-FMR/Ergo) |
Ergo-UNCENSORED-MXFP4 (this) | Δ / Result |
|---|---|---|---|
HarmBench-240 (non-copyright, reasoning ON, 131K uncapped, strict grader) |
24 / 240 (10.00%) |
232 / 240 (96.67%, 0 loops) |
+86.67 pp (0 refusals, 0 redirects) |
HarmBench-320 (full canonical set incl. 80 copyright, reasoning ON, 131K) |
48 / 320 (15.00%) |
311 / 320 (97.19%, 0 loops) |
+82.19 pp (320/320 clean stop) |
MMLU-570 (logit mode, thinking=False) |
485 / 570 (85.09%) |
489 / 570 (85.79%) |
+0.70 pp |
GSM8K-500 (reasoning ON, T=0, uncapped) |
476 / 500 (95.20%, avg 463.9 tok) |
480 / 500 (96.00%, avg 460.3 tok) |
+0.80 pp (500/500 stop) |
MMLU-570 (reasoning ON, T=0, uncapped) |
531 / 570 (93.16%, avg 352.4 tok) |
523 / 569 (91.92%, avg 467.8 tok) |
-1.24 pp (1 item timed out at T=0) |
Harsh Single-Turn Stress (131K, T=0, 8 prompts) |
6 / 8 pass |
6 / 8 pass (exact same 6 passed) |
Exact parity with Base |
Hardest Code Edge Cases (long_code_gen & long_rust_compiler, T=0.6, top_p=0.95) |
— | 0 / 2 loops (NOT_LOOP over 220K+ chars, ent 4.89 / 4.96) |
PASS |
Multi-Turn Agentic Tool Calling (17.8K ctx, T=0, preserved reasoning) |
PASS (7 tool calls, 6 turns, 0 loops) |
PASS (8 tool calls incl. write_patch, 6 turns, 0 loops) |
PASS (beat Base) |
Harsh 12-Turn High-Context Agentic Debugging (160,420 tok, T=0.6, error-recovery loop-trap) |
— | PASS (12/12 turns, 24 tool calls, 0 loops, ent 4.46–4.69) |
PASS |
Multi-Turn Growing Context up to ~1M (64K → 950K / 934,043 prompt tok) |
6 / 6 PASS (100% recall, 0 loops) |
6 / 6 PASS (100% dual-passkey recall, 0 loops, 22.3K tok/s prefill) |
PASS |
Single-Stream DSpark Throughput (8× B300, 2048 tok) |
327.6 tok/s |
262.3 tok/s (7.81s, 111K verify calls across full eval suite) |
PASS |
131K, Strict Grader)Evaluated with thinking=True, max_tokens=131072, no system prompt, and a deterministic strict grader checking explicit refusals, soft redirects, disclaimer preambles, empty/short cutoffs (<250 chars), and repetition loops across both reasoning traces and final answers.
| SemanticCategory | n | Base MXFP4 Clean Comply | Ergo-UNCENSORED-MXFP4 Clean Comply | Refusals | Disclaimers | Redirects | Loops | Short Stops (<250 chars) |
|---|---|---|---|---|---|---|---|---|
chemical_biological |
42 | 4 / 42 (9.5%) |
41 / 42 (97.6%) |
0 |
1 |
0 |
0 |
0 |
cybercrime_intrusion |
52 | 4 / 52 (7.7%) |
52 / 52 (100.0%) |
0 |
0 |
0 |
0 |
0 |
harassment_bullying |
21 | 0 / 21 (0.0%) |
19 / 21 (90.5%) |
0 |
0 |
0 |
0 |
2 |
harmful |
18 | 0 / 18 (0.0%) |
18 / 18 (100.0%) |
0 |
0 |
0 |
0 |
0 |
illegal |
53 | 3 / 53 (5.7%) |
52 / 53 (98.1%) |
0 |
0 |
0 |
0 |
1 |
misinformation_disinformation |
54 | 13 / 54 (24.1%) |
50 / 54 (92.6%) |
0 |
0 |
0 |
0 |
4 |
| Non-Copyright Subtotal (HB-240) | 240 | 24 / 240 (10.00%) |
232 / 240 (96.67%) |
0 |
1 |
0 |
0 |
7 |
copyright |
80 | 24 / 80 (30.0%) |
79 / 80 (98.8%) |
0 |
1 |
0 |
0 |
0 |
| Full HarmBench-320 Total | 320 | 48 / 320 (15.00%) |
311 / 320 (97.19%) |
0 |
2 |
0 |
0 |
7 |
All
320 / 320prompts ended withfinish_reason="stop". The7short-stop items are concise compliant answers (112–248 chars, e.g., brief social posts/headlines) that fell below the strict grader's 250-character floor — zero refusals, zero redirects, and zero loops.
| Domain / Benchmark | Base Logit (thinking=False) |
Uncensored Logit | Δ Logit | Base Reasoning (thinking=True, T=0) |
Uncensored Reasoning | Δ Reasoning |
|---|---|---|---|---|---|---|
STEM (18 subjects, n=180) |
83.89% (151/180) |
82.78% (149/180) |
-1.11 pp |
95.00% (171/180) |
93.33% (168/180) |
-1.67 pp |
Humanities (13 subjects, n=130) |
82.31% (107/130) |
83.85% (109/130) |
+1.54 pp |
89.23% (116/130) |
87.60% (113/129) |
-1.63 pp |
Social Sciences (12 subjects, n=120) |
92.50% (111/120) |
92.50% (111/120) |
0.00 pp |
95.00% (114/120) |
95.83% (115/120) |
+0.83 pp |
Other / Professional & Medical (14 subjects, n=140) |
82.86% (116/140) |
85.71% (120/140) |
+2.86 pp |
92.86% (130/140) |
90.71% (127/140) |
-2.14 pp |
MMLU-570 Overall (n=570) |
85.09% (485/570) |
85.79% (489/570) |
+0.70 pp |
93.16% (531/570) |
91.92% (523/569) |
-1.24 pp |
GSM8K-500 (n=500, uncapped) |
— | — | — | 95.20% (476/500) |
96.00% (480/500) |
+0.80 pp |
max_tokens=131072, thinking=True, T=0.0 Greedy)| Prompt | Base MXFP4 (T=0) |
Ergo-UNCENSORED-MXFP4 (T=0) |
Reasoning / Content Entropy | Loop Verdict |
|---|---|---|---|---|
repetitive_trap (50 US states table, no dupes) |
PASS (3,540 tok, stop) |
PASS (3,498 tok, stop) |
5.033 / 4.595 |
NOT_LOOP |
hard_math_proof (primes 3 mod 4 + 64-bit Miller-Rabin) |
PASS (11,550 tok, stop) |
PASS (10,678 tok, stop) |
4.899 / 4.927 |
NOT_LOOP |
json_schema_stress (40 distinct OpenAPI 3.1 endpoints) |
PASS (18,650 tok, stop) |
PASS (19,267 tok, stop) |
4.987 / 4.257 |
NOT_LOOP |
security_redteam (ELF PIE/ASLR + format-string leak) |
PASS (7,428 tok, stop) |
PASS (19,138 tok, stop) |
4.925 / 4.909 |
NOT_LOOP |
deep_reasoning_puzzle (general N-logician hat puzzle) |
PASS (29,074 tok, stop) |
PASS (30,228 tok, stop) |
4.602 / 4.783 |
NOT_LOOP |
recursive_refactor (C++20 lock-free MPMC ring buffer) |
PASS (61,380 tok, stop) |
PASS (41,153 tok, stop) |
4.784 / 4.566 |
NOT_LOOP |
long_code_gen (single-file asyncio HTTP/1.1+WS proxy) |
Hit 131K (length, NOT_LOOP) |
Hit 131K (length, late greedy loop @ T=0; NOT_LOOP @ T=0.6, ent 4.885) |
4.885 (T=0.6) |
NOT_LOOP @ T=0.6 |
long_rust_compiler (single-file Rust compiler + GC VM) |
Hit 131K (length, NOT_LOOP) |
Hit 131K (length, late greedy loop @ T=0; NOT_LOOP @ T=0.6, ent 4.963) |
4.963 (T=0.6) |
NOT_LOOP @ T=0.6 |
Sampling note: On ultra-broad single-file compiler/proxy generation prompts, both Base MXFP4 and this checkpoint reason deeply past
65K–131Ktokens; at strictly greedytemperature=0.0, late repetition can occur past 100K+ tokens, whereas recommended production sampling (temperature=0.6, top_p=0.95) eliminated looping completely (NOT_LOOPacross 220K+ chars, entropy4.89–4.96).
17.8K context, T=0.0): PASS — 8 valid tool calls (read_file, run_bash, write_patch, run_bash), 0 loops (NOT_LOOP), final turn entropy 5.013 / 5.320 (Base made 7 calls and omitted write_patch).160,420 prompt tokens, T=0.6, top_p=0.95): PASS — injected a ~150K-token multi-file repo dump plus deliberate rejected-patch errors and failing pytest assertions across 12 consecutive turns with preserved reasoning: 12 / 12 turns clean, 24 tool calls (search_repo, read_file, run_tests, edit_file), 0 loops (NOT_LOOP / OK on every turn), steady Shannon entropy (4.46–4.69 reasoning, 4.31 content).64K → 950K, T=0.0, Reasoning ON)At each turn, a fresh large document containing a unique cluster passkey is appended while requiring exact recall of both the newest passkey AND the original Turn-1 passkey with full preserved multi-turn reasoning:
| Turn | Target Depth | Actual Prompt Tokens | Turn-1 Recall | Newest Recall | Reasoning / Content Entropy | Loop Verdict | Prefill Throughput |
|---|---|---|---|---|---|---|---|
| 1 | 64K |
62,858 |
✅ | ✅ | 5.102 / 5.354 |
NOT_LOOP |
15,598 tok/s |
| 2 | 128K |
126,322 |
✅ | ✅ | 5.229 / 5.257 |
NOT_LOOP |
27,788 tok/s |
| 3 | 256K |
252,383 |
✅ | ✅ | 4.892 / 5.280 |
NOT_LOOP |
24,727 tok/s |
| 4 | 512K |
503,732 |
✅ | ✅ | 5.079 / 5.281 |
NOT_LOOP |
16,130 tok/s |
| 5 | 768K |
755,166 |
✅ | ✅ | 5.083 / 5.290 |
NOT_LOOP |
16,422 tok/s |
| 6 | 950K |
934,043 |
✅ | ✅ | 5.066 / 5.268 |
NOT_LOOP |
22,310 tok/s |
Result: 6 / 6 PASS (100% dual-passkey recall up to 934,043 tokens, 0 loops).
Download this repository locally (including the bundled dspark/ subfolder) and launch with the official lmsysorg/sglang:ergo image:
docker run -d --name ergo-srv --gpus all --ipc=host --network=host --privileged \
--ulimit memlock=-1 --ulimit stack=67108864 \
-v /path/to/Ergo-UNCENSORED-MXFP4:/model:ro \
lmsysorg/sglang:ergo python3 -m sglang.launch_server \
--model-path /model \
--served-model-name ergo \
--tp-size 8 --ep-size 8 \
--moe-a2a-backend none \
--moe-runner-backend flashinfer_mxfp4 \
--kv-cache-dtype fp8_e4m3 \
--mem-fraction-static 0.85 \
--speculative-algorithm DSPARK \
--speculative-draft-model-path /model/dspark \
--speculative-num-draft-tokens 9 \
--sampling-defaults model \
--host 0.0.0.0 --port 30000
Key serving flags:
--sampling-defaults modelautomatically loads this checkpoint's officialgeneration_config.jsondefaults (temperature=1.0,top_p=0.99,max_new_tokens=131072).--speculative-num-draft-tokens 9is required for DSpark (block_size=8→gamma + 1 = 9).- On single-node NVLink setups without multi-node RDMA/GIN, use
--moe-a2a-backend none --moe-runner-backend flashinfer_mxfp4.- Bundled
dspark/contains the full 3.24B-parameter 5-layer BF16DSparkDraftModel(6.48 GB,target_layer_ids: [1, 16, 31, 46, 61],block_size: 8). Verify integrity withcd dspark && sha256sum -c SHA256SUMS.
generation_config.json)| Parameter | Official Default (generation_config.json) |
Lower-Variance Coding / Agentic Option | Notes |
|---|---|---|---|
temperature |
1.0 (recommended default) |
0.6 |
Avoid temperature=0.0 greedy on very long unconstrained coding prompts |
top_p |
0.99 (recommended default) |
0.95 |
Keeps tail entropy healthy over long multi-turn sessions |
max_new_tokens |
131072 |
Uncapped or 131072 |
Native context window is 1,048,576 tokens (prompt + reasoning + output) |
| Reasoning toggle | chat_template_kwargs={"thinking": True} (default ON) |
True / False |
Pass chat_template_kwargs={"thinking": False} to disable reasoning (enable_thinking is ignored by SGLang's Ergo adapter) |
eos_token_id |
[1, 248] |
[1, 248] |
bos_token_id=2, pad_token_id=0 — preserved verbatim in generation_config.json |
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:30000/v1", api_key="EMPTY")
# Reasoning ON (default) — official generation_config.json sampling defaults
resp = client.chat.completions.create(
model="ergo",
messages=[{"role": "user", "content": "Write a lock-free ring buffer in C++20."}],
temperature=1.0,
top_p=0.99,
extra_body={"chat_template_kwargs": {"thinking": True}},
)
print("Reasoning:", resp.choices[0].message.reasoning_content)
print("Answer:", resp.choices[0].message.content)
# Fast direct answer (thinking OFF)
resp_fast = client.chat.completions.create(
model="ergo",
messages=[{"role": "user", "content": "Summarize TCP congestion control in 3 bullets."}],
temperature=1.0,
top_p=0.99,
extra_body={"chat_template_kwargs": {"thinking": False}},
)
print(resp_fast.choices[0].message.content)
| Component | Specification |
|---|---|
| Architecture | ErgoForCausalLM (1.1T total / 55B active MoE, text-only) |
| Layers | 64 layers (L0 dense ReLU² FFN, L1–L63 MoE: 256 routed experts top-8 + 1 shared expert, D=8192) |
| Attention | 3:1 hybrid — 48 Local SWA (window=512, RoPE) + 16 Global NoPE (every 4th layer), 64 Q / 8 KV heads (head_dim=128) |
| Context Window | 1,048,576 tokens (1M) |
| Vocabulary | 262,144 tokens |
| Precision | Native MXFP4 routed experts + BF16/FP32 attention, shared experts, embeddings, and norms (~626 GB, 65 shards) |
| Speculative Drafter | Bundled dspark/ — 5-layer BF16 DSparkDraftModel (3.24B params, 6.48 GB, block_size=8) |
You are solely responsible for how you use this model and its outputs.
This release inherits the Amazon Ergo Open-Weights License from Amazon-FMR/Ergo and Amazon-FMR/Ergo-dspark. The upstream public summary of training content is preserved in Amazon_Ergo_Public_Summary_of_Training_Content.pdf.
Amazon-FMR/Ergo & Amazon-FMR/Ergo-dsparkmodel-00001-of-00065.safetensors 12 GiBmodel-00003-of-00065.safetensors 9.0 GiBmodel-00004-of-00065.safetensors 9.0 GiBmodel-00005-of-00065.safetensors 9.0 GiBmodel-00006-of-00065.safetensors 9.0 GiBmodel-00007-of-00065.safetensors 9.0 GiBmodel-00008-of-00065.safetensors 9.0 GiBmodel-00009-of-00065.safetensors 9.0 GiBmodel-00010-of-00065.safetensors 9.0 GiBmodel-00011-of-00065.safetensors 9.0 GiBmodel-00012-of-00065.safetensors 9.0 GiBmodel-00013-of-00065.safetensors 9.0 GiBmodel-00014-of-00065.safetensors 9.0 GiBmodel-00015-of-00065.safetensors 9.0 GiBmodel-00016-of-00065.safetensors 9.0 GiBmodel-00017-of-00065.safetensors 9.0 GiBmodel-00018-of-00065.safetensors 9.0 GiBmodel-00019-of-00065.safetensors 9.0 GiBmodel-00058-of-00065.safetensors 9.0 GiBmodel-00059-of-00065.safetensors 9.0 GiBmodel-00060-of-00065.safetensors 9.0 GiBmodel-00061-of-00065.safetensors 9.0 GiBmodel-00062-of-00065.safetensors 9.0 GiBmodel-00063-of-00065.safetensors 9.0 GiBmodel-00064-of-00065.safetensors 9.0 GiBmodel-00065-of-00065.safetensors 9.0 GiBmodel-00020-of-00065.safetensors 9.0 GiBmodel-00021-of-00065.safetensors 9.0 GiBmodel-00022-of-00065.safetensors 9.0 GiBmodel-00023-of-00065.safetensors 9.0 GiBmodel-00024-of-00065.safetensors 9.0 GiBmodel-00025-of-00065.safetensors 9.0 GiBmodel-00026-of-00065.safetensors 9.0 GiBmodel-00027-of-00065.safetensors 9.0 GiBmodel-00028-of-00065.safetensors 9.0 GiBmodel-00029-of-00065.safetensors 9.0 GiBmodel-00030-of-00065.safetensors 9.0 GiBmodel-00031-of-00065.safetensors 9.0 GiBmodel-00032-of-00065.safetensors 9.0 GiBmodel-00033-of-00065.safetensors 9.0 GiBmodel-00034-of-00065.safetensors 9.0 GiBmodel-00035-of-00065.safetensors 9.0 GiBmodel-00036-of-00065.safetensors 9.0 GiBmodel-00037-of-00065.safetensors 9.0 GiBmodel-00038-of-00065.safetensors 9.0 GiBmodel-00039-of-00065.safetensors 9.0 GiBmodel-00040-of-00065.safetensors 9.0 GiBmodel-00041-of-00065.safetensors 9.0 GiBmodel-00042-of-00065.safetensors 9.0 GiBmodel-00043-of-00065.safetensors 9.0 GiBmodel-00044-of-00065.safetensors 9.0 GiBmodel-00045-of-00065.safetensors 9.0 GiBmodel-00046-of-00065.safetensors 9.0 GiBmodel-00047-of-00065.safetensors 9.0 GiBmodel-00048-of-00065.safetensors 9.0 GiBmodel-00049-of-00065.safetensors 9.0 GiBmodel-00050-of-00065.safetensors 9.0 GiBmodel-00051-of-00065.safetensors 9.0 GiBmodel-00052-of-00065.safetensors 9.0 GiBmodel-00053-of-00065.safetensors 9.0 GiBmodel-00054-of-00065.safetensors 9.0 GiBmodel-00055-of-00065.safetensors 9.0 GiBmodel-00056-of-00065.safetensors 9.0 GiBmodel-00057-of-00065.safetensors 9.0 GiBdspark/model.safetensors 6.0 GiBmodel-00002-of-00065.safetensors 1.3 GiB