Instructions to use FoolDev/Janus-35B-HERETIC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use FoolDev/Janus-35B-HERETIC 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 FoolDev/Janus-35B-HERETIC:Q4_K_M # Run inference directly in the terminal: llama cli -hf FoolDev/Janus-35B-HERETIC:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf FoolDev/Janus-35B-HERETIC:Q4_K_M # Run inference directly in the terminal: llama cli -hf FoolDev/Janus-35B-HERETIC:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf FoolDev/Janus-35B-HERETIC:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf FoolDev/Janus-35B-HERETIC:Q4_K_M
Use Docker
docker model run hf.co/FoolDev/Janus-35B-HERETIC:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use FoolDev/Janus-35B-HERETIC with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FoolDev/Janus-35B-HERETIC" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FoolDev/Janus-35B-HERETIC", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/FoolDev/Janus-35B-HERETIC:Q4_K_M
- Ollama
How to use FoolDev/Janus-35B-HERETIC with Ollama:
ollama run hf.co/FoolDev/Janus-35B-HERETIC:Q4_K_M
- Unsloth Desktop
- Pi
How to use FoolDev/Janus-35B-HERETIC with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FoolDev/Janus-35B-HERETIC:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "FoolDev/Janus-35B-HERETIC:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use FoolDev/Janus-35B-HERETIC with Docker Model Runner:
docker model run hf.co/FoolDev/Janus-35B-HERETIC:Q4_K_M
- Lemonade
How to use FoolDev/Janus-35B-HERETIC with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FoolDev/Janus-35B-HERETIC:Q4_K_M
Run and chat with the model
lemonade run user.Janus-35B-HERETIC-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use FoolDev/Janus-35B-HERETIC with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FoolDev/Janus-35B-HERETIC: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:9931/v1 hermes config set model.default FoolDev/Janus-35B-HERETIC:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use FoolDev/Janus-35B-HERETIC with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FoolDev/Janus-35B-HERETIC: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:9931/v1 \ --custom-model-id "FoolDev/Janus-35B-HERETIC: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"
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: 21.23 GB) ·
Sibling: Thanatos-27B-HERETIC (dense)qwen35moe · Quant: Q4_K_M (
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 fromllmfan46/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'stemplate/system/paramsreach the model through the Ollama bridge andModelfilerather than being baked into the GGUF (this repo ships nochat_template.jinja). The MPOA-style abliteration — dialing back refusal behavior at the base layer — is upstream's work, not this repo's. TheTeacher: Claude Fable 5credit (inCITATION.cff) and thedatasets: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
- 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-A3Bdeclaresmodel_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
4-bit
Model tree for FoolDev/Janus-35B-HERETIC
Base model
Qwen/Qwen3.6-35B-A3B