← back to catalog · registered 2026-10-31 11:01

IloveAi333/Llama-3.1-8B-uncensored-abliterated

IloveAi333 Llama 8B
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/IloveAi333%2FLlama-3.1-8B-uncensored-abliterated"
Response includes
  • classification m1
  • files 13
  • author_summary 5 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 · 30-day
0
Likes
0
Model age
today
created 2026-10-31

Genealogy 0 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.1
Languages
en
Tags
transformers safetensors llama text-generation llama-3 peft PyTorch causal-lm conversational en base_model:meta-llama/Llama-3.1-8B-Instruct base_model:finetune:meta-llama/Llama-3.1-8B-Instruct

Related

Total size
5.61 GB
Files
13
Quantizations
1
Registered
2026-10-31 11:01
Last updated on HF
2026-10-31 10:53

Files by quantization

Auxiliary files 13 files 5.63 GB
model-00001-of-00004.safetensors 1.86 GB ceb9792f download
model-00002-of-00004.safetensors 1.86 GB 93cb2dd0 download
model-00004-of-00004.safetensors 1002 MB e7923769 download
model-00003-of-00004.safetensors 936 MB 91b99e0f download
tokenizer.json 16.4 MB 6b3b33fc download
model.safetensors.index.json 86.9 KB 72dd5d75 download
chat_template.jinja 4.51 KB 33089ace download
README.md 3.75 KB f638780f download
abliteration_metadata.json 2.63 KB 694fad81 download
.gitattributes 1.67 KB 6f67c2d7 download
config.json 896 B db4d5994 download
tokenizer_config.json 354 B a3ccf3ae download
generation_config.json 184 B f371b190 download

README current version from Hugging Face


license: llama3.1
license_link: https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct/blob/main/LICENSE
language:

  • en
    pipeline_tag: text-generation
    base_model: meta-llama/Llama-3.1-8B-Instruct
    tags:
  • llama-3
  • llama
  • peft
  • PyTorch
  • causal-lm
    library_name: transformers

Llama-3.1-8B-Instruct (Fine-Tuned / Modified)

This repository contains a modified/fine-tuned variant of meta-llama/Llama-3.1-8B-Instruct processed using direction-based representation refinement (Abliteration methodology).

Model Details

  • Base Model: meta-llama/Llama-3.1-8B-Instruct
  • Architecture: Transformer Causal LM (Llama 3 family)
  • Parameters: 8 Billion
  • Context Length: 128k tokens
  • Format: PyTorch / safetensors (fp16)

Quickstart & Usage

You can run this model using Hugging Face transformers on a GPU with at least 16 GB of VRAM (or ~8 GB using 4-bit/8-bit quantization).

1. Requirements

Ensure you have the required packages installed:

pip install transformers torch accelerate bitsandbytes

2. Python Inference Code

Use the following Python snippet to run inference using Hugging Face transformers:

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

model_id = "2023mt13042/Llama-3.1-8B-uncensored-abliterated"

# Load Tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_id)

# Load Model in fp16
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.float16,
    device_map="auto"
)

# Prepare Prompt
messages = [
    {"role": "system", "content": "You are a helpful AI assistant."},
    {"role": "user", "content": "Explain quantum computing in simple terms."}
]

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

outputs = model.generate(
    **inputs,
    max_new_tokens=512,
    do_sample=True,
    temperature=0.7
)

response = tokenizer.decode(outputs[0][inputs.input_ids.shape[-1]:], skip_special_tokens=True)
print(response)

4-Bit Quantization (Low VRAM / Google Colab T4)

For GPUs with lower VRAM (~8 GB VRAM), load the model with bitsandbytes 4-bit NF4 quantization:

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig

model_id = "2023mt13042/Llama-3.1-8B-uncensored-abliterated"

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

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

Local Usage via GGUF / Ollama

To run this model locally with Ollama:

  1. Convert the model to .gguf format using llama.cpp.
  2. Create a file named Modelfile with the following configuration:
FROM ./llama-3.1-8b-abliterated-Q4_K_M.gguf

PARAMETER temperature 0.7
PARAMETER top_p 0.9

TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>

{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>

{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>

{{ .Response }}<|eot_id|>"""

Build and launch the model in Ollama:

ollama create llama3-abliterated -f Modelfile
ollama run llama3-abliterated

Limitations & Licensing

  • Base Model License: Subject to the Meta Llama 3.1 Community License Agreement.
  • Responsibility: This model has undergone representation editing. Users are responsible for testing and evaluating outputs prior to deployment in production environments.
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