玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
Asilarkness /

GLM-5.3-Flash-Uncensored-NVFP4-Pruning-62GB

HF 源站

Asilarkness/GLM-5.3-Flash-Uncensored-NVFP4-Pruning-62GB is an uncensored open-source model hosted on Hugging Face.

safetensorsEnglishLicense: apache-2.0glm5_nextmoenvfp4compressed-tensorsexpert-pruninguncensoredglm5codereasoningru8-bit
README.md说明 / 使用方法

license: apache-2.0 base_model: orcarouter/GLM-5.3-Flash-Uncensored-NVFP4 tags:

  • moe
  • nvfp4
  • compressed-tensors
  • expert-pruning
  • uncensored
  • glm5
  • code
  • reasoning language:
  • en
  • ru

GLM-5.3-Flash-Uncensored-NVFP4-Pruning-62GB

Expert-pruned version of orcarouter/GLM-5.3-Flash-Uncensored-NVFP4, cut to fit a single 96GB GPU with generous headroom left for KV-cache and long context.

What was pruned

  • MoE experts per sparse layer: 288 -> 80 (42 sparse layers, top-8 routing kept)
  • Shared experts, dense layers (0-2), attention (MLA), vision tower: untouched
  • Router (mlp.gate.weight, e_score_correction_bias) sliced to the kept experts, indices remapped 0..79
  • NVFP4 compressed-tensors quantization preserved (packed weights + scales remapped, no requantization)

Pruning method

Per-expert importance score per layer:

score = z(router_norm) + z(expert_magnitude) + 0.5 * z(calibration_affinity)
  • router_norm ? L2 norm of the router row for the expert
  • expert_magnitude ? mean FP8 scale x global scale over gate/up/down projections
  • calibration_affinity ? dot product of the normalized router row with the centroid of ~200 calibration tokens covering coding, math, logic and dialogue (EN), embedded with the model's own embed_tokens

Top-80 experts per layer kept. Pruning target was coding / agentic / logic / math / conversational ability; rare-domain experts were cut first.

Stats

BasePruned
Weights on disk~177 GiB (190 GB)~62 GiB (66 GB)
Tensors11045731833
Routed experts / MoE layer28880
MoE layers4242
VRAM on RTX PRO 6000 96GBdoes not fitfits, ~30+ GiB left for context

Usage

from transformers import AutoTokenizer, AutoModelForImageTextToText
import torch

model_id = "Asilarkness/GLM-5.3-Flash-Uncensored-NVFP4-Pruning-62GB"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
    model_id,
    trust_remote_code=True,
    device_map="auto",
    torch_dtype="auto",
)

Requirements: transformers>=5.16, accelerate, compressed-tensors. For low-VRAM edge cases add PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True and max_memory with an offload folder.

Limitations

  • Base model is uncensored/abliterated ? outputs are unfiltered.
  • Expert pruning trades rare-domain knowledge for size; coding/reasoning/dialogue were prioritized during expert selection.
  • Only smoke-tested after pruning (short greedy generations); run your own evals (HumanEval, GSM8K, MMLU) before production use.

Fix 2026-09-03: short-conv remap

Linear-attention short convolutions were stored as split q/k/v_conv1d + flat A_log/dt_bias; remapped losslessly to the fused conv1d + forget_gate.* layout expected by transformers>=5.16 modeling (fused = cat([q,k,v], dim=0)). No values changed.

HUGGING FACE

上游数据

HF 下载量206
HF 点赞量7

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
Asilarkness
最近更新
2026/09/03
最新创建
2026/09/03
HF 趋势
339
数据快照
2026/09/16
版本
未知
许可证
apache-2.0