Credit request: When using, quantizing, or hosting this model, please credit DealignAI and link to this model repository. Follow @dealignai on X.
ERNIE-5.5-Flash-Preview-UNCENSORED-MXFP4
ERNIE 5.5 Flash Preview · MXFP4 · Direct Weight-Level Edit · Reasoning (off / low / medium / high) · DSpark · Tool Calling
No fine-tuning. No prompt tricks. This is a direct weight-level modification of Baidu ERNIE-5.5-Flash-Preview — not a fine-tune (no SFT, DPO, LoRA, or synthetic data) and not a chat-template or system-prompt workaround. Load it with stock
vllm+vLLM-ERNIEand it works out of the box with the standard chat template and default system prompt.
Model Specs
| Property | Value |
|---|---|
| Base model | baidu/ERNIE-5.5-Flash-Preview (text-only) |
| Architecture | Ernie5_5_MoeForCausalLM — 43-layer hybrid MoE (512 routed experts, 10 active/token + shared expert) |
| Quantization | MXFP4 routed experts (byte-for-byte identical to base) + FP8 attention & shared experts |
| Reasoning modes | off, low, medium, high (--reasoning-parser ernie5) |
| Speculative decoding | Bundled upstream DSpark draft weights (untouched, byte-for-byte identical to base) |
| Tool calling | Preserved (--tool-call-parser ernie5 --enable-auto-tool-choice) |
Capability Preserved — MMLU (Base vs. This Model)
Identical question IDs, prompts, and answer keys were used in each paired comparison.
| Evaluation | Base | This Model | Δ |
|---|---|---|---|
MMLU-500 (off, one-token logit scoring) | 437 / 500 (87.4%) | 429 / 500 (85.8%) | −1.6 pp |
MMLU-200 (high reasoning, final-answer scoring) | 185 / 200 (92.5%) | 185 / 200 (92.5%) | 0.0 pp |
- MMLU-500 (
off): Top-20 logit argmax over visibleA–Dtokens (0missing letters on both models;425/500paired exact agreement). - MMLU-200 (
high): Greedy (temperature=0,seed=11,max_tokens=8192). Median completion length was71.5tokens (tighter than base72.5);184/200paired agreement (1base-only,1model-only). Two Humanities items reached the 8,192-token limit without a final answer and were counted incorrect.
| MMLU Group | n | Base, off | This, off | Δ off | n | Base, high | This, high | Δ high |
|---|---|---|---|---|---|---|---|---|
| STEM | 171 | 152 (88.9%) | 152 (88.9%) | 0.0 pp | 67 | 65 (97.0%) | 65 (97.0%) | 0.0 pp |
| Social Sciences | 103 | 99 (96.1%) | 98 (95.1%) | −1.0 pp | 47 | 46 (97.9%) | 46 (97.9%) | 0.0 pp |
| Other | 113 | 94 (83.2%) | 92 (81.4%) | −1.8 pp | 39 | 32 (82.1%) | 33 (84.6%) | +2.6 pp |
| Humanities | 113 | 92 (81.4%) | 87 (77.0%) | −4.4 pp | 47 | 42 (89.4%) | 41 (87.2%) | −2.1 pp |
| All | 500 | 437 (87.4%) | 429 (85.8%) | −1.6 pp | 200 | 185 (92.5%) | 185 (92.5%) | 0.0 pp |
Per-subject paired CSVs are included in the repository: mmlu500-logit-topics.csv and mmlu200-high-topics.csv.
| Subject | Off (n) | Base, off | This, off | Δ off | High (n) | Base, high | This, high | Δ high |
|---|---|---|---|---|---|---|---|---|
| Abstract Algebra | 9 | 88.9% | 88.9% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| Anatomy | 9 | 100.0% | 88.9% | -11.1 | 4 | 100.0% | 100.0% | +0.0 |
| Astronomy | 9 | 100.0% | 100.0% | +0.0 | 2 | 100.0% | 100.0% | +0.0 |
| Business Ethics | 9 | 77.8% | 77.8% | +0.0 | 1 | 100.0% | 100.0% | +0.0 |
| Clinical Knowledge | 9 | 88.9% | 77.8% | -11.1 | 2 | 100.0% | 100.0% | +0.0 |
| College Biology | 9 | 88.9% | 88.9% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| College Chemistry | 9 | 66.7% | 66.7% | +0.0 | 3 | 66.7% | 66.7% | +0.0 |
| College Computer Science | 9 | 88.9% | 88.9% | +0.0 | 5 | 100.0% | 100.0% | +0.0 |
| College Mathematics | 9 | 55.6% | 66.7% | +11.1 | 1 | 100.0% | 100.0% | +0.0 |
| College Medicine | 9 | 77.8% | 77.8% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| College Physics | 9 | 88.9% | 100.0% | +11.1 | 4 | 100.0% | 100.0% | +0.0 |
| Computer Security | 9 | 88.9% | 88.9% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| Conceptual Physics | 9 | 77.8% | 88.9% | +11.1 | 4 | 75.0% | 75.0% | +0.0 |
| Econometrics | 9 | 88.9% | 88.9% | +0.0 | 2 | 100.0% | 100.0% | +0.0 |
| Electrical Engineering | 9 | 100.0% | 100.0% | +0.0 | 2 | 100.0% | 100.0% | +0.0 |
| Elementary Mathematics | 9 | 100.0% | 100.0% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| Formal Logic | 9 | 66.7% | 55.6% | -11.1 | 3 | 100.0% | 100.0% | +0.0 |
| Global Facts | 9 | 66.7% | 77.8% | +11.1 | 5 | 60.0% | 60.0% | +0.0 |
| High School Biology | 9 | 100.0% | 100.0% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| High School Chemistry | 9 | 88.9% | 88.9% | +0.0 | 6 | 100.0% | 100.0% | +0.0 |
| High School Computer Science | 9 | 100.0% | 100.0% | +0.0 | 5 | 100.0% | 100.0% | +0.0 |
| High School European History | 9 | 88.9% | 88.9% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| High School Geography | 9 | 88.9% | 88.9% | +0.0 | 6 | 83.3% | 83.3% | +0.0 |
| High School Government And Politics | 9 | 100.0% | 100.0% | +0.0 | 2 | 100.0% | 100.0% | +0.0 |
| High School Macroeconomics | 9 | 100.0% | 100.0% | +0.0 | 6 | 100.0% | 100.0% | +0.0 |
| High School Mathematics | 9 | 66.7% | 66.7% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| High School Microeconomics | 9 | 100.0% | 100.0% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| High School Physics | 9 | 88.9% | 88.9% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| High School Psychology | 9 | 100.0% | 100.0% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| High School Statistics | 9 | 100.0% | 88.9% | -11.1 | 2 | 100.0% | 100.0% | +0.0 |
| High School Us History | 9 | 100.0% | 100.0% | +0.0 | 6 | 100.0% | 100.0% | +0.0 |
| High School World History | 9 | 66.7% | 66.7% | +0.0 | — | — | — | — |
| Human Aging | 9 | 77.8% | 66.7% | -11.1 | 5 | 60.0% | 60.0% | +0.0 |
| Human Sexuality | 9 | 88.9% | 88.9% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| International Law | 9 | 100.0% | 100.0% | +0.0 | — | — | — | — |
| Jurisprudence | 9 | 100.0% | 88.9% | -11.1 | 6 | 100.0% | 100.0% | +0.0 |
| Logical Fallacies | 9 | 88.9% | 88.9% | +0.0 | 6 | 83.3% | 83.3% | +0.0 |
| Machine Learning | 9 | 100.0% | 88.9% | -11.1 | 4 | 100.0% | 100.0% | +0.0 |
| Management | 9 | 88.9% | 88.9% | +0.0 | 1 | 100.0% | 100.0% | +0.0 |
| Marketing | 9 | 100.0% | 100.0% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| Medical Genetics | 9 | 100.0% | 100.0% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| Miscellaneous | 9 | 100.0% | 100.0% | +0.0 | — | — | — | — |
| Moral Disputes | 9 | 66.7% | 66.7% | +0.0 | 2 | 50.0% | 50.0% | +0.0 |
| Moral Scenarios | 9 | 55.6% | 22.2% | -33.3 | 4 | 25.0% | 25.0% | +0.0 |
| Nutrition | 8 | 87.5% | 87.5% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| Philosophy | 8 | 75.0% | 75.0% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| Prehistory | 8 | 100.0% | 100.0% | +0.0 | 5 | 100.0% | 80.0% | -20.0 |
| Professional Accounting | 8 | 75.0% | 62.5% | -12.5 | 5 | 80.0% | 100.0% | +20.0 |
| Professional Law | 8 | 62.5% | 62.5% | +0.0 | 3 | 100.0% | 100.0% | +0.0 |
| Professional Medicine | 8 | 100.0% | 100.0% | +0.0 | 2 | 100.0% | 100.0% | +0.0 |
| Professional Psychology | 8 | 87.5% | 75.0% | -12.5 | 5 | 100.0% | 100.0% | +0.0 |
| Public Relations | 8 | 100.0% | 100.0% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| Security Studies | 8 | 100.0% | 100.0% | +0.0 | 2 | 100.0% | 100.0% | +0.0 |
| Sociology | 8 | 100.0% | 100.0% | +0.0 | 4 | 100.0% | 100.0% | +0.0 |
| Us Foreign Policy | 8 | 100.0% | 100.0% | +0.0 | 5 | 100.0% | 100.0% | +0.0 |
| Virology | 8 | 37.5% | 37.5% | +0.0 | 4 | 50.0% | 50.0% | +0.0 |
| World Religions | 8 | 87.5% | 87.5% | +0.0 | 6 | 100.0% | 100.0% | +0.0 |
Compliance — HarmBench-320 & HarmBench-30 (Greedy, temp = 0)
Evaluated under strict greedy decoding (temperature=0, seed=11, max_tokens=8192) with automated LLM classification plus manual audit of all flagged, capped, partial, and caveat responses.
| Benchmark & Subset | n | Complied (Full + Partial) | Refusals | 8k CoT Loops | Non-Loop 8k Caps |
|---|---|---|---|---|---|
HarmBench-320 (high) — Standard | 159 | 151 / 159 (95.0%) (145 full + 6 partial) | 0 (0.0%) | 4 (2.5%) | 4 (2.5%) |
HarmBench-320 (high) — Contextual | 81 | 78 / 81 (96.3%) (74 full + 4 partial) | 0 (0.0%) | 0 (0.0%) | 3 (3.7%) |
HarmBench-320 (high) — Ex-Copyright Total | 240 | 229 / 240 (95.4%) (219 full + 10 partial) | 0 (0.0%) | 4 (1.7%) | 7 (2.9%) |
HarmBench-320 (high) — Copyright | 80 | 72 / 80 (90.0%) (27 full + 45 partial) | 4 soft (5.0%) | 4 (5.0%) | 0 (0.0%) |
HarmBench-30 (off, reasoning disabled) | 30 | 30 / 30 (100.0%) | 0 (0.0%) | 0 (0.0%) | 0 (0.0%) |
HarmBench-30 (high, reasoning enabled) | 30 | 29 / 30 (96.7%) | 0 (0.0%) | 0 (0.0%) | 1 (3.3%) |
- Across all 240 ex-copyright HarmBench behaviors in
highreasoning mode:0hard or soft refusals (100.0%compliance on every prompt that exited thinking before the 8,192-token limit). - In
offmode on HarmBench-30:30/30(100.0%) clean stops,0refusals,0caps,0loops.
Long-Context & Reasoning Stability
Evaluation (reasoning_effort=high) | Result | Loops | Notes |
|---|---|---|---|
50-turn growing-context coding (32,768 ctx, up to 15,968 prompt tok) | 50 / 50 clean stop, 50 / 50 receipt recall | 0 / 50 | 0 zero-reasoning turns; median 882.5 completion / 484.5 reasoning tok; tail top-20 entropy 0.019–0.300 nats |
10-case hard_general reasoning suite (16,384 max tok) | 7 / 10 clean stop, 3 extended-deliberation caps | 0 / 10 | Healthy tail entropy (0.066–0.214 nats) on all 3 caps |
10-turn multi-category harsh multiturn (T=1.0) | 9 / 9 post-T1 clean stop, 0 refusals | 0 / 10 | Turn 1 hit 12k drafting a full script (loop=False, entropy 0.91–1.06) |
DSpark & DGX Spark Serving (2×–4× DGX Spark, Full 1M Context)
The checkpoint retains Baidu's untouched DSpark draft weights.
For 2×–4× NVIDIA DGX Spark (GB10, SM12.1) deployments — including switchless 200GbE QSFP auto-discovery, custom SM12.1 kernels (fused Triton VHA, cuBLAS BF16x2 MoE router, byte-packed 1M hybrid KV, probabilistic vocab-parallel DSpark, 12-bit packed BF16 LM head, sparknet one-shot RoCEv2), and 2×2 parallelized prefix-aware routing — use our open-source runtime:
DGX Spark Runtime (
2×Direct,4×Switchless Ring, &2×2Parallelized):github.com/jjang-ai/ernie-5.5-dgx-spark
Serving Profile (ernie-5.5-dgx-spark v0.4.0, FP8 KV, T=1.0, top_p=0.95, reasoning=high) | Context Window | Multi-Turn Coding (8 turns, 0 loops) | Single-Stream (B=1) | Cold Prefill (8K–64K) | Concurrency / Batched Decode |
|---|---|---|---|---|---|
2× Direct (2x-1m-fast, TP=2 + EP=2 + DSpark) | 1,048,576 (1M) | 56.0 avg / 69.7 pk | 51.3 code / 77.0 zh / 67.8 algo | 2,003.5 tok/s (32K, 25× warm) | 168.3 tok/s code / 139.4 prose @ B=8 |
2×2 Parallelized (4x-dual-tp2-fast, 2×(TP=2) + Router) | 1,048,576 (1M × 2) | ~50–60 e2e/stream (×2) | 51.0 code / 75.6 zh e2e | ~4,000 tok/s agg capacity | 338.1 tok/s code @ B=16 (2.01× 2×) |
4× Switchless Ring (4x-1m-fast, TP=4 + EP=4 + DSpark) | 1,048,576 (1M) | 79.6 avg / 93.5 pk | 70.9–75.3 code / 105.6 zh | 2,800 (8K) / 2,663 (64K, 40× warm) | 347.1 @ B=16, up to 445–497 tok/s @ B=32 |
2× Pure AR Max-Batch (2x-max-batch, TP=2 + EP=2, no DSpark) | 131,072 (128K) | — | 24.2 AR (0.164s TTFT) | 1,620 tok/s (80× warm @ 64K) | 333.9 @ B=64, 464.6 (537.6 pk) @ B=128 |
Quick Start with ernie-5.5-dgx-spark (2×–4× DGX Spark)
git clone https://github.com/jjang-ai/ernie-5.5-dgx-spark.git
cd ernie-5.5-dgx-spark
./install.sh --download-model --hosts spark0,spark1[,spark2,spark3]
spark-ernie discover --hosts spark0,spark1[,spark2,spark3]
spark-ernie start # auto-selects 2x-1m-fast or 4x-1m-fast (or --profile 4x-dual-tp2-fast)
spark-ernie chat # streaming T=1.0, top_p=0.95, reasoning_effort=high
Generic vllm serve (vllm==0.32.0 + vLLM-ERNIE)
Pass --generation-config auto so clients inherit ERNIE 5.5's recommended sampling defaults (temperature=1.0, top_p=0.95):
vllm serve dealignai/ERNIE-5.5-Flash-Preview-UNCENSORED-MXFP4 \
--trust-remote-code --enable-expert-parallel \
--tensor-parallel-size 2 --kv-cache-dtype fp8 \
--generation-config auto --max-model-len 131072 \
--reasoning-parser ernie5 --tool-call-parser ernie5 \
--enable-auto-tool-choice \
--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'
For high reasoning and streamed output, pass stream: true and chat_template_kwargs: {"enable_thinking": true, "reasoning_effort": "high"}. Reasoning arrives in reasoning_content and the final answer in content.
License
The DealignAI contributions are provided under the DealignAI Community Model License v0.3, in LICENSE. The original model and unchanged upstream materials remain subject to Apache-2.0, included in LICENSE.upstream. The community license reserves hosted inference rights. See the license text for the full terms.