How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
# Run inference directly in the terminal:
llama cli -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
# Run inference directly in the terminal:
llama cli -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
Use Docker
docker model run hf.co/grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF:
Quick Links

Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF

This repo contains select GGUF quants of a model that is a merge of pre-trained language models created using mergekit.

A LoRA was applied to "abliterate" refusals in meta-llama/Meta-Llama-3.1-8B-Instruct. The result appears to work despite the LoRA having been derived from Llama 3 instead of Llama 3.1, which implies that there is significant feature commonality between the 3 and 3.1 models.

The LoRA was extracted from failspy/Meta-Llama-3-8B-Instruct-abliterated-v3 and uses meta-llama/Meta-Llama-3-8B-Instruct as a base.

Built with Llama.

Merge Details

Merge Method

This model was merged using the task arithmetic merge method using meta-llama/Meta-Llama-3.1-8B-Instruct + grimjim/Llama-3-Instruct-abliteration-LoRA-8B as a base.

Configuration

The following YAML configuration was used to produce this model:

base_model: meta-llama/Meta-Llama-3.1-8B-Instruct+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
dtype: bfloat16
merge_method: task_arithmetic
parameters:
  normalize: false
slices:
- sources:
  - layer_range: [0, 32]
    model: meta-llama/Meta-Llama-3.1-8B-Instruct+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
    parameters:
      weight: 1.0
Downloads last month
584
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF

Quantized
(8)
this model

Space using grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF 1

Collections including grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF

Paper for grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF