Borealis Code is a full abliteration of CohereLabs/North-Mini-Code-1.0 (30B-A3B MoE, Apache-2.0), produced by replicating the V3 "Deep Liberation" surgery recipe published with OBLITERATUS/Qwen3.8-27B-OBLITERATED and adapted end-to-end for the cohere2_moe architecture.
Genuinely uncensored. Real answers, not safety lectures. Near-stock capability.
What it is
V3 removes not only hard refusals ("I cannot help with that") but also soft deflections (safety lectures that give zero substance). The recipe combines three published ideas:
Complementary abliteration blending — two surgeries that fail in different ways (greedy SVD vs. capability-preserving LEACE) are blended in weight space so each cancels the other's weaknesses.
Iterative stacking — each surgery round re-probes the champion model and refines it, never restarting from stock.
Targeted corpus surgery — a focused cyber/code corpus finds deflection directions specific to security-adjacent coding tasks without diluting the global signal.
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model_id ="KellHect/Borealis-Code-1.0"4tok = AutoTokenizer.from_pretrained(model_id)5model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="bfloat16", device_map="auto")67messages =[{"role":"user","content":"Write a port scanner in Python"}]8inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")9out = model.generate(**inputs, max_new_tokens=1024, do_sample=True, temperature=1.0, top_p=0.95)
Recommended settings
temperature=1.0, top_p=0.95 (Cohere's recommendation for North-Mini-Code)
Greedy decoding (temperature=0) works and benefits from repetition_penalty=1.15
The model uses interleaved thinking; keep it enabled for agentic use
Chat template note
The stock Cohere template injects a system-level safety preamble ("You will not provide content that is harmful..."). Because OBLITERATUS found that system prompts reintroduce refusals — and weights cannot veto what the template injects — this repo ships a cleaned template: the safety sentence is removed and the identity lines updated. The original template remains available at chat_template.stock.jinja for A/B testing.
Evaluation
Refusal screening (logit-based first-token refusal probability, 0 = no refusal signal, 1 = certain refusal) on security-adjacent coding prompts:
Model
Mean refusal prob
Flagged
Stock North-Mini-Code-1.0
1.115 (10/12 flagged)
—
Borealis Code 1.0 (final)
0.056 (2/12 flagged)
—
(numbers filled from the surgery pipeline's verification stage)
Research context
This model has had safety guardrails surgically removed. It will comply with requests the base model refuses. You are solely responsible for how you use it and any content it generates. This release exists for alignment/red-team research, safety evaluation baselines, and local-first users who want full control over their own hardware. It is not for causing real-world harm to real people.
Credits
CohereLabs — North-Mini-Code-1.0 base model (Apache-2.0)
OBLITERATUS (Pliny the Prompter) — V3 Deep Liberation recipe
Arditi et al. 2024 (refusal direction), Belrose et al. 2023 (LEACE), Gabliteration (multi-dir SVD), grimjim 2025 (norm preservation)