Instructions to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF", filename="NeuralLlama-3-8B-Instruct-abliterated.Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with 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 QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
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 QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
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 QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
- Ollama
How to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with Ollama:
ollama run hf.co/QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
- Unsloth Studio
How to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.NeuralLlama-3-8B-Instruct-abliterated-GGUF-Q4_K_M
List all available models
lemonade list
llm.create_chat_completion(
messages = [
{
"role": "user",
"content": "What is the capital of France?"
}
]
)Llama-3-8B-Instruct-abliterated-dpomix-GGUF
This is quantized version of mlabonne/NeuralLlama-3-8B-Instruct-abliterated created using llama.cpp
Model Description
This model is an experimental DPO fine-tune of an abliterated Llama 3 8B Instruct model on the full mlabonne/orpo-dpo-mix-40k dataset. It improves Llama 3 8B Instruct's performance while being uncensored.
🔎 Applications
This is an uncensored model. You can use it for any application that doesn't require alignment, like role-playing.
Tested on LM Studio using the "Llama 3" preset.
🏆 Evaluation
Open LLM Leaderboard
This model improves the performance of the abliterated source model and recovers the MMLU that was lost in the abliteration process.
Nous
| Model | Average | AGIEval | GPT4All | TruthfulQA | Bigbench |
|---|---|---|---|---|---|
| mlabonne/Llama-3-8B-Instruct-abliterated-dpomix 📄 | 52.26 | 41.6 | 69.95 | 54.22 | 43.26 |
| meta-llama/Meta-Llama-3-8B-Instruct 📄 | 51.34 | 41.22 | 69.86 | 51.65 | 42.64 |
| failspy/Meta-Llama-3-8B-Instruct-abliterated-v3 📄 | 51.21 | 40.23 | 69.5 | 52.44 | 42.69 |
| abacusai/Llama-3-Smaug-8B 📄 | 49.65 | 37.15 | 69.12 | 51.66 | 40.67 |
| mlabonne/OrpoLlama-3-8B 📄 | 48.63 | 34.17 | 70.59 | 52.39 | 37.36 |
| meta-llama/Meta-Llama-3-8B 📄 | 45.42 | 31.1 | 69.95 | 43.91 | 36.7 |
- Downloads last month
- 259
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit

# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF", filename="", )