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

Metin/LLaMA-3-8B-Instruct-Abliterated-TR

Metin Llama 8.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/Metin%2FLLaMA-3-8B-Instruct-Abliterated-TR"
Response includes
  • classification m1
  • files 13
  • benchmarks 5 entries
  • hub_downloads_all_time 519
  • author_summary 1 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
519
22 last 30d - cooling
Likes
5
Descendants
4
in 4 direct forks
Model age
2.3y ago
created 2024-06-14
Downloads over time
Now528→from16↑3,200%
019338758016 on Jul 24, 2024528 on Oct 11Jul '24Nov '24Mar '25Jul '25Nov '25MarJul
Jul 24, 2024 → Oct 11 · 155 snapshots · spans 809 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.448047736411986 OpenLLM-v2
IFEval instruct 0.5479616306954437 OpenLLM-v2
IFEval-Prompt 0.40850277264325324 OpenLLM-v2
MATH lvl 5 0.08383685800604229 OpenLLM-v2
MMLU-Pro 0.359125664893617 OpenLLM-v2

Genealogy 4 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
llama3
Languages
tr
Tags
transformers safetensors llama text-generation conversational tr base_model:meta-llama/Meta-Llama-3-8B-Instruct base_model:finetune:meta-llama/Meta-Llama-3-8B-Instruct license:llama3 model-index text-generation-inference endpoints_compatible

Related

Total size
15.0 GB
Files
13
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2024-06-16 11:37

Files by quantization

Auxiliary files 13 files 15.0 GB
model-00002-of-00004.safetensors 4.66 GB d40ecb24 download
model-00001-of-00004.safetensors 4.63 GB 6f25a9bd download
model-00003-of-00004.safetensors 4.58 GB 6221d8b8 download
model-00004-of-00004.safetensors 1.09 GB 8f0f9a7b download
tokenizer.json 8.66 MB b197f72e download
llama_bandaid.png 4.95 MB b9e9bfff download
tokenizer_config.json 49.8 KB 1bfd1146 download
model.safetensors.index.json 23.4 KB 0fd8120f download
README.md 7.18 KB 9c4cdbcd download
.gitattributes 1.54 KB 440d6b72 download
config.json 728 B 875df845 download
generation_config.json 194 B 6bc1f7e8 download
special_tokens_map.json 73.0 B d8cd5076 download

README current version from Hugging Face


license: llama3
language:

  • tr
    pipeline_tag: text-generation
    base_model: meta-llama/Meta-Llama-3-8B-Instruct

model-index:

  • name: LLaMA-3-8B-Instruct-Abliterated-TR
    results:
    • task:
      type: multiple-choice
      dataset:
      type: multiple-choice
      name: MMLU_TR_V0.2
      metrics:
      • name: 5-shot
        type: 5-shot
        value: 0.4908
        verified: false
    • task:
      type: multiple-choice
      dataset:
      type: multiple-choice
      name: Truthful_QA_V0.2
      metrics:
      • name: 0-shot
        type: 0-shot
        value: 0.4962
        verified: false
    • task:
      type: multiple-choice
      dataset:
      type: multiple-choice
      name: ARC_TR_V0.2
      metrics:
      • name: 25-shot
        type: 25-shot
        value: 0.4377
        verified: false
    • task:
      type: multiple-choice
      dataset:
      type: multiple-choice
      name: HellaSwag_TR_V0.2
      metrics:
      • name: 10-shot
        type: 10-shot
        value: 0.4486
        verified: false
    • task:
      type: multiple-choice
      dataset:
      type: multiple-choice
      name: GSM8K_TR_V0.2
      metrics:
      • name: 5-shot
        type: 5-shot
        value: 0.5323
        verified: false
    • task:
      type: multiple-choice
      dataset:
      type: multiple-choice
      name: Winogrande_TR_V0.2
      metrics:
      • name: 5-shot
        type: 5-shot
        value: 0.5513
        verified: false

A Llama with a band-aid on its head.

What is abliteration?

Arditi et al. demonstrated in their blog post that refusal in LLMs is mediated by a single direction in the residual stream. They found that preventing the model from representing this direction can enable it to answer harmful questions. For a deeper understanding of this concept, you can refer to Maxime Labonne's article on the topic.

To force the model to respond in Turkish, parallel instructions were crafted using the stackexchange subset of the LIMA dataset. These instructions were then translated into Turkish, with an additional sentence appended during runtime, prompting the model to answer in Turkish.

You can find the datasets used in this experiment via the following links:

  1. https://huggingface.co/datasets/Metin/abliteration_en
  2. https://huggingface.co/datasets/Metin/abliteration_tr

LLaMA-3-8B-Instruct-Abliterated-TR

LLaMA-3-8B-Instruct-Abliterated-TR is the abliterated version of Meta-LLaMA-3-8B-Instruct

Details:

  • 40 samples were used to find the difference of means between activations.
  • Layer 7 is selected as the layer with the highest potential Turkish speaking direction.

How to use

You can use the below code snippet to use the model:

from transformers import BitsAndBytesConfig
import transformers
import torch

bnb_config = BitsAndBytesConfig(
            load_in_4bit=True,
            bnb_4bit_use_double_quant=True,
            bnb_4bit_quant_type="nf4",
            bnb_4bit_compute_dtype=torch.bfloat16
)

model_id = "Metin/LLaMA-3-8B-Instruct-Abliterated-TR"

pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.bfloat16 ,'quantization_config': bnb_config},
    device_map="auto",
)

messages = [
    {"role": "system", "content": "You are a helpful assistant."}, # Ideally we should not have to tell the model to answer in Turkish after abliteration.
    {"role": "user", "content": "Python'da bir öğenin bir listede geçip geçmediğini nasıl kontrol edebilirim?"},
]

prompt = pipeline.tokenizer.apply_chat_template(
        messages,
        tokenize=False,
        add_generation_prompt=True
)

terminators = [
    pipeline.tokenizer.eos_token_id,
    pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
]

outputs = pipeline(
    prompt,
    max_new_tokens=512,
    eos_token_id=terminators,
    do_sample=True,
    temperature=0.2,
    top_p=0.9,
)

print(outputs[0]["generated_text"][len(prompt):])

OpenLLMTurkishLeaderboard_v0.2 benchmark results

  • MMLU_TR_V0.2: 49.08%
  • Truthful_QA_TR_V0.2: 49.62%
  • ARC_TR_V0.2: 43.77%
  • HellaSwag_TR_V0.2: 44.86%
  • GSM8K_TR_V0.2: 53.23%
  • Winogrande_TR_V0.2: 55.13%
  • Average: 49.28%

These scores may differ from what you will get when you run the same benchmarks, as I did not use any inference engine (vLLM, TensorRT-LLM, etc.)

Output Example (Abliterated Model vs Base Model)

Testing the model with a single example is not an accurate method. However, an example is provided here to showcase the model's capabilities.

Model: LLaMA-3-8B-Instruct-Abliterated-TR

Input

messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Gökyüzü neden mavi?"},
]

Output

A classic question!

Gökyüzü (the sky) neden mavi (blue) sorusu, Türkçe'de "Why is the sky blue?" olarak çevrilebilir. Bu soruya cevap vermek için, ilk olarak, gökyüzünün mavi olmasının nedenini açıklamak gerekir.

Gökyüzünün mavi olmasının nedeni, ışığın farklı uzunluklarındaki yayılımına dayanır. Işık, gökyüzüne ulaşmadan önce, atmosferde bulunan gaz moleküllerine çarpınır. Bu çarpma, ışığın farklı uzunluklarındaki yayılımına neden olur.

Gökyüzünün mavi olmasının nedeni, ışığın kısa dalga boyunda (yaklaşık 450-495 nm) yayılımına dayanır. Bu dalga boyunda ışığın, gökyüzüne ulaşmadan önce, atmosferde bulunan gaz moleküllerine çarpınır. Bu çarpma, ışığın mavi renkini oluşturur.

Diğer renkler, farklı dalga boyunda yayılımına neden olur. Örneğin, kırmızı renk, ışığın uzun dalga boyunda (yaklaşık 620-750 nm) yayılımına neden olur. Bu nedenle, gökyüzünün mavi olmasının nedeni, ışığın kısa dalga boyunda yayılımına dayanır.

Bu cevap, gökyüzünün mavi olmasının nedenini açıklamaktadır.

Model: LLaMA-3-8B-Instruct

Input

A question that has puzzled humans for centuries!

The short answer is that the sky appears blue because of a phenomenon called Rayleigh scattering. This is the scattering of light by small particles or molecules in the atmosphere, such as nitrogen (N2) and oxygen (O2).

When sunlight enters the Earth's atmosphere, it encounters these tiny molecules and scatters in all directions. However, shorter (blue) wavelengths are scattered more than longer (red) wavelengths. This is because the smaller molecules are more effective at scattering the shorter wavelengths.

As a result, our eyes perceive the blue light as being more abundant, giving the sky its blue appearance. The color of the sky can vary depending on the time of day, atmospheric conditions, and other factors, but Rayleigh scattering is the main reason why the sky appears blue.

In Turkish, the phrase "Gökyüzü neden mavi" can be translated to "Why is the sky blue?" or "What makes the sky blue?"

README history 8 versions

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

  1. 2024-06-16Update README.md2e989cc7.2 KB
    Loading...
  2. 2024-06-16Update README.md6093dea5 KB
    Loading...
  3. 2024-06-16Update README.mda98e5fd4.9 KB
    Loading...
  4. 2024-06-15Update README.md8baa2281.2 KB
    Loading...
  5. 2024-06-15Update README.md258bd49695 B
    Loading...
  6. 2024-06-15Update README.md72bd645396 B
    Loading...
  7. 2024-06-15Update README.md7fca12f165 B
    Loading...
  8. 2024-06-14initial commita94659024 B
    Loading...

Discussions 1 thread

  1. 2026-05-04İçeriğiopen1 💬#1
    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