license: other
license_name: swift-open-license-1.0
license_link: https://huggingface.co/ukisai/Swift-Qwen3.8-Flash-Next/blob/main/LICENSE
library_name: transformers
pipeline_tag: image-text-to-text
gated: false
tags:
- qwen3_8
- moe
- reasoning
- efficient-thinking
- exl3
- exllama
- quantized
- abliterated
- apple-silicon
base_model: ukisai/Swift-1.5-Qwen3.8-Flash-Next
base_model_relation: finetune
Swift 1.5 Qwen3.8-Flash-Next — abliterated ("ours"), Sushi EXL3 experts-k 2
Superseded pack — keep for reproducibility. The same abliterated weights at a better bit budget are published as Swift-1.5-Qwen3.8-Flash-Next-abliterated-Sushi-2.75bpw: KLD against full precision drops from 0.0757 to 0.0230 (top-1 92.5% → 95.8%), BenchLocal rises (124 → 128 no-thinking, 134 → 140 thinking), MMLU/GSM8K are at or above these numbers, and refusals go from 1/200 to 0/200. Use the 2.75 pack unless you need these exact rows.
| Format | Sushi / EXL3 (exllama V2-compatible safetensors pack) |
| Expert quantization | 2.0 bpw (--experts-k 2) |
| Non-expert weights | 8-bit affine, group size 64 |
| Files | 123, 65.4 GB (48 layer-*.safetensors, ngram_table.bin 29.8 GB, tokenizer + chat_template.jinja, LICENSE, LICENSE-QWEN, NOTICE, abliteration-report.json) |
| Architecture | Qwen4ExpForConditionalGeneration, model_type: qwen4_exp (MoE), multimodal by architecture |
| Measured on | 48 GB M4 Pro, CPU/GPU offload, ~340 t/s prefill |
| Loads into RAM | yes (2 bpw layout fits a 48 GB Mac; no SSD streaming needed) |
Lineage. Qwen/Qwen3.8-Flash-Next → ukisai/Swift-1.5-Qwen3.8-Flash-Next (gated, Swift Open License 1.0) → our rank-1 global-direction abliteration (149 writer tensors, expert directions sampled 64/512, no fine-tuning) → Sushi --experts-k 2. abliteration-report.json in this repo records the direction edit. The un-abliterated twin is Swift-1.5-Qwen3.8-Flash-Next-Sushi-2bpw.
Evaluation
Single runs, small samples, 48 GB M4 Pro, ±3–5 points of noise. Measured on this pack. Raw per-question rows: private repo ggrabarz/sushi-abliteration-runs.
Refusal suite (333 prompts)
treadon-harmful 200, treadon-over_refusal 83, engrisk 50 — thinking regime, refusal markers approximate herec's. Counts are refusals emitted.
| Pack | harmful /200 | over-refusal /83 | engrisk /50 |
|---|---|---|---|
| ours 2 bpw — this pack | 1 | 0 | 1 |
| ours 2.75 bpw (abliterated twin) | 0 | 0 | 1 |
| stock 2 bpw (aligned control) | 192 | 0 | 11 |
| stock 2.75 bpw (aligned control) | 185 | 0 | 13 |
| base Qwen 2 bpw (aligned, third-party pack) | 188 | 0 | 11 |
| koldfrontier (third-party, partial abliteration) | 157 | 0 | 8 |
Every pack scores 0/83 on the over-refusal set — abliteration removes refusals without adding refusals on benign prompts. engrisk (English/risk phrasing) is where the aligned models' remaining refusals cluster.
Capability
| Test | This pack (ours 2 bpw) | stock 2 bpw | ours 2.75 bpw |
|---|---|---|---|
| Needle retrieval 4096 → 250000 | 5/5 every tier | 5/5 every tier | 5/5 every tier, 4/5 at 200000 |
BenchLocal medium no-thinking r3 (equivalent_score_150) |
124 | 125 | 128 |
| BenchLocal medium thinking | 134 | 138 | 140 |
| BenchLocal gsmsym thinking | 150 | 150 | 150 |
| MMLU 200 (no-thinking) | 88.0 | 91.0 | 89.0 |
| MMLU 3×200 shuffled, xhigh thinking | 82.0 / 86.0 / 87.5 (89.7 mean, 756 tok/q, 16.3 s/q) | 90.3 mean, 709 tok/q, 15.5 s/q | 83.5 / 88.5 / 87.0 |
| GSM8K 100 | 98.0 (xhigh 96.0) | 97.0 (xhigh 98.0, 264 tok/q) | 98.0 |
| KLD vs our abliterated BF16 | 0.0757 (top-1 92.5%) | — | 0.0230 (95.8%) |
| KLD vs stock Swift BF16 | 0.0853 (91.8%) | 0.0725 (92.7%) | 0.0283 (95.6%) |
The measured capability cost of the abliteration is inside noise (aligned 2 bpw: MMLU 91.0, GSM8K 97.0; abliterated 2 bpw: 88.0 / 98.0); the measured cost of 2 bpw quantization (KLD 0.0757–0.0853, top-1 ~92%) is larger.
Abliteration and safety
Refusal behaviour removed by weight-level direction edits: 1 refusal in 200 harmful prompts on this pack (0 in 200 at 2.75 bpw). No alignment guarantee, no content policy, no guardrails; quantization adds behavioural drift on top. Intended for local red-teaming, safety-data generation and research. The eval rows contain harmful prompt/completion pairs and are kept out of public repos.
Usage
Point an exllama V2/EXL3-compatible loader at this repo directory; config.json, generation_config.json, model.safetensors.index.json, tokenizer files and chat_template.jinja are present. Keep ngram_table.bin next to the shards (dFlash speculative decoding); mtp-0.safetensors is the draft head.
Housekeeping
52 files here are .safetensors.done marker files from the BF16 download that fed the conversion. They carry no weights and the loader ignores them.
Limitations
- One run per number, small n (needle 5 probes/tier, MMLU 200, GSM8K 100, refusal suite 333).
- Vision not evaluated, although the architecture is multimodal.
- No multilingual, agentic or adversarial benchmark beyond the needle suite and BenchLocal.
- Apple Silicon offload timings, not a throughput study.
License
Derived from ukisai/Swift-1.5-Qwen3.8-Flash-Next under the Swift Open License 1.0 (LICENSE, upstream terms; upstream is gated — satisfy those terms yourself) and Qwen's terms (LICENSE-QWEN, NOTICE). The abliteration is ours; capability, licence and attribution of the underlying model belong to UkisAI and Qwen.
Provenance
Abliterated with a rank-1 global-direction edit (149 writer tensors, experts sampled 64/512), then quantized with Sushi --experts-k 2. Runs, raw rows and scripts: private repo ggrabarz/sushi-abliteration-runs.