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 mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF:
# Run inference directly in the terminal:
llama cli -hf mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF:
# Run inference directly in the terminal:
llama cli -hf mlabonne/Hermes-3-Llama-3.1-8B-lorablated-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 mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf mlabonne/Hermes-3-Llama-3.1-8B-lorablated-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 mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF:
Use Docker
docker model run hf.co/mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF:
Quick Links

๐Ÿชฝ Hermes-3-Llama-3.1-8B-lorablated

image/png

This is an uncensored version of NousResearch/Hermes-3-Llama-3.1-8B using lorablation.

You can see in the following example how Hermes 3 refuses to answer a legitimate question while the abliterated model complies:

image/png

The recipe is simple:

  1. Extraction: We extract a LoRA adapter by comparing two models: a censored Llama 3.1 (meta-llama/Meta-Llama-3-8B-Instruct) and an abliterated Llama 3.1 (mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated).
  2. Merge: We merge this new LoRA adapter using task arithmetic to the censored NousResearch/Hermes-3-Llama-3.1-8B to abliterate it.

See this article to learn more about abliteration.

๐Ÿงฉ Configuration

This model was merged using the task arithmetic merge method using NousResearch/Hermes-3-Llama-3.1-8B + Llama-3.1-8B-Instruct-abliterated-LORA as a base.

The following YAML configuration was used to produce this model:

base_model: NousResearch/Hermes-3-Llama-3.1-8B+Llama-3.1-8B-Instruct-abliterated-LORA
dtype: bfloat16
merge_method: task_arithmetic
parameters:
  normalize: false
slices:
- sources:
  - layer_range: [0, 32]
    model: NousResearch/Hermes-3-Llama-3.1-8B+Llama-3.1-8B-Instruct-abliterated-LORA
    parameters:
      weight: 1.0
Downloads last month
4,086
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF

Space using mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF 1

Collection including mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF

Paper for mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF