← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

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…

Below is the per-quantization compatibility for this model.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

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

Repackaging

Applied on top of direct removal inherited from the base model.
Confidence
MEDIUM
Inherited from base model
Why this label 2 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.
  • weight_format = mlx (MLX)
  • catalog ancestor OpenYourMind/gemma-4-12B-it-abliterated-uncensored is labeled M1
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
3K
1K last 30d - stable
Likes
0
Model age
5mo ago
created 2026-06-05
Downloads over time
Now 3.1K → from 507 ↑ 517%
3761.4K2.4K3.4K 507 on Jun 10 3.1K on Nov 27 3.1K on Nov 26 JunJulAugSepOctNov
Jun 10 → Nov 27 · 104 snapshots · spans 170 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
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-11-26 11:50

Files by quantization

Weights 3 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
Auxiliary files 8 files 30.9 MB
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 4.61 KB 1a46850a download
tokenizer_config.json 2.68 KB 81a6df7b download
.gitattributes 1.53 KB 52373fe2 download
generation_config.json 260 B d09dccf1 download

README latest version on record, committed 2026-11-25


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)

⭐ 3.8k GitHub stars (github.com/nicedreamzapp) · ⬇️ 63.8k all-time downloads (huggingface.co/divinetribe)

Source on GitHub: nicedreamzapp/claude-code-local (⭐ 3.5k stars) · this model ⬇️ 3.1k all-time downloads

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 Humboldt, CA. Open to work on local-AI and Apple Silicon inference: [email protected].

Support and work

If these models are useful to you, you can support the work on GitHub Sponsors. I'm open to full-time and contract work on local AI for Apple Silicon. See what I've built at nicedreamzwholesale.com/software or email [email protected].

README history 20 versions

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

  1. 2026-11-25 Update live stats d42ce32 4.6 KB
    Loading...
  2. 2026-11-24 Update live stats 2c14568 4.6 KB
    Loading...
  3. 2026-11-23 Update live stats 6224ada 4.6 KB
    Loading...
  4. 2026-11-23 Update live stats 55cba5f 4.6 KB
    Loading...
  5. 2026-11-22 Update live stats e372f3f 4.6 KB
    Loading...
  6. 2026-11-22 Update live stats 39669f9 4.6 KB
    Loading...
  7. 2026-11-21 Add support and work links 5e68b14 4.6 KB
    Loading...
  8. 2026-11-21 Update live stats 36b5e0b 4.3 KB
    Loading...
  9. 2026-11-20 Update live stats 34f146c 4.3 KB
    Loading...
  10. 2026-11-20 Update live stats 2f4710f 4.3 KB
    Loading...
  11. 2026-11-19 Update live stats fe24889 4.3 KB
    Loading...
  12. 2026-11-18 Update live stats a8294c3 4.3 KB
    Loading...
  13. 2026-11-17 Update live stats 67966ef 4.3 KB
    Loading...
  14. 2026-11-16 Update live stats c225eb0 4.3 KB
    Loading...
  15. 2026-11-15 Update live stats a0c282c 4.3 KB
    Loading...
  16. 2026-11-15 Update live stats e1db19b 4.3 KB
    Loading...
  17. 2026-11-14 Update live stats 944b8e5 4.3 KB
    Loading...
  18. 2026-11-13 Update live stats 489d870 4.3 KB
    Loading...
  19. 2026-11-12 Update live stats 99ec326 4.3 KB
    Loading...
  20. 2026-11-11 Update live stats 59e1240 4.3 KB
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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