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

lunahr/gemma-3-4b-abliterated

lunahr Gemma 3.9B multimodal
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/lunahr%2Fgemma-3-4b-abliterated"
Response includes
  • classification m1
  • files 12
  • hub_downloads_all_time 791
  • author_summary 9 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
791
28 last 30d - cooling
Likes
2
Descendants
1
in 1 direct fork
Model age
19mo ago
created 2025-03-16
Downloads over time
Now802→from20↑3,910%
029358788020 on Mar 12, 2025802 on Oct 11Mar '25Jun '25Sep '25Dec '25MarJunSep
Mar 12, 2025 → Oct 11 · 122 snapshots · spans 578 days

Genealogy 1 direct fork

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
Tags
transformers safetensors gemma3_text text-generation conversational base_model:gghfez/gemma-3-4b-novision base_model:finetune:gghfez/gemma-3-4b-novision license:gemma text-generation-inference endpoints_compatible region:us

Related

Total size
7.23 GB
Files
12
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2025-03-16 13:33

Files by quantization

Auxiliary files 12 files 7.26 GB
model-00001-of-00002.safetensors 4.62 GB 92a5e899 download
model-00002-of-00002.safetensors 2.61 GB 53bf7f21 download
tokenizer.json 31.8 MB 4667f208 download
tokenizer.model 4.47 MB 1299c11d download
tokenizer_config.json 1.10 MB c3982b0b download
model.safetensors.index.json 36.4 KB 3b0ef9b0 download
README.md 2.00 KB c839d566 download
.gitattributes 1.53 KB 52373fe2 download
config.json 933 B 138f2723 download
special_tokens_map.json 670 B bdd437b8 download
generation_config.json 173 B c70e3f06 download
added_tokens.json 35.0 B e17bde03 download

README current version from Hugging Face


base_model:

  • gghfez/gemma-3-4b-novision
    license: gemma
    pipeline_tag: text-generation
    library_name: transformers

Gemma 3 4B (abliterated text-only) model card

This is an abliterated text-only version of google/gemma-3-4b-it, created using Baukit.

The vision encoders were removed by gghf. Please note that this model may exhibit a reduced performance.

Model Description

  • Original Model: The original Gemma-3-4b-it is a multimodal model released by Google that can process both text and images
  • This Version: This version has been modified to use the same architecture as the text-only 1b model, with the vision components removed
  • Parameters: 4 billion parameters
  • Conversion Process: Vision-related components were stripped while maintaining the text generation capabilities

Usage

You can load and use this model the same way you would use the text-only google/gemma-3-1b-it version:

from transformers import AutoTokenizer, BitsAndBytesConfig, Gemma3ForCausalLM
import torch

model_id = "gghfez/gemma-3-4b-novision"

quantization_config = BitsAndBytesConfig(load_in_8bit=True)

model = Gemma3ForCausalLM.from_pretrained(
    model_id, quantization_config=quantization_config
).eval()

tokenizer = AutoTokenizer.from_pretrained(model_id)

messages = [
    [
        {
            "role": "system",
            "content": [{"type": "text", "text": "You are a helpful assistant."},]
        },
        {
            "role": "user",
            "content": [{"type": "text", "text": "Write a poem on Hugging Face, the company"},]
        },
    ],
]
inputs = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device).to(torch.bfloat16)


with torch.inference_mode():
    outputs = model.generate(**inputs, max_new_tokens=64)

outputs = tokenizer.batch_decode(outputs)

README history 2 versions

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

  1. 2025-03-16Update readmeda162422 KB
    Loading...
  2. 2025-03-15Create README.mdb350a9c1.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