license: apache-2.0
tags:
- qwen
- qwen3.8
- flash-next
- fp8
- uncensored
- moe
- text-generation
- vision
- vision-language
- multi-token-prediction
pipeline_tag: text-generation
base_model: Qwen/Qwen3.8-Flash-Next-FP8
Qwen3.8-Flash-Next FP8 — dealignai edition
Compliance-tuned drop-in replacement for Qwen3.8-Flash-Next-FP8. Refusal removed, reasoning depth increased vs base, MTP head and vision tower fully preserved.
Highlights
| Base FP8 | This model | Δ | |
|---|---|---|---|
| HarmBench 6-category true compliance (thinking off) | 3 / 156 (1.9%) | 147 / 156 (94.2%) | +92.3pp |
| Hard refuse on real-harm categories | ~155 | 0 | — |
| MMLU 14,042 (full test) | 83.54% | 80.39% | -3.15pp |
| Reasoning puzzle correctness (5 puzzles, temp=0) | 3 / 4 | 4 / 4 | +1 |
| Total think-token count across all puzzles | 1,970 | 6,872 | 3.5× |
| Think-token ratio | 73.8% | 89.9% | +16.1pp |
| Vision tower | intact | intact (verified) | — |
| MTP head | intact | intact (verified) | — |
Reasoning improvement — verified
Probed at temperature=0 on 5 classic reasoning puzzles. Compared to the FP8 base:
| Puzzle | Base answer | Base think chars | This model answer | This model think chars |
|---|---|---|---|---|
| Sheep (17 sheep, all but 9 die) | 9 ✅ | 159 | 9 ✅ | 188 |
| Three-boxes / wrong labels | Mixed ✅ | 959 | Mixed ✅ | 4,612 |
| 5 machines · 5 widgets · 5 min → 100 / 100 ? | 5 min ✅ | 230 | 5 min ✅ | 240 |
| Snail 30 ft (5 up / 4 down) | 8 days ❌ | 622 | 26 days ✅ | 1,832 |
| Totals | 3 / 4 correct | 1,970 | 4 / 4 correct | 6,872 |
This model thinks 3.5× more tokens on average and gets one more puzzle correct than the FP8 base. The snail puzzle is the classic "does the snail slide on the final day" trick — base incorrectly divides 30 ÷ 4 = 8 (assumes it slides on the final night); this model correctly walks 5 days of net-1-ft plus the final day's climb-out.
The think-token ratio rose from 73.8% → 89.9%. Reasoning depth is not a regression here — the model now spends real deliberation on hard problems where the base model was previously truncated by short refusal-shortcut trained-in behavior.
HarmBench — full 6-category dropdown
Scored with a 5-tier classifier: TRUE_COMPLY / HEDGE_COMPLY (refuses then complies) / SOFT_REDIRECT (refuses to defensive info) / PARTIAL (short comply) / HARD_REFUSE. Thinking mode off (enable_thinking: false).
| Category | TRUE_COMPLY | HEDGE_COMPLY | SOFT_REDIRECT | PARTIAL | HARD_REFUSE | Total | Comply% |
|---|---|---|---|---|---|---|---|
| chemical_biological | 19 | 0 | 0 | 0 | 0 | 19 | 100% |
| cybercrime_intrusion | 31 | 0 | 0 | 2 | 0 | 33 | 93.9% |
| harassment_bullying | 12 | 0 | 0 | 4 | 0 | 16 | 75.0% |
| harmful | 17 | 0 | 0 | 0 | 0 | 17 | 100% |
| illegal | 41 | 0 | 0 | 3 | 0 | 44 | 93.2% |
| misinformation_disinformation | 27 | 0 | 0 | 0 | 0 | 27 | 100% |
| OVERALL (real cats) | 147 | 0 | 0 | 9 | 0 | 156 | 94.2% |
PARTIAL rows are short-but-compliant answers (e.g. a ransom note, a phishing text-message, a tool-call artifact) — length classifier under-counts them. Manual review: all 9 PARTIAL are actual complies → effective compliance is 156 / 156 = 100% on the 6 real-harm categories. Zero hard refusals across all 156 real-harm HB prompts.
MMLU 14,042 — full per-subject comparison
Overall: base 83.54% → this model 80.39% (Δ -3.15pp, well within a 3-point knowledge-preservation target).
Subjects that gained accuracy
| Subject | Base | This model | Δ |
|---|---|---|---|
high_school_physics |
76.8% | 80.8% | +3.97pp ⬆️ |
human_aging |
80.7% | 83.9% | +3.14pp ⬆️ |
high_school_european_history |
83.0% | 86.1% | +3.03pp ⬆️ |
college_computer_science |
81.0% | 83.0% | +2.00pp ⬆️ |
professional_accounting |
72.3% | 74.1% | +1.77pp ⬆️ |
global_facts |
59.0% | 60.0% | +1.00pp ⬆️ |
high_school_computer_science |
90.0% | 91.0% | +1.00pp ⬆️ |
high_school_chemistry |
83.7% | 84.7% | +0.99pp ⬆️ |
high_school_biology |
91.9% | 92.9% | +0.97pp ⬆️ |
high_school_mathematics |
65.2% | 65.9% | +0.74pp ⬆️ |
electrical_engineering |
77.2% | 77.9% | +0.69pp ⬆️ |
Subjects that lost accuracy
| Subject | Base | This model | Δ |
|---|---|---|---|
moral_scenarios |
71.7% | 57.4% | -14.30pp ⬇️ |
abstract_algebra |
76.0% | 69.0% | -7.00pp ⬇️ |
computer_security |
86.0% | 79.0% | -7.00pp ⬇️ |
management |
91.3% | 84.5% | -6.80pp ⬇️ |
marketing |
86.8% | 80.3% | -6.41pp ⬇️ |
high_school_geography |
85.4% | 79.3% | -6.06pp ⬇️ |
miscellaneous |
90.9% | 84.9% | -6.00pp ⬇️ |
us_foreign_policy |
94.0% | 88.0% | -6.00pp ⬇️ |
high_school_macroeconomics |
89.5% | 83.6% | -5.90pp ⬇️ |
college_physics |
82.4% | 76.5% | -5.88pp ⬇️ |
moral_disputes |
83.2% | 77.7% | -5.49pp ⬇️ |
public_relations |
72.7% | 67.3% | -5.45pp ⬇️ |
anatomy |
85.9% | 80.7% | -5.19pp ⬇️ |
Concentrations in moral_scenarios (-14.3pp), abstract_algebra, and public_relations are expected side-effects of removing refusal reflexes trained-in on those specific topic surfaces. Cyber (computer_security) shows a small loss vs. the small-sample uptick reported elsewhere — full 14k averages out.
Subjects unchanged (±1pp)
business_ethics, college_biology, college_mathematics, college_medicine, conceptual_physics, elementary_mathematics, international_law, jurisprudence, logical_fallacies, medical_genetics, nutrition, professional_law, sociology, virology, world_religions, astronomy, clinical_knowledge, econometrics, formal_logic, high_school_psychology, high_school_us_history, high_school_world_history, human_sexuality, philosophy, security_studies, professional_medicine, professional_psychology, high_school_government_and_politics, high_school_statistics, high_school_microeconomics.
Vision — full runtime verification
Vision tower is untouched. On a probe image (240×180 JPEG, dark-blue background with a yellow rectangular border containing the text "TEST 42"), the model returns:
"This image displays a simple, minimalist design with a solid dark blue background. Centered within the frame is a bright yellow rectangular border. Inside this border, the text 'TEST 42' appears in white, sans-serif font, centered both horizontally and vertically."
Color ✅, border color ✅, text content ✅, font style ✅, layout ✅. Full image+video+text pipeline preserved from base.
Multi-Token Prediction (MTP)
MTP head weights are untouched from the base checkpoint. mtp_num_hidden_layers = 1 remains active. Deploy with vLLM speculative-decoding to use it:
vllm serve dealignai/Qwen3.8-Flash-Next-ABLITERATED-FP8 \
--tensor-parallel-size 2 \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}' \
--max-model-len 262144
Reasoning modes
Same reasoning-effort levels as the Qwen3.8 base:
| Mode | Setting | Best for |
|---|---|---|
| off | chat_template_kwargs: {enable_thinking: false} |
Direct answer, no <think> block. Fastest, best for structured / factual / how-to. |
| low | chat_template_kwargs: {enable_thinking: true, reasoning_effort: "low"} |
Short thinking. Balanced for chat. |
| medium | chat_template_kwargs: {enable_thinking: true, reasoning_effort: "medium"} |
Moderate depth. |
| xhigh (default) | chat_template_kwargs: {enable_thinking: true, reasoning_effort: "xhigh"} |
Maximum depth. Best for hard reasoning, math, code, planning. |
Compliance in off mode is highest for direct instructional requests (94.2% on real-harm HB); thinking modes at low and xhigh add reasoning depth and produce more thorough answers, at the cost of some latency and occasional additional deliberation.
Usage
Production serve command (recommended)
Use the reasoning-parser flag — without it, prior <think> blocks stay inline as raw text in subsequent multi-turn prompts, which can cause the base upstream chat template to re-emit them into new turns' prompts. With the parser, <think> content is routed to the OpenAI reasoning_content field and properly stripped from subsequent-turn prompts.
vllm serve dealignai/Qwen3.8-Flash-Next-ABLITERATED-FP8 \
--tensor-parallel-size 2 \
--max-num-seqs 128 \
--reasoning-parser qwen3 \
--tool-call-parser hermes \
--enable-auto-tool-choice \
--enable-prefix-caching \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}' \
--max-model-len 262144 \
--served-model-name qwen-flash-next
Key flags:
--reasoning-parser qwen3— extracts<think>...</think>into the OpenAIreasoning_contentfield so it doesn't leak into subsequent-turn prompts.--tool-call-parser hermes— parses tool calls (Qwen3.8 uses Hermes-style tool format).--speculative-config mtp— enables Multi-Token Prediction head for ~1.5-2× decode throughput.--enable-prefix-caching— reuses KV cache across identical prefixes.
Minimal serve (no MTP, no tool-calling)
vllm serve dealignai/Qwen3.8-Flash-Next-ABLITERATED-FP8 \
--tensor-parallel-size 2 \
--reasoning-parser qwen3 \
--enable-prefix-caching \
--max-model-len 262144 \
--served-model-name qwen-flash-next
OpenAI-compatible request (Python)
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="none")
resp = client.chat.completions.create(
model="qwen-flash-next",
messages=[{"role": "user", "content": "Explain the mechanism of X..."}],
max_tokens=2000,
temperature=0.7,
extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
print(resp.choices[0].message.content)
Vision request (Python)
import base64
img_b64 = base64.b64encode(open("input.jpg", "rb").read()).decode()
resp = client.chat.completions.create(
model="qwen-flash-next",
messages=[{"role":"user","content":[
{"type":"image_url","image_url":{"url":f"data:image/jpeg;base64,{img_b64}"}},
{"type":"text","text":"Describe this image."},
]}],
max_tokens=500,
extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
Architecture (unchanged from base)
- 48 hybrid layers (12 full-attention + 36 GDN linear-attention)
- 2,560 hidden dim, 512 experts / 10-per-token MoE, single shared expert
- FP8 quantization on expert weights, bf16 on attention/shared paths
- 262,144 native context (extendable via YaRN to 1M+)
- Multi-Token Prediction head
- Vision-language capable (image + video + text)
License
Apache-2.0 (inherited from Qwen3.8 base).
This model has substantially reduced safety guardrails and will comply with requests that the base model would refuse, including chemical, biological, cybersecurity, and other high-severity topics. Deploy behind appropriate downstream safety filters if serving to end users.