← back to catalog · registered 2026-08-22 13:56

divinetribe/gemma-4-12B-it-abliterated-4bit-mlx-text

divinetribe Gemma 12B second-order
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/divinetribe%2Fgemma-4-12B-it-abliterated-4bit-mlx-text"
Response includes
  • classification m1
  • files 11
  • hub_downloads_all_time 1,576
  • author_summary 14 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
2K
408 last 30d - stable
Likes
0
Model age
4mo ago
created 2026-06-05
Downloads over time
Now1.7K→from507↑243%
4469171.4K1.9K507 on Jun 101.7K on Oct 12JunJulAugSepOct
Jun 10 → Oct 12 · 58 snapshots · spans 124 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
gemma
Languages
en
Tags
mlx safetensors gemma4 abliterated text-generation mlx-lm apple-silicon local-llm on-device macbook uncensored 12b

Related

Total size
10.2 GB
Files
11
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-08-22 20:27

Files by quantization

Auxiliary files 11 files 10.2 GB
model-00001-of-00003.safetensors 4.98 GB b4c28f54 download
model-00002-of-00003.safetensors 4.95 GB af5cfef2 download
model-00003-of-00003.safetensors 274 MB 0c560b8e download
tokenizer.json 30.7 MB cc8d3a0c download
model.safetensors.index.json 126 KB b003e8d4 download
config.json 31.4 KB e6c7c39e download
chat_template.jinja 11.8 KB 33c51c2d download
README.md 3.84 KB 08f77e76 download
tokenizer_config.json 2.68 KB 81a6df7b download
.gitattributes 1.53 KB 52373fe2 download
generation_config.json 260 B d09dccf1 download

README current version from Hugging Face


base_model:

  • OpenYourMind/gemma-4-12B-it-abliterated-uncensored
  • google/gemma-4-12B-it
    base_model_relation: quantized
    license: gemma
    language:
  • en
    library_name: mlx
    pipeline_tag: text-generation
    tags:
  • mlx
  • gemma4
  • abliterated
  • text-generation
  • mlx-lm
  • apple-silicon
  • local-llm
  • on-device
  • macbook
  • uncensored
  • 12b
  • 4-bit
  • gemma-4
  • text-only

Gemma 4 12B IT — Abliterated — 4-bit MLX (text-only)

Uncensored Gemma 4 12B that loads on the current pip install mlx-lm release. Other 12B MLX builds still stop with Model type gemma4_unified not supported on mlx-lm 0.31.3, the newest version on PyPI. This one is stripped to the text tower and relabeled gemma4, so it loads with no patching. 11 GB, 24 GB Mac.

A text-only 4-bit MLX build of Gemma 4 12B (abliterated) that loads directly
under mlx_lm — the same way divinetribe/gemma-4-31b-it-abliterated-4bit-mlx does.

Why this exists

Google ships google/gemma-4-12B-it with model_type: gemma4_unified (text + vision +
audio in one checkpoint), while the 31B ships as plain model_type: gemma4. mlx_lm
has a gemma4 loader but no gemma4_unified loader in the current PyPI release
(0.31.3, uploaded 2026-04-22), so every standard 12B MLX build (including the
4-bit/8-bit/bf16 mlx-community ones) fails there with:

ValueError: Model type gemma4_unified not supported.

Upstream status (checked 2026-08-12): this was fixed on mlx-lm main in
#1349 (merged 2026-06-05), which remaps
gemma4_unified to the gemma4 loader and strips the towers in sanitize(). It has not
shipped to PyPI yet, so pip install mlx-lm still hits the error above. Once a release
carries it, the standard mlx-community builds will load too and this repo's advantage
becomes just the abliteration.

Switching the loader to mlx_vlm then hangs, because it tries to spin up vision and
audio towers a text-only server never feeds.

This repo fixes that by stripping the multimodal towers (vision_embedder,
embed_vision, embed_audio, …) and relabeling model_type: gemma4, leaving only the
language_model.* tensors. The 4-bit abliterated weights are preserved byte-for-byte —
nothing is re-quantized. The result loads in plain mlx_lm like any text model.

Use

pip install mlx-lm
from mlx_lm import load, generate
model, tok = load("divinetribe/gemma-4-12B-it-abliterated-4bit-mlx-text")
print(generate(model, tok, prompt="Hello", max_tokens=128))

Or point an MLX server at it:

MLX_MODEL=divinetribe/gemma-4-12B-it-abliterated-4bit-mlx-text

Runs comfortably on a 32 GB Apple-Silicon Mac (≈7 GB weights, 4-bit).

Provenance

Derived from divinetribe/gemma-4-12B-it-abliterated-4bit-mlx — same abliteration,
text tower only. Base: google/gemma-4-12B-it.

More abliterated MLX models

Part of the Abliterated MLX for Apple Silicon
collection — 11 uncensored models converted for Macs, from Gemma 4 12B up to
Llama 3.3 70B, plus Qwen3, Qwen3-VL, Hermes 4 and Muse Glimmer 30B.


Part of Claude Code Local

This model is one of the fighters in Claude Code Local (3.2k★), which runs Claude Code 100% on-device on Apple Silicon through an MLX-native Anthropic-API server. Not sure which local model to run as an agent? Check the Agent-12 local agent leaderboard: real agent tasks, judged by the filesystem, same hardware for every row.

Built by Matt Macosko in Arcata, CA. Open to work on local-AI and Apple Silicon inference: [email protected].

README history 6 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-22Model card: link to Claude Code Local and the Agent-12 leaderboardc5d346a3.8 KB
    Loading...
  2. 2026-08-12Accuracy: gemma4_unified is fixed on mlx-lm main (#1349), just not in the PyP...3f123973.2 KB
    Loading...
  3. 2026-08-12Fix lineage: credit the abliteration source, not just Google's baseedf998a2.6 KB
    Loading...
  4. 2026-08-12SEO: lead with a searchable summary, cross-link the collection58f97662.6 KB
    Loading...
  5. 2026-08-12SEO: base_model lineage, language, Apple Silicon / MLX tags5670eba2 KB
    Loading...
  6. 2026-06-05Text-only Gemma 4 12B abliterated 4-bit MLX (gemma4, loads in mlx_lm)64bbaff1.9 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration