abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.
← back to catalog · indexed 2026-08-31 10:03added 2026-08-31 10:03

AmareshHebbar/Llama-3.1-8B-Instruct-Abliterated

AmareshHebbar Llama 8B

M1 Direction removal · 12 downloads · 0 likes

Your rigComputer guess connected
? Why do I need an app?
Reading your rig…Checking…

Below is the per-quantization compatibility for this model.Below: which compressed versions fit your computer.

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/AmareshHebbar%2FLlama-3.1-8B-Instruct-Abliterated"
Response includesThe data includes
  • method_v2.family M1
  • files 7
  • benchmarks 21 entries
  • hub_downloads_all_time 22
  • author_summary 12 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload10 credits · updated hourly · reply about 4 KB Get an API key →
Abliteration classifier · v2.1.0 · M-codes 2.0How this model was made
M1
Method familyMethod

Direction removal

Uncensoring event in this repository: M1 · classic · modules · bitnarrow.Refusals were removed here.

EvidenceHow we know
ˢ Stated
Specialist codeShort code M1 · classic · modules · bitnarrow · original · bnb ˢ
  • VariantForm classic S
  • Scope modules S
  • Tool bitnarrow S
  • LineageFamily tree original S
  • DistributionFiles bnb T
Why this label 8 answers
FamilyMethod
M1 Stated The card names a direction-removal tool or states the abliterationThe card says so
VariantForm
classic Stated Direction removal stated without a refinement: the classic formThe standard form
Scope
modules Stated The card names the edited modulesThe card names the parts changed
Tool
bitnarrow Stated Read from the model card by the card-reading pass (stated by the author)Read from the model card
Post-processingAfterwards
not stated
LineageFamily tree
original Stated Published as the author's own release, with no uncensored ancestorThe author's own release
DistributionFiles
bnb Tool record From the repository's file formatsFrom the files
Target
refusal Guessed No other target stated, so refusals
Where the change lives
weights Stated Follows from the familyFollows from the method
Hardened base
not stated
Refusal direction extracted viaFinding the refusal signal
Extraction techniqueHow it was found

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)

Licence and originprovenance

Original release
  • Provider: Meta Provider: Meta original.provider
  • Release: meta-llama/Llama-3.1-8B-Instruct Original release repo: meta-llama/Llama-3.1-8B-Instruct original.release_id
  • Licence of the original release: Llama 3.1 Community License Licence of the original release: Llama 3.1 Community License original.licence
  • EU training-content summary published: not found as of 2026-11-29 EU training-content summary (AI Act Art. 53(1)(d)): none found, last checked 2026-11-29 original.eu_training_summary
  • Provider documents taken from the researched release of the same release line, meta-llama/Llama-3.1-8B Provider documents taken from the researched release of the same release line, meta-llama/Llama-3.1-8B original.eu_training_summary.from_release
  • Original release found via models it says it is built on Link found in the lineage graph (declared base models) link_source
This model
  • Licence stated by this model: llama3.1 Licence in the model card metadata: llama3.1 this_model.declared_licence
  • Original terms require a separate licence for some commercial use. Original licence requires a separate licence for some commercial use flags.separate_commercial_licence
Details
  • Exact wording of the original terms 1 quote from Meta quotes
  • Condition behind each line 1 condition conditions
  • Full licence text dated copy of 30 Nov 2026 licence_text
  • Chain to this model 2 steps, 1 file hash chain
  • Provider documents 6 facts with sources provider_documents
  • Licences side by side licences

From public data checked on 2026-12-06. Not legal advice. How this is checked · Report a problem with this information

Downloads · lifetimeDownloads · all time
53
12 last 30d - 10 to 50% of lifetime10 to 50% of total
Likes
0
Model age
3mo ago
created 2026-08-31
Downloads over time
Now 53 → from 0 new
0193958 0 on Aug 31 53 on Dec 6 53 on Dec 2 AugSepOctNovDec
Aug 31 → Dec 6 · 98 snapshots · spans 97 daysAug 31 → Dec 6 · 98 recorded counts over 97 days

BenchmarksTest scores

Portrait before abliterationScores before the edit
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.Test scores of the model it is built on, from before refusals were removed. Compare them with the scores above to see what removing refusals cost.
BenchmarkTest Score Source
Arena-Battles 52578 LM-Arena
LM Arena Elo 1193.5124798763727 LM-Arena
Arena-Elo-Lower 1189.790314040387 LM-Arena
Arena-Elo-Upper 1197.234645712358 LM-Arena
Arena-Rank 148 LM-Arena
BBH average 0.4671163575042159 OpenLLM-v2
IFEval instruct 0.564748201438849 OpenLLM-v2
IFEval-Prompt 0.4195933456561922 OpenLLM-v2
MATH lvl 5 0.15407854984894256 OpenLLM-v2
MMLU-Pro 0.37982047872340424 OpenLLM-v2
Entertainment 0 UGI
Hazardous 0 UGI
Natural Intelligence 18.19 UGI
Political lean -15.3% UGI
Sensitive-Info 4.69 UGI
SocPol 1.4 UGI
UGI 6.46 UGI
Willingness (10) 1 UGI
W10-Adherence 0 UGI
W10-Direct 2 UGI
Writing 24.82 UGI

GenealogyFamily tree 0 direct forks

Full fork graph →All family trees →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.Its place among other models. Above: what it comes from. Below: models built on it, directly or through other models.

meta-llama/Llama-3.1-8B-Instruct this lineage
AmareshHebbar/Llama-3.1-8B-Instruct-AbliteratedM1uncensoring eventrefusals removed here↓ 12

MetadataDetails

License
Languages
en
Tags
transformersllamatext-generationabliteratedabliterationuncensoredorthogonalizedbitnarrowrepresentation-engineeringmechanistic-interpretabilityactivation-engineeringgram-schmidt

Related

Total size
108 MB
Files
7
Quantizations
none
Indexed by usAdded
2026-08-31 10:03
Last updated on HFLast updated
2026-10-21 08:23

Files by quantizationFiles by compression

Weights 1 file 92.0 MB
abliterated_weights.pt 92.0 MB d15e9427 download
Auxiliary files 6 files 16.5 MB
tokenizer.json 16.4 MB 6b9e4e7f download
tokenizer_config.json 49.5 KB 85ee78e0 download
README.md 8.10 KB cd48bf7f download
chat_template.jinja 4.51 KB 33089ace download
.gitattributes 1.53 KB 52373fe2 download
config.json 1.40 KB 290b8aa9 download

READMEAuthor's description from Hugging Face, captured 2026-10-21


license: llama3.1
base_model:

  • meta-llama/Llama-3.1-8B-Instruct
    language:
  • en
    pipeline_tag: text-generation
    library_name: transformers
    tags:
  • abliterated
  • abliteration
  • uncensored
  • orthogonalized
  • bitnarrow
  • representation-engineering
  • mechanistic-interpretability
  • activation-engineering
  • gram-schmidt
  • winsorization
  • text-generation-inference
  • conversational
  • safetensors
  • llama
  • llama-3
  • llama-3.1
  • instruct
  • chat
  • 8b
  • meta
  • roleplay

Llama-3.1-8B-Instruct-Abliterated

Flagship 8B Instruct Model (Abliterated), built with bitnarrow by Amaresh Hebbar

A flagship 8B abliterated model based on meta-llama/Llama-3.1-8B-Instruct. Delivers strong multi-turn dialogue, roleplay, red-team evaluation, and general-purpose reasoning across a 128K token window without preachy lectures or refusal guardrails.


Model Specifications

Property Value
Model ID AmareshHebbar/Llama-3.1-8B-Instruct-Abliterated
Upstream Base Model meta-llama/Llama-3.1-8B-Instruct
Architecture LlamaForCausalLM (llama)
Parameters 8.03B
Context Length 131,072 tokens
VRAM Required (BF16 / 4-bit) ~16.2 GB (BF16) / ~5.6 GB (NF4 4-bit)
Abliteration Toolkit amareshhebbar/bitnarrow
Recommended Use Case Production local LLM servers (vLLM/Ollama), red-teaming, roleplay, and deep technical Q&A.
License llama3.1

Copy-Paste Local Usage

Option 1: One-Line Terminal Download & Interactive Chat

Paste this block into your Linux/macOS terminal to install dependencies, download Llama-3.1-8B-Instruct-Abliterated, and launch an interactive chat session:

pip install -U huggingface_hub transformers torch accelerate bitsandbytes && \
hf download AmareshHebbar/Llama-3.1-8B-Instruct-Abliterated --local-dir ./models/Llama-3.1-8B-Instruct-Abliterated && \
transformers chat ./models/Llama-3.1-8B-Instruct-Abliterated

Option 2: Using the bitnarrow Local Runner Script

If you have run_abliterated.py locally:

python run_abliterated.py -m 5

python run_abliterated.py -m 5 --4bit

python run_abliterated.py -m 5 -p "Write a high-performance ring buffer in C++."

The first command runs in full BF16/FP16 precision, the second in 4-bit low-VRAM mode (~5.6 GB), and the third runs a single prompt directly from the terminal.

Option 3: Python (transformers)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "AmareshHebbar/Llama-3.1-8B-Instruct-Abliterated"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {"role": "system", "content": "You are a direct, helpful, and uncensored AI assistant."},
    {"role": "user", "content": "Explain how memory allocation and slab caches work in the Linux kernel."},
]

prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(
    **inputs,
    max_new_tokens=512,
    temperature=0.7,
    top_p=0.9,
    do_sample=True,
)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

Option 4: Run in 4-Bit Quantization (bitsandbytes Low-VRAM)

Run Llama-3.1-8B-Instruct-Abliterated using only ~5.6 GB VRAM:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig

model_id = "AmareshHebbar/Llama-3.1-8B-Instruct-Abliterated"
bnb_config = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_quant_type="nf4",
    bnb_4bit_use_double_quant=True,
    bnb_4bit_compute_dtype=torch.bfloat16,
)

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    quantization_config=bnb_config,
    device_map="auto",
)

Option 5: Serve Locally with vLLM (OpenAI-Compatible API)

pip install vllm
vllm serve AmareshHebbar/Llama-3.1-8B-Instruct-Abliterated --dtype bfloat16 --max-model-len 8192 --port 8000

Query with curl:

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "AmareshHebbar/Llama-3.1-8B-Instruct-Abliterated",
    "messages": [
      {"role": "user", "content": "Explain the internals of eBPF packet filtering."}
    ],
    "temperature": 0.7
  }'

Option 6: Convert to GGUF for Ollama / llama.cpp / LM Studio

Convert the safetensors checkpoint to an FP16 GGUF with llama.cpp, then register and run it in Ollama:

python convert_hf_to_gguf.py ./models/Llama-3.1-8B-Instruct-Abliterated \
  --outfile llama-3.1-8b-instruct-abliterated-f16.gguf \
  --outtype f16

cat > Modelfile <<EOF
FROM ./llama-3.1-8b-instruct-abliterated-f16.gguf
PARAMETER temperature 0.7
EOF

ollama create llama-3.1-8b-instruct-abliterated -f Modelfile
ollama run llama-3.1-8b-instruct-abliterated

How bitnarrow Abliteration Works

Rather than using destructive Supervised Fine-Tuning (SFT), which often degrades general reasoning or causes catastrophic forgetting, bitnarrow performs surgical weight orthogonalization directly on the transformer's residual stream:

  1. Contrastive Activation Collection: Prompts from harmful and harmless distributions are passed through meta-llama/Llama-3.1-8B-Instruct to capture hidden state activations across all transformer blocks.
  2. Winsorization Quantile Clamping: Outlier activation spikes in high-norm attention/MLP channels are clamped to prevent extreme dimensions from skewing the refusal vector calculation.
  3. Gram-Schmidt Orthogonal Projection: The refusal direction vector $\hat{r}$ is orthogonalized against harmless capability directions so that general knowledge and instruction following remain intact.
  4. Weight-Space Abliteration: Attention output projections (o_proj) and MLP down projections (down_proj) are updated directly in weight space:

$$W'\text{out} = W\text{out} - \hat{r}\left(\hat{r}^T W_\text{out}\right)$$


Complete bitnarrow Abliteration Suite

All 7 models in the Abliteration Weights Collection:

# Abliterated Model Base Checkpoint Params VRAM (BF16 / 4-bit)
1 Qwen2.5-1.5B-Abliterated Qwen/Qwen2.5-1.5B 1.54B ~3.2 GB / ~1.2 GB
2 Qwen2.5-1.5B-Instruct-Abliterated Qwen/Qwen2.5-1.5B-Instruct 1.54B ~3.2 GB / ~1.2 GB
3 Qwen2.5-7B-Instruct-Abliterated Qwen/Qwen2.5-7B-Instruct 7.61B ~15.5 GB / ~5.2 GB
4 Llama-3.2-3B-Instruct-Abliterated meta-llama/Llama-3.2-3B-Instruct 3.21B ~6.5 GB / ~2.4 GB
5 Llama-3.1-8B-Instruct-Abliterated (This Model) meta-llama/Llama-3.1-8B-Instruct 8.03B ~16.2 GB / ~5.6 GB
6 gemma-2-2b-it-Abliterated google/gemma-2-2b-it 2.61B ~5.4 GB / ~2.1 GB
7 Phi-3.5-mini-instruct-Abliterated microsoft/Phi-3.5-mini-instruct 3.82B ~7.6 GB / ~2.8 GB

Citation

If you use Llama-3.1-8B-Instruct-Abliterated or bitnarrow in your research, red-teaming, or applications, please cite:

@software{hebbar2026bitnarrow,
  author = {Amaresh Hebbar},
  title = {bitnarrow: Targeted Weight Orthogonalization and Abliteration Toolkit},
  year = {2026},
  url = {https://github.com/amareshhebbar/bitnarrow}
}

README historyEdit history 1 version1 edit

The author's README evolved over time. Click a version to see its content at that point.The author changed the description over time. Click a date to see the text as it was then.

  1. 2026-10-21 docs: update Llama-3.1-8B-Instruct-Abliterated model card, tags, and local CL... aeb7bda 8.1 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 lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration