How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

πŸ¦™ Meta-Llama-3.1-8B-Instruct-abliterated

image/png

πŸ¦™ Llama 3.1 70B Instruct lorablated

This is an uncensored version of Llama 3.1 8B Instruct created with abliteration (see this article to know more about it).

Special thanks to @FailSpy for the original code and technique. Please follow him if you're interested in abliterated models.

⚑️ Quantization

Thanks to ZeroWw and Apel-sin for the quants.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 23.13
IFEval (0-Shot) 73.29
BBH (3-Shot) 27.13
MATH Lvl 5 (4-Shot) 6.42
GPQA (0-shot) 0.89
MuSR (0-shot) 3.21
MMLU-PRO (5-shot) 27.81
Downloads last month
4,057
Safetensors
Model size
8B params
Tensor type
BF16
Β·
Inference Providers NEW
Input a message to start chatting with mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated.

Model tree for mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated

Finetuned
(2770)
this model
Adapters
13 models
Finetunes
11 models
Merges
21 models
Quantizations
17 models

Spaces using mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated 73

Collection including mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated

Evaluation results