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

ymcki/gemma-2-2b-jpn-it-abliterated-17

ymcki Gemma 2.6B
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/ymcki%2Fgemma-2-2b-jpn-it-abliterated-17"
Response includes
  • classification m1
  • files 11
  • benchmarks 5 entries
  • hub_downloads_all_time 397
  • author_summary 6 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
397
52 last 30d - stable
Likes
1
Descendants
2
in 2 direct forks
Model age
24mo ago
created 2024-10-16

Training datasets

2 of 2 in /datasets

Corpora the author lists in the model card. Datasets tracked in our /datasets catalog carry a category badge linking to the workflow stage. Others open on Hugging Face.

Downloads over time
Now428→from32↑1,238%
015731347032 on Oct 16, 2024428 on Oct 11Oct '24Feb '25Jun '25Oct '25FebJunOct
Oct 16, 2024 → Oct 11 · 143 snapshots · spans 725 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
BBH average 0.38863665845116097 OpenLLM-v2
IFEval instruct 0.5863309352517986 OpenLLM-v2
IFEval-Prompt 0.4713493530499076 OpenLLM-v2
MATH lvl 5 0 OpenLLM-v2
MMLU-Pro 0.2466755319148936 OpenLLM-v2

Genealogy 2 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
multilingual
Tags
transformers safetensors gemma2 text-generation nlp code conversational multilingual dataset:mlabonne/harmless_alpaca dataset:mlabonne/harmful_behaviors base_model:google/gemma-2-2b-jpn-it base_model:finetune:google/gemma-2-2b-jpn-it

Related

Total size
4.87 GB
Files
11
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2024-10-26 10:53

Files by quantization

Auxiliary files 11 files 4.91 GB
model-00001-of-00002.safetensors 4.65 GB 31d0fe28 download
model-00002-of-00002.safetensors 230 MB e2014a81 download
tokenizer.json 32.8 MB a5d1608a download
tokenizer.model 4.04 MB 6969e640 download
tokenizer_config.json 45.8 KB 33af7f44 download
model.safetensors.index.json 23.7 KB 022daff5 download
README.md 3.49 KB 29e40862 download
.gitattributes 1.53 KB 52373fe2 download
config.json 848 B f9f8d839 download
special_tokens_map.json 441 B a9ccd567 download
generation_config.json 168 B 2bac615c download

README current version from Hugging Face


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.

Layer 17 of the original model was chosen for abliteration.
I also created another layer 18 and 24 abliterated models for comparison.
These three layers were chosen due to they both produce uncensored response
after respective layer was abliterated.

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

It is only slightly dumber than the original.

How to run this model

from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch

model_id = "gemma-2-2b-jpn-it-abliterated-17"
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 --include "*" --local-dir ./

Credits

Thank you mlabonne for describing his abliteration method.

README history 8 versions

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

  1. 2024-10-26add 2431e53a43.5 KB
    Loading...
  2. 2024-10-24revert to origine0bfa413.2 KB
    Loading...
  3. 2024-10-24Upload 9 files74de57e4.5 KB
    Loading...
  4. 2024-10-18Upload README.md59488d33.2 KB
    Loading...
  5. 2024-10-17Upload README.md8a06a093.1 KB
    Loading...
  6. 2024-10-17Upload 8 filese6f82b92.9 KB
    Loading...
  7. 2024-10-16Upload 8 filesa1e3a802.1 KB
    Loading...
  8. 2024-10-16initial commit5426da923 B
    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