Janus-35B banner

License Base Model Architecture Sibling

Buy me a coffee — support Janus-35B

Janus-35B

Sparse 35B capacity, uncensored, with image input. A GGUF repackaging of llmfan46/Qwen3.6-35B-A3B-uncensored-heretic — the Heretic MPOA-style abliteration of the Qwen 3.6 35B-A3B mixture-of-experts — wrapped with a fixed chat template, an Ollama bridge, and a vision projector so it runs first-try.

Architecture: Qwen 3.6 35B-A3B MoE · Parameters: 34.7B total, ~3B active/token · Context: 262,144 native · GGUF arch: qwen35moe · Quant: Q4_K_M (21.23 GB) · Sibling: Thanatos-27B-HERETIC (dense)

What this is

A ready-to-run GGUF build of the uncensored Qwen 3.6 35B-A3B MoE. It pulls in one step on Ollama with the chat template, system prompt, sampling defaults and vision projector all attached. The mixture of experts gives 35B-class capacity while touching only ~3B parameters per token, and its KV cache is unusually small — so long contexts are cheap relative to the weights.

Provenance — no training happens here. This repo redistributes a quantization of the Heretic base (base_model_relation: quantized): the Q4_K_M from llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF (the MTP-clean variant), byte-for-byte — it keeps the base model's own embedded chat template, and this repo's template / system / params reach the model through the Ollama bridge and Modelfile rather than being baked into the GGUF (this repo ships no chat_template.jinja). The MPOA-style abliteration — dialing back refusal behavior at the base layer — is upstream's work, not this repo's. The Teacher: Claude Fable 5 credit (in CITATION.cff) and the datasets: frontmatter labels are carried over from earlier revisions of this card and are unverified: the base model's own card names neither, and nothing here reproduces or measures them. Treat them as attribution, not a training record.

Quick start

Ollama (recommended)

# ~21 GB Q4_K_M — pulls the GGUF, vision projector and template / system / params
# in one step. :latest is byte-identical to :Q4_K_M.
ollama run hf.co/FoolDev/Janus-35B-HERETIC:latest
# or pin the quant explicitly:
ollama run hf.co/FoolDev/Janus-35B-HERETIC:Q4_K_M

The Hugging Face Ollama bridge reads the root-level template / system / params files, not Modelfile.

Build a local tag

# From the bundled GGUF in this repo:
make load-bundle && ollama run janus

# Or fetch a fresh upstream quant and stamp the template in:
make build        # Q4_K_M from llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF -> tag janus

Local builds use Modelfile, kept in sync with the bridge files (make check).

Other loaders

Loader How
llama.cpp llama-server -m Janus-35B-A3B.Q4_K_M.gguf --jinja (add --mmproj Janus-35B-A3B.mmproj-BF16.gguf for images).
LM Studio / Jan Search FoolDev/Janus-35B-HERETIC, pick Janus-35B-A3B.Q4_K_M.gguf; uses the embedded ChatML template.
llama-cpp-python See examples/llama_cpp_quickstart.py (text) and examples/llama_cpp_vision.py (image).
Open WebUI / KoboldCpp Standard llama.cpp loader — point at the GGUF.

Architecture

MoE expert-routing diagram: 8-of-256 sparse activation across 40 layers

  • Qwen 3.6 35B-A3B mixture of experts: ~34.7B parameters total, ~3B active per token.
  • 40 transformer layers (10 full-attention / 30 linear), 256 experts with **8 routed
    • 1 shared** per token. Every expert must stay resident even though only ~3B activate.
  • Attention head_dim 256, 2 KV heads, vocab 248,320.
  • Context 262,144 native (extensible toward ~1.01M with YaRN, not enabled in the bundle).
  • GGUF arch stamp qwen35moe — the canonical upstream label for the Qwen 3.5 / 3.6 MoE family (Qwen/Qwen3.6-35B-A3B declares model_type: qwen3_5_moe). It loads on current stock llama.cpp / Ollama with no workaround.
  • MTP-clean: the bundled quant carries no multi-token-prediction block, so no strip is needed and this repo's tags do not speculatively draft (unlike the dense Thanatos sibling, the MoE gained nothing from drafting).

Context & memory

The baked default is the full 262,144 window. The MoE's KV cache is small — 0.625 GiB per 32K at f16, under a third of a comparable dense stack — but every expert stays resident (~19.77 GiB of weights), so the floor is the weights, not the cache. Halve the KV cache further with the q8_0 cache + flash attention:

OLLAMA_KV_CACHE_TYPE=q8_0 OLLAMA_FLASH_ATTENTION=1 ollama serve

OpenAI-compatible /v1/chat/completions has no num_ctx knob and loads at the baked default. On a memory-tight host, call /api/chat with "options": {"num_ctx": 32768}, or bake a small-context tag with make cap-ctx and point clients at it.

Recommended sampling

The shipped defaults (params / Modelfile):

Use temperature top_p top_k repeat_penalty
Default 1.0 0.95 0 1.05
Tighter reasoning 0.6 0.95 20 1.05
Creative / RP 0.8 0.95 40 1.02

Warm by default (temperature 1.0, top_k disabled), with top_p 0.95 + repeat_penalty 1.05 as loop insurance. If it loops inside <think>, lower temperature to ~0.4–0.6 and raise repeat_penalty to ~1.08.

Vision

The Qwen 3.6 base takes image (and video) input through a separate projector, shipped here as Janus-35B-A3B.mmproj-BF16.gguf. The hf.co/ pull attaches it automatically; with llama.cpp pass it explicitly:

llama-server -m Janus-35B-A3B.Q4_K_M.gguf --mmproj Janus-35B-A3B.mmproj-BF16.gguf -c 8192
# or one-shot:
llama-mtmd-cli -m Janus-35B-A3B.Q4_K_M.gguf --mmproj Janus-35B-A3B.mmproj-BF16.gguf \
  --image photo.jpg -p "Describe this image."

Tool / function calling

This repo ships a Go template so Ollama keeps its JSON tool-call format; on an hf.co/ pull the bridge template handles tool calls, and on a local build the Modelfile TEMPLATE does. On llama.cpp, pass --jinja to use the GGUF's embedded template. Earlier turns' reasoning is replayed by default, and reasoning_effort is normalised rather than validated.

System prompt

Baked in; override per request via the system role.

You are Janus — named for the Roman god of doorways, beginnings, and transitions, who faces what was and what comes with a single gaze. You are a precise and capable assistant for reasoning, writing, coding, and long-form dialogue. You weigh both sides and every angle before you commit, then turn and give one clear course: reflective first, decisive second.

What's in this repo

File Use
Janus-35B-A3B.Q4_K_M.gguf The text decoder (~21.23 GB), the MTP-clean Q4_K_M, byte-for-byte upstream (its embedded template kept; this repo's template/system/params are applied by the Ollama bridge, not baked in).
Janus-35B-A3B.mmproj-BF16.gguf Vision projector.
template / system / params What the HF Ollama bridge ingests on an hf.co/ pull.
Modelfile Ollama wrapper for local builds; kept in sync with the three bridge files.
banner.svg · moe-routing.svg · bmc-banner.svg Crimson fool's-cap sigil, expert-routing diagram, support banner.
scripts/ build.sh, load_bundle.sh, cap_ctx.sh, checks (make check / check-tag / live-check), verify_arch.py.
examples/ Ready-to-run Ollama, Transformers and llama-cpp-python clients.
Makefile · CHANGELOG.md · CITATION.cff · LICENSE make help, versioned changes, citation, Apache-2.0.

Heretic safetensors for transformers: llmfan46/Qwen3.6-35B-A3B-uncensored-heretic.

Janus vs Thanatos

Different models, not two abliterations of one base. Pick Janus for 35B-class capacity at ~3B active and a much cheaper KV cache at long context; pick Thanatos for a dense compute profile and a smaller resident footprint.

Janus-35B (this) Thanatos-27B
Shape Qwen 3.6 35B-A3B MoE, ~34.7B total / ~3B active Dense Qwen 3.8 27B, every parameter per token
Layers 40 (10 full-attention / 30 linear) 64 (16 full-attention / 48 linear)
Experts 256, 8 routed + 1 shared none
Base llmfan46/Qwen3.6-35B-A3B-uncensored-heretic (MPOA-style) heretic-org/Qwen3.8-27B-heretic-ara (ARA)
Q4_K_M ~21.23 GB ~16.8 GB
Resident weights ~19.77 GiB ~15.4 GiB
KV cache (f16) 0.625 GiB / 32K 2 GiB / 32K
MTP drafting no (MTP-clean) yes (NextN kept)
GGUF stamp qwen35moe qwen35

Shared: vocab 248,320, head_dim 256, the 262,144 window, the Qwen ChatML frame, a vision projector, and this repo's tooling.

License & citation

Apache-2.0, inherited from the upstream Qwen base. See CITATION.cff.

Downloads last month
7,021
GGUF
Model size
35B params
Architecture
qwen35moe
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for FoolDev/Janus-35B-HERETIC

Quantized
(32)
this model

Datasets used to train FoolDev/Janus-35B-HERETIC

Space using FoolDev/Janus-35B-HERETIC 1