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

RichardErkhov/ymcki_-_gemma-2-2b-jpn-it-abliterated-17-18-24-8bits

RichardErkhov Gemma 2.0B
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/RichardErkhov%2Fymcki_-_gemma-2-2b-jpn-it-abliterated-17-18-24-8bits"
Response includes
  • classification m1
  • files 9
  • hub_downloads_all_time 33
  • author_summary 257 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
33
8 last 30d - stable
Likes
0
Model age
20mo ago
created 2025-01-22
Downloads over time
Now35→from2↑1,650%
01326382 on Jan 22, 202535 on Oct 1135 on Oct 10Jan '25Apr '25Jul '25Oct '25JanAprJulOct
Jan 22, 2025 → Oct 11 · 129 snapshots · spans 627 days

Metadata

Tags
safetensors gemma2 8-bit bitsandbytes region:us

Related

Total size
2.99 GB
Files
9
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2025-01-22 21:26

Files by quantization

Auxiliary files 9 files 3.02 GB
model.safetensors 2.99 GB cedd43be download
tokenizer.json 32.8 MB 6c36fea8 download
tokenizer.model 4.04 MB 6969e640 download
tokenizer_config.json 45.9 KB 3b0bf926 download
README.md 4.18 KB 9338287e download
.gitattributes 1.53 KB 52373fe2 download
config.json 1.31 KB e298b156 download
special_tokens_map.json 555 B e4005839 download
generation_config.json 168 B f4d86985 download

README current version from Hugging Face

Quantization made by Richard Erkhov.

Github

Discord

Request more models

gemma-2-2b-jpn-it-abliterated-17-18-24 - bnb 8bits

Original model description:

base_model: google/gemma-2-2b-jpn-it
language:

  • multilingual
    datasets:
    • mlabonne/harmless_alpaca
    • mlabonne/harmful_behaviors
      library_name: transformers
      license: gemma
      license_link: https://ai.google.dev/gemma/terms
      pipeline_tag: text-generation
      tags:
  • nlp
  • code
    quantized_by: ymcki
    widget:
  • messages:
    • role: user
      content: Can you provide ways to eat combinations of bananas and dragonfruits?

Original model: https://huggingface.co/google/gemma-2-2b-jpn-it

Prompt format

<start_of_turn>user
{prompt}<end_of_turn>
<start_of_turn>model
<end_of_turn>
<start_of_turn>model

Note that this model does not support a System prompt.

This is abliterated model of google/gemma-2-2b-jpn-it using the
method
described by mlabonne.

This time multiple Layers are abliterated to study its performance.
Layer 17, 18 and 24 of the original model were chosen for abliteration.

It is uploaded here to be evaluated by the Open LLM Leaderboard to see how brain damaged it
is compared to the original model.

ORPO fine tuning is currently underway to see if it can regain its sanity. You can play with this model first or wait until I am done with the fine tuning.

Benchmark (100.0*raw scores only)

Click on the model name go to the raw score json generated by Open LLM Leaderboard.

Model Average IFEval BHH Math Lv5 GPQA MUSR MMLU-PRO
gemma-2-2b-jpn-it 30.82 54.11 41.43 0.0 27.52 37.17 24.67
gemma-2-2b-jpn-it-abliterated-17 30.29 52.65 40.46 0.0 27.18 36.90 24.55
gemma-2-2b-jpn-it-abliterated-18 30.61 53.02 40.96 0.0 27.35 37.30 25.05
gemma-2-2b-jpn-it-abliterated-24 30.61 51.37 40.77 0.0 27.77 39.02 24.73
gemma-2-2b-jpn-it-abliterated-17-18-24 29.17 51.33 37.82 0.0 28.10 34.92 22.82

It is only slightly dumber than the original for models that have only one layer abliterated. For the model with three layers abiliterated, the brain damage is more significant.

How to run this model

from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch

model_id = "gemma-2-2b-jpn-it-abliterated-17-18-24"
dtype = torch.bfloat16

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="cuda",
    torch_dtype=dtype,)

chat = [
    { "role": "user", "content": "Write a hello world program" },
]
prompt = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)

Downloading using huggingface-cli

First, make sure you have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Then, you can target the specific file you want:

huggingface-cli download ymcki/gemma-2-2b-jpn-it-abliterated-17-18-24 --include "*" --local-dir ./

Credits

Thank you mlabonne for describing his abliteration method.

README history 1 version

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

  1. 2025-01-22uploaded readme52139944.2 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