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

humanizer-abliterated-FP8-DYNAMIC

HF 源站

moeshawky/humanizer-abliterated-FP8-DYNAMIC is an uncensored open-source model hosted on Hugging Face.

Text GenerationsafetensorsLicense: apache-2.012Btransformersgemma4_unifiedimage-text-to-textquantizationfp8int8compressed-tensorsw8a8abliterationuncensoredgemma
README.md说明 / 使用方法

license: apache-2.0 base_model:

  • jialinyyzz/humanizer
  • google/gemma-4-12B pipeline_tag: text-generation library_name: transformers tags:
  • quantization
  • fp8
  • int8
  • compressed-tensors
  • w8a8
  • abliteration
  • uncensored
  • gemma

humanizer-abliterated — FP8 (E4M3, weight-only + dynamic activations)

8-bit FP8-DYNAMIC of the 11.96B abliterated rewrite model — 54% of the BF16 original, language-model linears only.

Status: structurally verified and runnable, not benchmarked. See Verification for exactly what was measured and what was not.

What this is

An 8-bit compressed-tensors quantization of distributedcognition/humanizer-abliterated, produced with llmcompressor.model_free_ptq directly from the BF16 safetensors. The result is an ordinary Hugging Face model directory whose linear weights are stored in 8-bit with compressed-tensors metadata in config.json, so it loads in vLLM, SGLang, or Transformers without a conversion step.

ArchitectureGemma4UnifiedForConditionalGeneration
Parameters11.96B
Layers / hidden / vocab48 / 3840 / 262,144
Source BF1623.92 GB, 677 tensors
This artifact13.02 GB (54.4% of BF16)
Linear layers quantized328
Weight formatF8_E4M3, per-output-channel scale, symmetric
Activation formatF8_E4M3, dynamic, per-token
Chat templatenone — completion-style rewriter, see prompt_format.json

Quantization scope

Only linear layers inside the language-model decoder were quantized. Everything else stays BF16:

  • lm_head and model.embed_tokens — the input embedding and the output projection.
  • The vision and audio towers (re:.*vision.*, re:.*audio.*) — this is a text-only pipeline.

Of 677 source tensors, 328 linear weights were quantized.

Keeping the embedding at BF16 is not cosmetic. tie_word_embeddings=True, so the embedding table is the output projection — quantizing it quantizes the logits. The failure mode, measured directly, is silent: the weights load without error, the file is a plausible size, and the model then returns the same handful of low-ID tokens no matter what you feed it.

Each quantized layer stores a per-output-channel scale in weight_scale.

Usage

vLLM

vllm serve moeshawky/humanizer-abliterated-FP8-DYNAMIC

SGLang

python -m sglang.launch_server --model-path moeshawky/humanizer-abliterated-FP8-DYNAMIC

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

name = "moeshawky/humanizer-abliterated-FP8-DYNAMIC"
tok = AutoTokenizer.from_pretrained(name)
model = AutoModelForCausalLM.from_pretrained(name, dtype="bfloat16", device_map="auto")

Prompting. This is not a chat model. It ships prompt_format.json holding the instruction and separator it was tuned on: render instr + draft + sep, where sep is "\n\n### Rewritten:\n\n". Passing a chat-formatted prompt degrades output quality.

Verification

Measured:

  • Weight fidelity. FP8 ≈ 31.6 dB and INT8 ≈ 39.9 dB SNR against the BF16 source on dequantized attention and MLP projections.
  • Output distribution and generation. Last-position logits over the 262,144-token vocabulary have σ = 4.8125 for FP8 and 4.6875 for INT8, against 4.8125 for the BF16 source, with an identical top-5 continuation and coherent greedy output.
  • Tensor census. 328 quantized tensors and 328 scales, with all embeddings, lm_head, and the vision/audio towers confirmed BF16 by header inspection.
  • Schemas. config.json declares quant_method=compressed-tensors, format=float-quantized, weights 8-bit / num_bits: 8 / channel strategy / symmetric, input activations 8-bit dynamic per-token.

Not measured — do not quote this repo for any of these:

  • No perplexity, KL divergence, or task accuracy. The source ships MMLU artifacts; these quantized checkpoints were not re-scored against them. A quantization that preserves fluency can still be worse on tasks, and nothing here rules that out.
  • No throughput or latency. INT8 W8A8 speed depends on the serving kernel, not the artifact.
  • No ablation-robustness test. These models are refusal-removed; quantization may partially restore refusal. Untested here.

Provenance

ItemValue
Sourcedistributedcognition/humanizer-abliterated (BF16 safetensors)
Base modelsjialinyyzz/humanizer and google/gemma-4-12B
Toolllmcompressor 0.14.0 / compressed-tensors 0.19.0, model_free_ptq (no calibration set)
MethodFP8 weight-only dynamic, weights E4M3 channel-wise symmetric, activations E4M3 dynamic per-token
Date2026-10-17

model_free_ptq uses no calibration dataset: weight scales come from the weights themselves and activations are quantized at runtime. The artifact is therefore dataset-independent.

License and obligations

Upstream is apache-2.0. That is this artifact's license, but the base models (jialinyyzz/humanizer and google/gemma-4-12B) carry their own terms, including regional access limits on the Qwen line. If you redistribute or serve this checkpoint, you inherit those obligations; read them before deploying.

HUGGING FACE

上游数据

HF 下载量0
HF 点赞量0

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

SITE STATS

本站统计

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

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

来源与版本

作者
moeshawky
最近更新
2026/10/17
最新创建
2026/10/17
HF 趋势
未知
数据快照
2026/10/17
版本
未知
许可证
apache-2.0