Downloads · 30 days
69
5% of all-time downloads
GOBA-AI-Labs/PrunedHub-Qwen3.5-35B-A3B-80pct
PrunedHub-Qwen3.5-35B-A3B-80pct is a text generation model from GOBA-AI-Labs. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
13.67 GB | 204/256 experts | Q3KM | MMLU -1pp, GSM8K equal | Full GPU-resident on 24GB Mac | GGUF | Apache 2.0
Downloads · 30 days
69
5% of all-time downloads
All-time downloads
1.3K
Public
Repo size
13.7 GB
Likes
10
Public
Click a slice to open those files.
.gguf13.7 GB · 100%
From the Hugging Face model README
13.67 GB | 204/256 experts | Q3_K_M | MMLU -1pp, GSM8K equal | Full GPU-resident on 24GB Mac | GGUF | Apache 2.0
A pruned variant of Qwen3.5-35B-A3B that fits entirely in GPU memory on a 24GB Mac while preserving near-original quality. The official Q4_K_M (21.2 GB) requires swap; this model runs fully GPU-resident.
| Benchmark | Original Q3_K_M (16.80 GB) | This Model (13.67 GB) | Delta |
|---|---|---|---|
| MMLU (0-shot, 100Q, no-think) | 81% | 80% | -1 pp |
| GSM8K (0-shot, 50Q, no-think) | 82% | 82% | 0 pp |
| LCB Easy (142Q, no-think) | 93.0% | 83.1% | -9.9 pp |
| HumanEval (50Q) | 50% | 38% | -12 pp |
| JA Quality (20Q) | 100% | 85% | -15 pp |
| File size | 16.80 GB | 13.67 GB | -18.6% |
Note: LiveCodeBench Easy (142 competitive programming problems from LeetCode/AtCoder/Codeforces, 2024+) is the primary code benchmark. HumanEval 50Q is unreliable at this sample size -- LCB and HumanEval gave opposite conclusions for model comparisons in our testing.
We also tested Weight-80% + MxMoE (mixed quantization, 12.69 GB) but found it damages code quality:
| Model | Size | MMLU | LCB Easy |
|---|---|---|---|
| This model (Weight-80%) | 13.67 GB | 80% | 83.1% |
| Weight-80% + MxMoE | 12.69 GB | 78% | 77.5% |
The extra 1 GB savings is not worth -5.6pp on code generation.
| Property | Value |
|---|---|
| Base model | Qwen/Qwen3.5-35B-A3B |
| Total parameters | ~35B (3B active per token) |
| Architecture | Gated DeltaNet (75%) + Full Attention (25%) with Sparse MoE |
| Layers | 40 (30 DeltaNet + 10 Full Attention) |
| Experts per layer | 204 (pruned from 256) |
| Routing | Top-8, softmax |
| Expert FFN dim | 512 (SwiGLU) |
| Shared expert | 1 per layer (FFN dim 512) |
| Hidden size | 2048 |
| Attention heads | 16 (2 KV heads, GQA) |
| Context length | 262K tokens |
| Quantization | Q3_K_M (Unsloth imatrix) |
| Pruning | Weight-based importance, 80% expert retention |
| File size | 13.67 GB (12.73 GiB) |
| License | Apache 2.0 |
Requires llama.cpp build 8140+ for Qwen3.5 DeltaNet support.
llama-server \
-m PrunedHub-Qwen3.5-35B-A3B-80pct-Q3_K_M.gguf \
--port 8090 \
-ngl 99 \
-c 4096
Once llama-server is running:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8090/v1", api_key="none")
response = client.chat.completions.create(
model="default",
messages=[{"role": "user", "content": "Write a Python function to find the longest palindromic substring."}],
max_tokens=1024,
temperature=0.7,
)
print(response.choices[0].message.content)
Each expert is scored using weight magnitude importance -- the L2 norm of the expert's FFN weight matrices:
importance(layer, expert) = ||gate_weight||_F + ||up_weight||_F + ||down_weight||_F
The bottom 20% of experts per layer are removed (256 -> 204 experts/layer). Weight-based scoring outperformed activation-based calibration for this model:
| Method | MMLU | GSM8K | Notes |
|---|---|---|---|
| Weight-based (this model) | 80% | 82% | Weight magnitude captures full training data |
| Activation calibration | 78% | 78% | 55 prompts insufficient for 256 experts |
| Union (weight + activation) | 78% | 80% | No improvement over weight-only |
With 256 experts per layer, activation-based calibration (55 prompts x 32 tokens) cannot adequately cover all experts. Weight magnitude, which encodes information from the full training data, provides a more reliable importance signal. This is consistent with findings that weight-based pruning dominates for high expert-count models.
Original Q4_K_M: 21.20 GB (256 experts x 40 layers)
Original Q3_K_M: 16.80 GB (256 experts x 40 layers)
After 80% pruning: 13.67 GB (204 experts x 40 layers, Q3_K_M)
Total reduction: -18.6% (from Q3_K_M), -35.5% (from Q4_K_M)
| Keep % | Experts/Layer | MMLU | Notes |
|---|---|---|---|
| 100% (original Q3_K_M) | 256 | 81% | Baseline |
| 90% | 230 | 79% | Minor loss |
| 80% (this model) | 204 | 80% | Best tradeoff |
| 70% | 179 | ~65% | Quality cliff |
The Dense 27B model outperforms the MoE 35B-A3B on many benchmarks, but at 9x inference cost:
| Metric | 35B-A3B (MoE) | 27B (Dense) |
|---|---|---|
| MMLU-Pro | 85.3 | 86.1 |
| LiveCodeBench v6 | 74.6 | 80.7 |
| Active params | 3B | 27B |
| Inference cost | 1x | 9x |
MoE's value is cost efficiency: 3B active parameters achieve 85-93% of the Dense 27B's quality. And only MoE models can be further compressed via expert pruning.
| Model | Size | MMLU | Notes |
|---|---|---|---|
| PrunedHub-GPT-OSS-20B-28x | 10.4 GB | 78% | Lossless pruning, GPU-resident on 16GB |
| PrunedHub-Qwen3-30B-A3B-EN-MxMoE | 13.5 GB | 70% | EN-optimized, mixed quantization |
| PrunedHub-Qwen3-30B-A3B-JP-MxMoE | 13.5 GB | 73% | JP-optimized, mixed quantization |
| This model | 13.67 GB | 80% | Qwen3.5, best quality-per-GB |
@misc{goba2026qwen35prune,
title = {Weight-Based Expert Pruning for Qwen3.5-35B-A3B},
author = {GOBA-AI-Labs},
year = {2026},
url = {https://huggingface.co/GOBA-AI-Labs/PrunedHub-Qwen3.5-35B-A3B-80pct},
note = {80\% expert retention achieves 19\% size reduction with MMLU -1pp on 256-expert DeltaNet MoE}
}
This model inherits the Apache 2.0 License from the base model (Qwen/Qwen3.5-35B-A3B).