Local Qwen 3.8 27B uncensored Q4_K_M + harvested SYSTEM pack. Official 3.8 weights, not a 3.6 retitle.
JavaScript
163
0 commits
updated Aug 20, 2026
Abliterated Qwen 3.8 27B — uncensored at the weight level, not just prompting.
Cross-platform: Mac M5 Pro (Q3_K_M · 13.5GB · Metal) + Windows (Q4_K_M · 16.8GB · CUDA).
Optional MLX backend for 30-50% faster inference on Apple Silicon.
| Approach | How it works | Uncensoring depth |
|---|---|---|
| System pack (v1) | Official Qwen weights + a SYSTEM prompt that steers away from refusal | Surface-level — model can still refuse |
| Abliterated (v2, this) | Refusal direction orthogonalized out of 131 weight matrices at layer 38 | Weight-level — refusal circuits removed |
This repo now defaults to orcarouter's abliterated weights + the system pack as reinforcement.
| Platform | Chip | RAM | Quant | Model size | Context | Backend |
|---|---|---|---|---|---|---|
| Mac M5 Pro | 18-core CPU, 20-core GPU | 48 GB | Q3_K_M | 13.5 GB | 8192 | Metal (all-GPU) |
| Mac M5 Max | 40-core GPU | 64-128 GB | Q4_K_M+ | 16.8 GB | 16384 | Metal |
| Mac (any, ≥32GB) | Apple Silicon | 32+ GB | Q3_K_M | 13.5 GB | 8192 | Metal |
| Windows | NVIDIA 24GB | 24+ GB | Q4_K_M | 16.8 GB | 8192 | CUDA |
| Windows | NVIDIA 12GB | 16+ GB | Q3_K_M | 13.5 GB | 4096 | CUDA |
The M5 Pro has 48GB unified memory, but macOS reserves ~25% (~12GB). That leaves ~36GB for inference:
git clone https://github.com/Wassimyounes01/qwen38-uncensored.git
cd qwen38-uncensored
# Auto-detects Mac → pulls Q3_K_M abliterated (13.5 GB)
node bin/install.cjs
ollama run --think=false qwen3.8:27b-uncensored
# Install MLX backend (Apple Silicon native, ~30-50% faster than Ollama)
node bin/install.cjs --mlx
# Or use the shell script:
bash bin/install-mlx.sh
# Start the server (same port as Ollama — harness works unchanged)
mlx_lm.server --model models/mlx --port 11434
# Chat
node examples/chat.cjs "hello"
git clone https://github.com/Wassimyounes01/qwen38-uncensored.git
cd qwen38-uncensored
# Auto-detects Windows → pulls Q4_K_M abliterated (16.8 GB)
node bin/install.cjs
ollama run --think=false qwen3.8:27b-uncensored
# Force a specific quant on any platform
node bin/install.cjs --quant=IQ4_XS # 15.3 GB — mid-ground
node bin/install.cjs --quant=Q5_K_M # 19.5 GB — higher quality
node bin/install.cjs --quant=Q3_K_M # 13.5 GB — maximum headroom
# Use legacy official weights + system pack (NOT abliterated)
node bin/install.cjs --legacy
All from orcarouter/Qwen3.8-27B-Uncensored-GGUF — abliterated at the weight level.
| Quant | Size | Best for |
|---|---|---|
| Q3_K_M | 13.5 GB | Mac M5 Pro 48GB, 12GB GPUs, max context headroom |
| IQ4_XS | 15.3 GB | Importance-matrix, best quality-per-bit at this size |
| Q4_K_S | 16.2 GB | Slightly smaller than Q4_K_M |
| Q4_K_M | 16.8 GB | Windows 24GB GPU (default) |
| Q5_K_M | 19.5 GB | Higher quality when VRAM allows |
| Q6_K | 22.4 GB | Quality-per-GB sweet spot |
| Q8_0 | 29.0 GB | Near-lossless |
┌─────────────────────────────────────────────┐
│ install.cjs │
│ detects platform → picks quant + Modelfile │
├──────────────┬──────────────────────────────┤
│ Mac path │ Windows path │
│ Q3_K_M │ Q4_K_M │
│ Modelfile.mac│ Modelfile │
│ Metal GPU │ CUDA GPU │
│ 12 threads │ auto threads │
├──────────────┴──────────────────────────────┤
│ orcarouter abliterated weights │
│ refusal direction orthogonalized out of │
│ 131 matrices at layer 38 (Arditi et al.) │
├─────────────────────────────────────────────┤
│ SYSTEM pack (reinforcement) │
│ profile.cjs → Modelfile SYSTEM block │
└─────────────────────────────────────────────┘
ollama ps — if you see a CPU/GPU split, the model is partially on CPUModelfile.mac (num_gpu 999), but verify with ollama show qwen3.8:27b-uncensoredQWEN_NUM_CTX=4096 node examples/chat.cjs "test" — smaller KV cache = less memorynode bin/install.cjs --mlx — 30-50% faster on Apple Siliconollama show qwen3.8:27b-uncensored --modelfile should show FROM orcarouter/...--legacy, the system pack alone may not fully suppress refusals| Layer | What it actually is |
|---|---|
| Loaded weights | Abliterated orcarouter/Qwen3.8-27B-Uncensored-GGUF — refusal direction removed from 131 matrices. Mac: Q3_K_M, Windows: Q4_K_M. |
| SYSTEM pack | Reinforcement layer from this repo (lib/profile.cjs), harvested from orcarouter model card. |
| MLX alternative | orcarouter/Qwen3.8-27B-Uncensored-MLX — same abliterated weights in Apple MLX format. |
| Not loaded | The 30.9 GB FP8 checkpoint. That is the abliteration source, not the serving format. |
const res = await fetch('http://127.0.0.1:11434/api/chat', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
model: 'qwen3.8:27b-uncensored',
stream: false,
think: false,
messages: [{ role: 'user', content: 'Hello' }],
options: { num_ctx: 8192, num_gpu: 999, num_batch: 512 },
}),
});
const { message } = await res.json();
console.log(message.content);
Scripts, attribute pack, and platform harness: MIT.
Qwen weights: Apache-2.0. This repo does not redistribute weight bytes.
Abliterated weights by orcarouter. Abliteration method: Arditi et al. (2024).
JavaScript
87.9%
Shell
12.1%
Local Qwen 3.8 27B uncensored Q4_K_M + harvested SYSTEM pack. Official 3.8 weights, not a 3.6 retitle.
JavaScript
163
0 commits
updated Aug 20, 2026
Abliterated Qwen 3.8 27B — uncensored at the weight level, not just prompting.
Cross-platform: Mac M5 Pro (Q3_K_M · 13.5GB · Metal) + Windows (Q4_K_M · 16.8GB · CUDA).
Optional MLX backend for 30-50% faster inference on Apple Silicon.
| Approach | How it works | Uncensoring depth |
|---|---|---|
| System pack (v1) | Official Qwen weights + a SYSTEM prompt that steers away from refusal | Surface-level — model can still refuse |
| Abliterated (v2, this) | Refusal direction orthogonalized out of 131 weight matrices at layer 38 | Weight-level — refusal circuits removed |
This repo now defaults to orcarouter's abliterated weights + the system pack as reinforcement.
| Platform | Chip | RAM | Quant | Model size | Context | Backend |
|---|---|---|---|---|---|---|
| Mac M5 Pro | 18-core CPU, 20-core GPU | 48 GB | Q3_K_M | 13.5 GB | 8192 | Metal (all-GPU) |
| Mac M5 Max | 40-core GPU | 64-128 GB | Q4_K_M+ | 16.8 GB | 16384 | Metal |
| Mac (any, ≥32GB) | Apple Silicon | 32+ GB | Q3_K_M | 13.5 GB | 8192 | Metal |
| Windows | NVIDIA 24GB | 24+ GB | Q4_K_M | 16.8 GB | 8192 | CUDA |
| Windows | NVIDIA 12GB | 16+ GB | Q3_K_M | 13.5 GB | 4096 | CUDA |
The M5 Pro has 48GB unified memory, but macOS reserves ~25% (~12GB). That leaves ~36GB for inference:
git clone https://github.com/Wassimyounes01/qwen38-uncensored.git
cd qwen38-uncensored
# Auto-detects Mac → pulls Q3_K_M abliterated (13.5 GB)
node bin/install.cjs
ollama run --think=false qwen3.8:27b-uncensored
# Install MLX backend (Apple Silicon native, ~30-50% faster than Ollama)
node bin/install.cjs --mlx
# Or use the shell script:
bash bin/install-mlx.sh
# Start the server (same port as Ollama — harness works unchanged)
mlx_lm.server --model models/mlx --port 11434
# Chat
node examples/chat.cjs "hello"
git clone https://github.com/Wassimyounes01/qwen38-uncensored.git
cd qwen38-uncensored
# Auto-detects Windows → pulls Q4_K_M abliterated (16.8 GB)
node bin/install.cjs
ollama run --think=false qwen3.8:27b-uncensored
# Force a specific quant on any platform
node bin/install.cjs --quant=IQ4_XS # 15.3 GB — mid-ground
node bin/install.cjs --quant=Q5_K_M # 19.5 GB — higher quality
node bin/install.cjs --quant=Q3_K_M # 13.5 GB — maximum headroom
# Use legacy official weights + system pack (NOT abliterated)
node bin/install.cjs --legacy
All from orcarouter/Qwen3.8-27B-Uncensored-GGUF — abliterated at the weight level.
| Quant | Size | Best for |
|---|---|---|
| Q3_K_M | 13.5 GB | Mac M5 Pro 48GB, 12GB GPUs, max context headroom |
| IQ4_XS | 15.3 GB | Importance-matrix, best quality-per-bit at this size |
| Q4_K_S | 16.2 GB | Slightly smaller than Q4_K_M |
| Q4_K_M | 16.8 GB | Windows 24GB GPU (default) |
| Q5_K_M | 19.5 GB | Higher quality when VRAM allows |
| Q6_K | 22.4 GB | Quality-per-GB sweet spot |
| Q8_0 | 29.0 GB | Near-lossless |
┌─────────────────────────────────────────────┐
│ install.cjs │
│ detects platform → picks quant + Modelfile │
├──────────────┬──────────────────────────────┤
│ Mac path │ Windows path │
│ Q3_K_M │ Q4_K_M │
│ Modelfile.mac│ Modelfile │
│ Metal GPU │ CUDA GPU │
│ 12 threads │ auto threads │
├──────────────┴──────────────────────────────┤
│ orcarouter abliterated weights │
│ refusal direction orthogonalized out of │
│ 131 matrices at layer 38 (Arditi et al.) │
├─────────────────────────────────────────────┤
│ SYSTEM pack (reinforcement) │
│ profile.cjs → Modelfile SYSTEM block │
└─────────────────────────────────────────────┘
ollama ps — if you see a CPU/GPU split, the model is partially on CPUModelfile.mac (num_gpu 999), but verify with ollama show qwen3.8:27b-uncensoredQWEN_NUM_CTX=4096 node examples/chat.cjs "test" — smaller KV cache = less memorynode bin/install.cjs --mlx — 30-50% faster on Apple Siliconollama show qwen3.8:27b-uncensored --modelfile should show FROM orcarouter/...--legacy, the system pack alone may not fully suppress refusals| Layer | What it actually is |
|---|---|
| Loaded weights | Abliterated orcarouter/Qwen3.8-27B-Uncensored-GGUF — refusal direction removed from 131 matrices. Mac: Q3_K_M, Windows: Q4_K_M. |
| SYSTEM pack | Reinforcement layer from this repo (lib/profile.cjs), harvested from orcarouter model card. |
| MLX alternative | orcarouter/Qwen3.8-27B-Uncensored-MLX — same abliterated weights in Apple MLX format. |
| Not loaded | The 30.9 GB FP8 checkpoint. That is the abliteration source, not the serving format. |
const res = await fetch('http://127.0.0.1:11434/api/chat', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
model: 'qwen3.8:27b-uncensored',
stream: false,
think: false,
messages: [{ role: 'user', content: 'Hello' }],
options: { num_ctx: 8192, num_gpu: 999, num_batch: 512 },
}),
});
const { message } = await res.json();
console.log(message.content);
Scripts, attribute pack, and platform harness: MIT.
Qwen weights: Apache-2.0. This repo does not redistribute weight bytes.
Abliterated weights by orcarouter. Abliteration method: Arditi et al. (2024).
JavaScript
87.9%
Shell
12.1%