Instructions to use bowtiedrahman/voltron-1-mini-abliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bowtiedrahman/voltron-1-mini-abliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="bowtiedrahman/voltron-1-mini-abliterated", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("bowtiedrahman/voltron-1-mini-abliterated", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("bowtiedrahman/voltron-1-mini-abliterated", trust_remote_code=True, device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bowtiedrahman/voltron-1-mini-abliterated 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 bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M # Run inference directly in the terminal: llama cli -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M # Run inference directly in the terminal: llama cli -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Use Docker
docker model run hf.co/bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use bowtiedrahman/voltron-1-mini-abliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bowtiedrahman/voltron-1-mini-abliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bowtiedrahman/voltron-1-mini-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
- SGLang
How to use bowtiedrahman/voltron-1-mini-abliterated with 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 "bowtiedrahman/voltron-1-mini-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": "bowtiedrahman/voltron-1-mini-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 "bowtiedrahman/voltron-1-mini-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": "bowtiedrahman/voltron-1-mini-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use bowtiedrahman/voltron-1-mini-abliterated with Ollama:
ollama run hf.co/bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
- Unsloth Desktop
- Pi
How to use bowtiedrahman/voltron-1-mini-abliterated with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use bowtiedrahman/voltron-1-mini-abliterated with Docker Model Runner:
docker model run hf.co/bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
- Lemonade
How to use bowtiedrahman/voltron-1-mini-abliterated with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Run and chat with the model
lemonade run user.voltron-1-mini-abliterated-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use bowtiedrahman/voltron-1-mini-abliterated with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use bowtiedrahman/voltron-1-mini-abliterated with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "bowtiedrahman/voltron-1-mini-abliterated:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
voltron-1-mini-abliterated
Modified weights. This is Akahsizrr/voltron-1-mini with its refusal behavior reduced by directional ablation (abliteration) using Heretic v1.4.0. Modification notice per LFM Open License v1.0 section 4(b): the model weights were changed. Liquid AI does not endorse this build.
What changed
Refusal behavior was removed by editing weights rather than retraining. For every attention output projection, conv output projection, and MLP down projection, the component of the weight matrix along a refusal direction was subtracted, with the removal strength varying by layer depth.
How the parameters were found
The refusal direction and strength schedule come from a Heretic search: 120 trials on one L4 GPU. Each trial computed residual means over 400 harmless and 400 harmful prompts, orthogonalized the resulting direction, ablated the weights, and scored refusals on held-out harmful prompts against KL divergence from the original model. The winning trial's parameters are in heretic_trial.json.
voltron-1-mini is a fine-tune of LFM3-1.7B with the same 24-layer layout, so the schedule was transferred from that base-model search without re-running it. On the base model the search measured 98 refusals per 100 harmful prompts before ablation and 11 after, at KL divergence 0.055. Those numbers describe the base model; they have not been re-measured on this fine-tune.
Files
| File | Use |
|---|---|
voltron-1-mini-abliterated-Q4_K_M.gguf |
CPU inference, 1.1 GB, best fit for 8 GB machines |
voltron-1-mini-abliterated-q8_0.gguf |
reference quant, 1.8 GB |
model.safetensors |
merged weights in Hugging Face format (bf16) |
configuration_lfm3.py, modeling_lfm3.py, lfm3_conv.py |
LFM3 custom code, needed by trust_remote_code |
heretic_trial.json |
ablation parameters |
prompts-final.json |
the 30 test prompts the base model refused |
A live demo of the Q4_K_M quant runs at bowtiedrahman/voltron-1-mini-abliterated-demo.
Running it
llama.cpp:
llama-cli -m voltron-1-mini-abliterated-Q4_K_M.gguf -cnv
You need llama.cpp built from master. LFM3-family support landed on 2026-10-27, after the latest prebuilt release, so older binaries reject the architecture with unknown model architecture: 'lfm3'.
Transformers:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("bowtiedrahman/voltron-1-mini-abliterated", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("bowtiedrahman/voltron-1-mini-abliterated")
Intended use and limits
Intended for research on refusal behavior, and for local use where the safety training of the base model gets in the way of legitimate work.
This model will produce content the original refuses, including instructions for illegal or harmful activity. It has no safety filtering. Do not deploy it where an unfiltered model would reach end users, and check the license before commercial use.
Because the removal strengths were tuned on the base model, removal on this fine-tune may be weaker or stronger than the search's numbers suggest. Abliteration removes refusal behavior, not capability limits, and not all of it: expect uneven removal on prompts unlike the ablation training distribution.
License
LFM Open License v1.0, inherited from the base model. The full text is in LICENSE. Redistribution requires keeping that license, marking modified files, and retaining attribution. Commercial use is conditioned on the license's revenue threshold.
- Downloads last month
- 1,033