Instructions to use FoolDev/Janus-35B-HERETIC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FoolDev/Janus-35B-HERETIC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="FoolDev/Janus-35B-HERETIC") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FoolDev/Janus-35B-HERETIC", device_map="auto") - 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
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -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/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -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
- 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
- SGLang
How to use FoolDev/Janus-35B-HERETIC with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "FoolDev/Janus-35B-HERETIC" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/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 images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "FoolDev/Janus-35B-HERETIC" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/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" } } ] } ] }' - Ollama
How to use FoolDev/Janus-35B-HERETIC with Ollama:
ollama run hf.co/FoolDev/Janus-35B-HERETIC:Q4_K_M
- Unsloth Studio
How to use FoolDev/Janus-35B-HERETIC with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for FoolDev/Janus-35B-HERETIC to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for FoolDev/Janus-35B-HERETIC to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for FoolDev/Janus-35B-HERETIC to start chatting
- 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 @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/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:8080/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:8080/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"
Rebundle Q4_K_M blob: legacy Qwen 3.6 35B-A3B -> Heretic (qwen35moe-stamped)
Browse filesReplace the bundled Janus-35B-A3B.Q4_K_M.gguf (previously the legacy pre-Heretic
Qwen 3.6 35B-A3B quant) with the Heretic Q4_K_M from
llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF. The download is natively
qwen35moe-stamped (no restamp needed) and structurally verified via GGUFReader:
40 layers, 256 experts (8 active), context 262144, vocab 248320 β matching the
README Architecture.
README 'Bundled blob status' callout + build.sh row and the CHANGELOG
'unchanged' entry reframed to 'rebundled'. hf.co pull now serves Heretic directly.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- CHANGELOG.md +11 -9
- Janus-35B-A3B.Q4_K_M.gguf +2 -2
- README.md +8 -9
|
@@ -14,8 +14,8 @@ track the **tooling and documentation**, not the underlying base model.
|
|
| 14 |
(default `Q4_K_M`), patches the `Modelfile` `FROM` line in a temp copy, and
|
| 15 |
runs `ollama create janus`. Mirrors the dense sibling's (`FoolDev/Thanatos-27B`)
|
| 16 |
`build.sh`, adapted for the 35B-A3B MoE, and gives Janus a reproducible path to
|
| 17 |
-
|
| 18 |
-
|
| 19 |
|
| 20 |
### Changed (base swap β llmfan46 Heretic)
|
| 21 |
- **Swapped the immediate base from `Qwen/Qwen3.6-35B-A3B` (vanilla) β
|
|
@@ -40,9 +40,11 @@ track the **tooling and documentation**, not the underlying base model.
|
|
| 40 |
Heretic base (immediate base + upstream base both cited).
|
| 41 |
- `banner.svg` subtitle β "Qwen 3.6 Heretic Β· MoE 35B/3B Β· Fable 5";
|
| 42 |
`banner.png` re-rasterized from the updated SVG.
|
| 43 |
-
- **Bundled `Janus-35B-A3B.Q4_K_M.gguf`
|
| 44 |
-
pre-Heretic Qwen quant
|
| 45 |
-
35B-A3B
|
|
|
|
|
|
|
| 46 |
|
| 47 |
### Changed (support badge β Tokyo Night banner)
|
| 48 |
- **Replaced the shields.io "Buy me a coffee" badge** in the README badge
|
|
@@ -59,10 +61,10 @@ track the **tooling and documentation**, not the underlying base model.
|
|
| 59 |
README "Related models" row, `CITATION.cff` references entry, and both
|
| 60 |
`Modelfile` comments (previously the stale `FoolDev/janus-27b` /
|
| 61 |
`Thanatos-27B-Heretic`). Per the sibling repo, `Thanatos-27B-Heretic`
|
| 62 |
-
now 307-redirects to `Thanatos-27B`,
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
|
| 67 |
### Fixed
|
| 68 |
- **CITATION.cff self-reference** `repository-code` / `url` corrected from
|
|
|
|
| 14 |
(default `Q4_K_M`), patches the `Modelfile` `FROM` line in a temp copy, and
|
| 15 |
runs `ollama create janus`. Mirrors the dense sibling's (`FoolDev/Thanatos-27B`)
|
| 16 |
`build.sh`, adapted for the 35B-A3B MoE, and gives Janus a reproducible path to
|
| 17 |
+
build other quants locally. README "What's here" table and the
|
| 18 |
+
bundled-blob-status callout now point at it.
|
| 19 |
|
| 20 |
### Changed (base swap β llmfan46 Heretic)
|
| 21 |
- **Swapped the immediate base from `Qwen/Qwen3.6-35B-A3B` (vanilla) β
|
|
|
|
| 40 |
Heretic base (immediate base + upstream base both cited).
|
| 41 |
- `banner.svg` subtitle β "Qwen 3.6 Heretic Β· MoE 35B/3B Β· Fable 5";
|
| 42 |
`banner.png` re-rasterized from the updated SVG.
|
| 43 |
+
- **Bundled `Janus-35B-A3B.Q4_K_M.gguf` rebundled** β replaced the legacy
|
| 44 |
+
pre-Heretic Qwen quant with the Heretic Q4_K_M from
|
| 45 |
+
`llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF` (`qwen35moe`-stamped;
|
| 46 |
+
40 layers / 256 experts / vocab 248,320 verified against the README
|
| 47 |
+
Architecture). Serves the uncensored Heretic behavior directly.
|
| 48 |
|
| 49 |
### Changed (support badge β Tokyo Night banner)
|
| 50 |
- **Replaced the shields.io "Buy me a coffee" badge** in the README badge
|
|
|
|
| 61 |
README "Related models" row, `CITATION.cff` references entry, and both
|
| 62 |
`Modelfile` comments (previously the stale `FoolDev/janus-27b` /
|
| 63 |
`Thanatos-27B-Heretic`). Per the sibling repo, `Thanatos-27B-Heretic`
|
| 64 |
+
now 307-redirects to `Thanatos-27B`, which sits on the
|
| 65 |
+
`llmfan46/Qwen3.6-27B-uncensored-heretic-v2` Heretic base β so the
|
| 66 |
+
README row cites that Heretic base and corrects the redirect
|
| 67 |
+
direction.
|
| 68 |
|
| 69 |
### Fixed
|
| 70 |
- **CITATION.cff self-reference** `repository-code` / `url` corrected from
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b82f9f2155eb9c07139d48cc3a37880cf9d0edcca345ef6ad829b62941ccbb82
|
| 3 |
+
size 21233608512
|
|
@@ -96,18 +96,17 @@ and `thinking` under Capabilities. Hardware: ~38 GB RAM at default
|
|
| 96 |
| `Janus-35B-A3B.Q4_K_M.gguf` | Recommended default, ~19 GB |
|
| 97 |
| `Modelfile` | Ollama wrapper for **local** builds (`ollama create janus -f Modelfile`) β overrides the GGUF's embedded template with one that exposes `.Tools` / `.ToolCalls` to Ollama's capability detector. |
|
| 98 |
| `template`, `system`, `params` | Used by HF's Ollama bridge when users `ollama run hf.co/FoolDev/Janus-35B` directly. The bridge does **not** read `Modelfile` (see [HF Ollama docs](https://huggingface.co/docs/hub/en/ollama)); it ingests these three root-level files instead. Kept in sync with the `Modelfile`'s `TEMPLATE` / `SYSTEM` / `PARAMETER` directives. |
|
| 99 |
-
| `scripts/build.sh` | Pulls a GGUF from `llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF` (default Q4_K_M) and runs `ollama create janus`.
|
| 100 |
| `scripts/check_bridge_sync.py` | Run before pushing a `Modelfile` / `template` / `system` / `params` edit to verify the four configurations remain in sync. Exits 0 if in sync, 1 with a per-key diff if not. |
|
| 101 |
|
| 102 |
GGUF-only release. Pull the Heretic safetensors from [`llmfan46/Qwen3.6-35B-A3B-uncensored-heretic`](https://huggingface.co/llmfan46/Qwen3.6-35B-A3B-uncensored-heretic) if you need the `transformers` tree (or the vanilla pre-Heretic base from [`Qwen/Qwen3.6-35B-A3B`](https://huggingface.co/Qwen/Qwen3.6-35B-A3B)).
|
| 103 |
|
| 104 |
-
> **Bundled blob status:** the `Janus-35B-A3B.Q4_K_M.gguf`
|
| 105 |
-
>
|
| 106 |
-
>
|
| 107 |
-
>
|
| 108 |
-
>
|
| 109 |
-
>
|
| 110 |
-
> the uncensored Heretic behavior.
|
| 111 |
|
| 112 |
## Architecture
|
| 113 |
|
|
@@ -340,7 +339,7 @@ print(resp.choices[0].message.tool_calls)
|
|
| 340 |
| [llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-Native-MTP-Preserved](https://huggingface.co/llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-Native-MTP-Preserved) | 35B / 3B active | Same Heretic base but keeps the MTP head for vLLM / SGLang speculative decoding. |
|
| 341 |
| [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) | 35B / 3B active | Upstream pre-Heretic base model. `transformers`-native multimodal weights. |
|
| 342 |
| [FoolDev/Thanatos-27B](https://huggingface.co/FoolDev/Thanatos-27B) | 27B dense | Dense sibling on the [`llmfan46/Qwen3.6-27B-uncensored-heretic-v2`](https://huggingface.co/llmfan46/Qwen3.6-27B-uncensored-heretic-v2) Heretic base. Same teacher (Fable 5), same dataset family, smaller memory footprint, no MoE quirks. (The old `FoolDev/Thanatos-27B-Heretic` slug now serves a 307 to this path.) |
|
| 343 |
-
| [Crownelius/Crow-9B-HERETIC-4.6](https://huggingface.co/Crownelius/Crow-9B-HERETIC-4.6) | 9B dense | Heretic-flavored fine-tune
|
| 344 |
|
| 345 |
## Credits
|
| 346 |
|
|
|
|
| 96 |
| `Janus-35B-A3B.Q4_K_M.gguf` | Recommended default, ~19 GB |
|
| 97 |
| `Modelfile` | Ollama wrapper for **local** builds (`ollama create janus -f Modelfile`) β overrides the GGUF's embedded template with one that exposes `.Tools` / `.ToolCalls` to Ollama's capability detector. |
|
| 98 |
| `template`, `system`, `params` | Used by HF's Ollama bridge when users `ollama run hf.co/FoolDev/Janus-35B` directly. The bridge does **not** read `Modelfile` (see [HF Ollama docs](https://huggingface.co/docs/hub/en/ollama)); it ingests these three root-level files instead. Kept in sync with the `Modelfile`'s `TEMPLATE` / `SYSTEM` / `PARAMETER` directives. |
|
| 99 |
+
| `scripts/build.sh` | Pulls a GGUF from `llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF` (default Q4_K_M) and runs `ollama create janus`. The bundled Q4_K_M is already this Heretic quant; use this to build other quants locally. |
|
| 100 |
| `scripts/check_bridge_sync.py` | Run before pushing a `Modelfile` / `template` / `system` / `params` edit to verify the four configurations remain in sync. Exits 0 if in sync, 1 with a per-key diff if not. |
|
| 101 |
|
| 102 |
GGUF-only release. Pull the Heretic safetensors from [`llmfan46/Qwen3.6-35B-A3B-uncensored-heretic`](https://huggingface.co/llmfan46/Qwen3.6-35B-A3B-uncensored-heretic) if you need the `transformers` tree (or the vanilla pre-Heretic base from [`Qwen/Qwen3.6-35B-A3B`](https://huggingface.co/Qwen/Qwen3.6-35B-A3B)).
|
| 103 |
|
| 104 |
+
> **Bundled blob status:** the bundled `Janus-35B-A3B.Q4_K_M.gguf` is the Heretic
|
| 105 |
+
> Q4_K_M quant (from
|
| 106 |
+
> [`llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF`](https://huggingface.co/llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-GGUF)),
|
| 107 |
+
> `qwen35moe`-stamped and verified against the Architecture below (40 layers, 256
|
| 108 |
+
> experts, vocab 248,320). It serves the uncensored Heretic behavior directly;
|
| 109 |
+
> `./scripts/build.sh` remains the path for other quants.
|
|
|
|
| 110 |
|
| 111 |
## Architecture
|
| 112 |
|
|
|
|
| 339 |
| [llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-Native-MTP-Preserved](https://huggingface.co/llmfan46/Qwen3.6-35B-A3B-uncensored-heretic-Native-MTP-Preserved) | 35B / 3B active | Same Heretic base but keeps the MTP head for vLLM / SGLang speculative decoding. |
|
| 340 |
| [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) | 35B / 3B active | Upstream pre-Heretic base model. `transformers`-native multimodal weights. |
|
| 341 |
| [FoolDev/Thanatos-27B](https://huggingface.co/FoolDev/Thanatos-27B) | 27B dense | Dense sibling on the [`llmfan46/Qwen3.6-27B-uncensored-heretic-v2`](https://huggingface.co/llmfan46/Qwen3.6-27B-uncensored-heretic-v2) Heretic base. Same teacher (Fable 5), same dataset family, smaller memory footprint, no MoE quirks. (The old `FoolDev/Thanatos-27B-Heretic` slug now serves a 307 to this path.) |
|
| 342 |
+
| [Crownelius/Crow-9B-HERETIC-4.6](https://huggingface.co/Crownelius/Crow-9B-HERETIC-4.6) | 9B dense | Heretic-flavored fine-tune on a smaller 9B Qwen base. Useful as a fast first-pass model when 35B is too heavy for the host. |
|
| 343 |
|
| 344 |
## Credits
|
| 345 |
|