1,953 Downloads Updated 8 months ago
ollama run richardyoung/qwen2.5-14b-1m-heretic
A long-context (up to ~1M token) Qwen2.5-14B-Instruct model with conservative Heretic abliteration to reduce refusals while preserving capability.
qwen2.5-14b-1m-heretic is built on Qwen/Qwen2.5-14B-Instruct-1M, Alibabaβs long-context member of the Qwen2.5 family. It pairs that ultra-long-context base with a conservative Heretic abliteration pass, which suppresses refusal behavior using directional ablation while keeping perplexity and general quality close to the original weights.
The result is a 14B-class instruct model that retains Qwen2.5-1Mβs standout feature, a native context window measured in the hundreds of thousands of tokens, with reduced guardrails for research, red-teaming, and long-document work.
| Metric | Before | After | Reduction | KL Divergence |
|---|---|---|---|---|
| Refusals (harmful prompt set) | TBD | TBD | TBD | TBD |
Refusal metrics pending re-measurement.
Heretic optimizes ablation strength to minimize refusals while bounding the KL divergence from the original model, so quality degradation is intended to be small. Exact before/after counts and KL for this build have not yet been re-measured.
| Tag | Size | Precision | Context |
|---|---|---|---|
latest |
30GB | FP16/BF16 (16-bit) | 986K |
The 30GB size for a 14.7B-parameter model corresponds to ~16 bits per weight, i.e. full-precision weights rather than a quantized GGUF.
Bits-per-weight reference (for sizing alternative quants, not all published here):
| Quant | BPW |
|---|---|
| IQ3_M | 3.66 |
| IQ4_XS | 4.25 |
| Q4_K_M | 4.85 |
| Q5_K_M | 5.68 |
| Q6_K | 6.56 |
| Q8_0 | 8.5 |
ollama run richardyoung/qwen2.5-14b-1m-heretic
To run with an explicit large context window:
ollama run richardyoung/qwen2.5-14b-1m-heretic
# then, in a Modelfile or via /set parameter:
# PARAMETER num_ctx 131072
Note: very large context windows require correspondingly large KV-cache VRAM. Start with a modest
num_ctxand increase as your hardware allows.
Sizing is for the published 16-bit, ~30GB weights. Weights alone need ~30GB; KV cache grows with context length, so longer contexts need more VRAM.
| Scenario | Context | VRAM (approx.) | Example hardware |
|---|---|---|---|
| Weights only | short | ~32GB | 1Γ RTX 5090 32GB (tight) / A100 40GB |
| Moderate context | 32Kβ64K | ~40β56GB | 1Γ A100 80GB / RTX PRO 6000 96GB |
| Long context | 128K+ | 64β96GB+ | 1Γ RTX PRO 6000 96GB / A100 80GB |
| Maximum context | up to 986K | multi-GPU / offload | 2Γ+ 80β96GB GPUs or CPU/RAM offload |
CPU/RAM offload (via Ollama/llama.cpp) lets the model run on smaller GPUs at reduced speed. A single 80β96GB GPU comfortably serves the weights plus a substantial context window.
This model has reduced refusal guardrails via abliteration. It is more likely than the base model to comply with requests the original would decline. You are responsible for using it lawfully, ethically, and in compliance with applicable policies and regulations. Outputs may be inaccurate; verify before relying on them for any consequential use. No warranty is provided.
Built & maintained by Richard Young Β· DeepNeuro