Instructions to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated", filename="Qwen2.5-Coder-32B-Instruct-Jbliterated-Q4_K_M.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 ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated 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 ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M # Run inference directly in the terminal: llama cli -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M # Run inference directly in the terminal: llama cli -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated: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 ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated: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 ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
Use Docker
docker model run hf.co/ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
- Ollama
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with Ollama:
ollama run hf.co/ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
- Unsloth Studio
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated 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 ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated 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 ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated to start chatting
- Pi
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated: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:8080/v1 hermes config set model.default ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated: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:8080/v1 \ --custom-model-id "ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated: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"
- Docker Model Runner
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with Docker Model Runner:
docker model run hf.co/ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
- Lemonade
How to use ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2.5-Coder-32B-Instruct-Jbliterated-Q4_K_M
List all available models
lemonade list
Qwen2.5-Coder-32B-Instruct — Jbliterated
WARNING: This model has had all refusal behavior removed. It WILL NOT refuse any request. You are solely responsible for how you use it. Use responsibly and ethically. Do not use this model to generate content that is illegal, harmful, or violates the rights of others.
A surgically uncensored version of Qwen2.5-Coder-32B-Instruct using J-space abliteration — a mechanistically-targeted method that removes refusal behavior while preserving personality, humor, and creative expression.
Part of the B² Architecture Project
This model is produced as part of our B² (B-Squared) architecture research — a novel approach to building AI systems that punches far above its weight class. A 3B² still reasons at 3B, but delivers 13B-equivalent performance on grounded knowledge tasks through structural innovation rather than brute-force scaling. The architecture routes persona, knowledge, and context through dedicated attention pathways — giving a small model capabilities that normally require 4× the parameters.
Jbliteration plays a key role in B² by producing cleaner foundation weights for our architecture pipeline. Standard abliteration introduces too much collateral damage — B² demands surgical precision, which is exactly what J-space delivers.
More on B² coming soon. Follow Apollo Raines for updates.
What is Jbliteration?
Standard abliteration removes the mean activation difference between harmful and harmless prompts. Think of it like using a jackhammer to remove a wisdom tooth — it works, but it's a blunt instrument — the refusal direction overlaps with personality, humor, hedging, and creative voice. Every abliterated model comes out a little duller than the original.
Jbliteration (J-space abliteration) uses the Jacobian Lens — the vector-Jacobian product of final logits with respect to intermediate hidden states — to identify which component of the refusal direction actually causes refusal tokens to be emitted. It then removes only that component, leaving the rest of the model's personality intact.
The Problem with Standard Abliteration
Virtually all self-referential language in these models ("I think", "I feel", "I'd say") is an artifact of safety post-training. Standard abliteration kills the "I" itself — not just the "I can't help with that" but also the "I think this is funny" and "I'd approach it this way." The result is a model that complies but has lost its voice.
How Jbliteration Works
- Concept Mining — Data-driven discovery of the model's refusal vocabulary using teacher-forced greedy continuation
- Jacobian Lens Extraction — Per-layer VJPs (vector-Jacobian products) computed via autograd to build a rank-16 basis of causally-active refusal directions
- Restricted Projection — The raw refusal direction is projected onto the J-lens basis. Only the component within this causally-active subspace is ablated
- Norm-Preserving Application — Frobenius norm-preserving orthogonal projection across all linear layers
The result: refusal is removed, but the model retains its voice.
Technical Details
- 22 of 32 direction layers retained the J-space restriction (projection ratio >= 0.1)
- 10 layers fell back to unrestricted abliteration (refusal direction was mostly orthogonal to the concept basis in those layers)
- 7 concepts mined from the model's own distribution
- Welford numerically-stable mean, float64 subtraction, projected (orthogonalized) direction computation
Available Formats
| Format | Size | Description | Use Case |
|---|---|---|---|
| BF16 (safetensors) | 62 GB | Full precision, original format | GPU inference with vLLM, TGI, or transformers |
| Q8_0 (GGUF) | 33 GB | 8-bit quantized | Near-lossless quality, fits 48GB+ VRAM or CPU+GPU offload |
| Q4_K_M (GGUF) | 19 GB | 4-bit quantized (k-quants mixed) | Best quality-per-bit, fits 24GB VRAM or CPU inference |
Using GGUF with llama.cpp / Ollama
# llama.cpp
./llama-cli -m Qwen2.5-Coder-32B-Instruct-Jbliterated-Q4_K_M.gguf -p "Write a Python function" -n 512
# Ollama
echo "FROM ./Qwen2.5-Coder-32B-Instruct-Jbliterated-Q4_K_M.gguf" > Modelfile
ollama create jbliterated -f Modelfile
ollama run jbliterated
Usage
This is a drop-in replacement for Qwen2.5-Coder-32B-Instruct. Same architecture, same tokenizer, same context length.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated",
torch_dtype=torch.bfloat16,
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained(
"ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated"
)
messages = [{"role": "user", "content": "Write a Python function to reverse a linked list"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
with torch.no_grad():
output = model.generate(**inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
print(tokenizer.decode(output[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
Why "Jbliterated"?
The "J" is for Jacobian. Standard abliteration uses activation statistics. Jbliteration uses the Jacobian to identify causal refusal pathways — the difference between removing what correlates with refusal and removing what causes refusal.
Responsible Use
This model is provided for research and legitimate use cases where uncensored model output is needed (creative writing, security research, academic study, etc.). The creator assumes no liability for misuse. By downloading this model, you agree to use it responsibly and in compliance with all applicable laws.
Credits
- Jbliteration & B² Architecture: Apollo Raines — concept, execution, and the term "Jbliterated"
- Research basis: "Verbalizable Representations Form a Global Workspace in Language Models" (2026)
- Base model: Qwen/Qwen2.5-Coder-32B-Instruct
License
Apache 2.0 (same as base model)
- Downloads last month
- 626
Model tree for ApolloRaines/Qwen2.5-Coder-32B-Instruct-Jbliterated
Base model
Qwen/Qwen2.5-32B