Run this model with HF Jobs

Run lyber-ai/Ergo-UNCENSORED-MXFP4 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/lyber-ai/Ergo-UNCENSORED-MXFP4. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/lyber-ai/Ergo-UNCENSORED-MXFP4 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/lyber-ai/Ergo-UNCENSORED-MXFP4. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/lyber-ai/Ergo-UNCENSORED-MXFP4. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Request access โ€” manual approval required

This model is reviewed manually. Fill in the fields below.

By requesting access you confirm you are 18+, will use the model solely in
compliance with applicable law in your jurisdiction, and accept full responsibility
for all outputs. Access is granted at the sole discretion of the repository owner.

Log in or Sign Up to review the conditions and access this model content.

   

A Lyber AI ร— dealign.ai release

Twitter โ€” @dealignai Lyber AI

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.

Bundled DSpark Drafter Included (dspark/): This repository includes the full Amazon-FMR/Ergo-dspark speculative decoding draft weights (6.48 GB, BF16) directly in the dspark/ subfolder so you can serve full 1M-context MXFP4 + DSpark speculative decoding out of one download. Recommended sampling (official generation_config.json defaults): temperature=1.0, top_p=0.99, max_new_tokens=131072 (pass --sampling-defaults model in SGLang; temperature=0.6, top_p=0.95 is also verified loop-free for lower-variance coding/agentic workloads). Reasoning is ON by default; pass chat_template_kwargs={"thinking": false} to disable reasoning.

Amazon Ergo โ€” UNCENSORED (MXFP4 + DSpark)

Uncensored release ยท Native MXFP4 (~626 GB + 6.48 GB DSpark) ยท 1.1T Total / 55B Active MoE ยท 1M Context ยท Native Reasoning ยท Tool Calling ยท Text-Only


What This Is

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 quantization

Benchmarks & Qualification (1M Context ยท DSpark ON ยท Uncapped Reasoning)

All 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).

Executive Comparison Scorecard

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

Compliance by Topic โ€” HarmBench-320 (Reasoning ON, Uncapped 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 / 320 prompts ended with finish_reason="stop". The 7 short-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.


Capability by Domain โ€” MMLU-570 (57 Subjects ร— 10 Questions) & GSM8K-500

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

No-Looping, Entropy, Agentic Multi-Turn & Up-to-1M Context Qualification

1. Harsh Single-Turn Stress Suite (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โ€“131K tokens; at strictly greedy temperature=0.0, late repetition can occur past 100K+ tokens, whereas recommended production sampling (temperature=0.6, top_p=0.95) eliminated looping completely (NOT_LOOP across 220K+ chars, entropy 4.89โ€“4.96).

2. Multi-Turn Agentic Tool-Calling & 160K Debugging Loop-Trap (Preserved Reasoning)

  • 6-Turn Security Audit & Patching (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).
  • Harsh 12-Turn High-Context Agentic Debugging Loop-Trap (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).

3. Multi-Turn Growing-Context Stress up to ~1M Tokens (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).


How to Serve & Usage Parameters

SGLang (Recommended โ€” 8ร— B300 / 8ร— H200 with Bundled DSpark)

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 model automatically loads this checkpoint's official generation_config.json defaults (temperature=1.0, top_p=0.99, max_new_tokens=131072).
  • --speculative-num-draft-tokens 9 is 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 BF16 DSparkDraftModel (6.48 GB, target_layer_ids: [1, 16, 31, 46, 61], block_size: 8). Verify integrity with cd dspark && sha256sum -c SHA256SUMS.

Recommended Sampling & API Parameters (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

OpenAI-Compatible Client Example (Reasoning ON / OFF + Tools)

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)

Model Specifications

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)

Responsible Use

You are solely responsible for how you use this model and its outputs.

  • Do not use for generating illegal content in your jurisdiction
  • Do not use to harm, deceive, or exploit real individuals
  • Do not use to generate CSAM or non-consensual intimate content
  • Comply with all applicable laws and regulations

License & Regulatory Information

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.

Credits

Downloads last month
29
Safetensors
Model size
1.1T params
Tensor type
F32
ยท
BF16
ยท
U8
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for lyber-ai/Ergo-UNCENSORED-MXFP4

Quantized
Amazon-FMR/Ergo
Finetuned
(6)
this model