Instructions to use FoolDev/Thanatos-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FoolDev/Thanatos-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="FoolDev/Thanatos-27B") 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/Thanatos-27B", dtype="auto") - llama-cpp-python
How to use FoolDev/Thanatos-27B with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="FoolDev/Thanatos-27B", filename="Thanatos-27B.Q4_K_M.gguf", )
llm.create_chat_completion( 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" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use FoolDev/Thanatos-27B with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf FoolDev/Thanatos-27B:Q4_K_M # Run inference directly in the terminal: llama-cli -hf FoolDev/Thanatos-27B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf FoolDev/Thanatos-27B:Q4_K_M # Run inference directly in the terminal: llama-cli -hf FoolDev/Thanatos-27B: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/Thanatos-27B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf FoolDev/Thanatos-27B: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/Thanatos-27B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf FoolDev/Thanatos-27B:Q4_K_M
Use Docker
docker model run hf.co/FoolDev/Thanatos-27B:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use FoolDev/Thanatos-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FoolDev/Thanatos-27B" # 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/Thanatos-27B", "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/Thanatos-27B:Q4_K_M
- SGLang
How to use FoolDev/Thanatos-27B 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/Thanatos-27B" \ --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/Thanatos-27B", "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/Thanatos-27B" \ --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/Thanatos-27B", "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/Thanatos-27B with Ollama:
ollama run hf.co/FoolDev/Thanatos-27B:Q4_K_M
- Unsloth Studio new
How to use FoolDev/Thanatos-27B 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/Thanatos-27B 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/Thanatos-27B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for FoolDev/Thanatos-27B to start chatting
- Pi new
How to use FoolDev/Thanatos-27B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf FoolDev/Thanatos-27B: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/Thanatos-27B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use FoolDev/Thanatos-27B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf FoolDev/Thanatos-27B: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/Thanatos-27B:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use FoolDev/Thanatos-27B with Docker Model Runner:
docker model run hf.co/FoolDev/Thanatos-27B:Q4_K_M
- Lemonade
How to use FoolDev/Thanatos-27B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FoolDev/Thanatos-27B:Q4_K_M
Run and chat with the model
lemonade run user.Thanatos-27B-Q4_K_M
List all available models
lemonade list
Revert lowercase-q3 rename: HF stopped recognizing repo as GGUF
Browse filesCommit 6973bea renamed Janus-27B.Q3_K_S.gguf -> Janus-27B.q3_k_s.gguf
on the theory that HF picks the alphabetically-first GGUF as the
default :latest Ollama tag, and lowercase 'q' (0x71) sorts after
uppercase 'Q' (0x51), so Q4_K_M would win the default-pick.
In practice that broke HF's GGUF detection entirely:
curl https://huggingface.co/api/models/FoolDev/janus-27b
-> 'gguf.total': null
-> 'gguf.totalFileSize': null
ollama pull hf.co/FoolDev/janus-27b
-> 400: 'Repository is not GGUF or is not compatible with llama.cpp'
HF's GGUF-detection regex evidently requires the canonical
uppercase-quant pattern (Q[0-9]_[A-Z]_[A-Z]), and lowercasing it
made the file invisible to the parser β leaving zero recognized
GGUFs in the repo and the entire Ollama integration unusable.
Reverted to Janus-27B.Q3_K_S.gguf. The explicit-:Q4_K_M-tag
documentation across README / examples / ollama_chat.py docstring
stays as the practical fix; we don't have control over HF's
default-quant pick.
CHANGELOG entry rewritten under '[Unreleased] / Investigated (and
reverted)' so future maintainers don't repeat the experiment.
- CHANGELOG.md +17 -22
- Janus-27B.q3_k_s.gguf β Janus-27B.Q3_K_S.gguf +0 -0
- Modelfile +2 -4
- README.md +20 -14
- examples/README.md +6 -2
- examples/ollama_chat.py +4 -3
|
@@ -7,28 +7,23 @@ and documentation**, not the underlying base model.
|
|
| 7 |
|
| 8 |
## [Unreleased]
|
| 9 |
|
| 10 |
-
###
|
| 11 |
-
- `Janus-27B.Q3_K_S.gguf`
|
| 12 |
-
(lowercase quant suffix)
|
| 13 |
-
|
| 14 |
-
and
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
picker switches to a different heuristic in future, this hack may
|
| 28 |
-
stop being load-bearing. The previous "Changed" entry that
|
| 29 |
-
recommended the explicit `:Q4_K_M` tag is now obsolete: bare
|
| 30 |
-
`ollama run hf.co/FoolDev/janus-27b` resolves to Q4_K_M
|
| 31 |
-
unambiguously after this rename.
|
| 32 |
|
| 33 |
### Added
|
| 34 |
- `scripts/smoke_test.sh` opt-in tool-call round-trip (gated by
|
|
|
|
| 7 |
|
| 8 |
## [Unreleased]
|
| 9 |
|
| 10 |
+
### Investigated (and reverted)
|
| 11 |
+
- Tried renaming `Janus-27B.Q3_K_S.gguf` to `Janus-27B.q3_k_s.gguf`
|
| 12 |
+
(lowercase quant suffix) hoping to flip HF's default-`:latest`-tag
|
| 13 |
+
pick from Q3_K_S to Q4_K_M. The theory was that HF picks the
|
| 14 |
+
alphabetically-first GGUF and lowercase 'q' (0x71) sorts after
|
| 15 |
+
uppercase 'Q' (0x51), so Q4_K_M would become first.
|
| 16 |
+
**Result: HF stopped recognizing the repo as GGUF entirely.**
|
| 17 |
+
After commit 6973bea (since reverted) the HF API returned
|
| 18 |
+
`gguf.total: null` and `gguf.totalFileSize: null`, and
|
| 19 |
+
`ollama pull hf.co/FoolDev/janus-27b` failed with
|
| 20 |
+
`400 Repository is not GGUF or is not compatible with llama.cpp`.
|
| 21 |
+
HF's GGUF-detection regex evidently requires the uppercase-quant
|
| 22 |
+
pattern, so lowercasing it broke the integration entirely β worse
|
| 23 |
+
than the original Q3_K_S-default behavior. Reverted to
|
| 24 |
+
`Janus-27B.Q3_K_S.gguf`. The "Pin the explicit `:Q4_K_M` tag"
|
| 25 |
+
documentation in the README / examples / docstring stays as the
|
| 26 |
+
practical fix; we don't have control over HF's default-pick logic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
### Added
|
| 29 |
- `scripts/smoke_test.sh` opt-in tool-call round-trip (gated by
|
|
File without changes
|
|
@@ -6,15 +6,13 @@
|
|
| 6 |
# input, or wait for the fix. See the Vision section in README.md.
|
| 7 |
#
|
| 8 |
# This repo bundles two GGUFs: Janus-27B.Q4_K_M.gguf (~17 GB, default)
|
| 9 |
-
# and Janus-27B.
|
| 10 |
-
# quant suffix is intentional β keeps it alphabetically after Q4_K_M so
|
| 11 |
-
# HF's Ollama bridge picks Q4_K_M for the bare `:latest` tag). The FROM
|
| 12 |
# line below points at the bundled Q4_K_M, so a fresh clone (with LFS
|
| 13 |
# smudge enabled) supports the no-script path:
|
| 14 |
#
|
| 15 |
# ollama create janus-27b -f Modelfile && ollama run janus-27b
|
| 16 |
#
|
| 17 |
-
# To use the smaller quant, edit FROM to ./Janus-27B.
|
| 18 |
# `make build QUANT=Q3_K_S` which patches FROM in a temp Modelfile copy.
|
| 19 |
#
|
| 20 |
# Other GGUF sources (use with `make build GGUF_PATH=...`):
|
|
|
|
| 6 |
# input, or wait for the fix. See the Vision section in README.md.
|
| 7 |
#
|
| 8 |
# This repo bundles two GGUFs: Janus-27B.Q4_K_M.gguf (~17 GB, default)
|
| 9 |
+
# and Janus-27B.Q3_K_S.gguf (~12 GB, smaller-footprint option). The FROM
|
|
|
|
|
|
|
| 10 |
# line below points at the bundled Q4_K_M, so a fresh clone (with LFS
|
| 11 |
# smudge enabled) supports the no-script path:
|
| 12 |
#
|
| 13 |
# ollama create janus-27b -f Modelfile && ollama run janus-27b
|
| 14 |
#
|
| 15 |
+
# To use the smaller quant, edit FROM to ./Janus-27B.Q3_K_S.gguf, or run
|
| 16 |
# `make build QUANT=Q3_K_S` which patches FROM in a temp Modelfile copy.
|
| 17 |
#
|
| 18 |
# Other GGUF sources (use with `make build GGUF_PATH=...`):
|
|
@@ -68,11 +68,16 @@ template β HF's Ollama bridge ingests those three files, not
|
|
| 68 |
`Modelfile`):
|
| 69 |
|
| 70 |
```bash
|
| 71 |
-
ollama run hf.co/FoolDev/janus-27b
|
| 72 |
-
ollama run hf.co/FoolDev/janus-27b:Q4_K_M # explicit, same blob
|
| 73 |
ollama run hf.co/FoolDev/janus-27b:Q3_K_S # ~12 GB, smaller-footprint
|
| 74 |
```
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
Or build locally (uses this repo's `Modelfile`, kept in sync with the
|
| 77 |
three bridge files) for any quant:
|
| 78 |
|
|
@@ -128,20 +133,19 @@ The 27B is **dense**: every parameter participates in every forward pass. It's s
|
|
| 128 |
| `README.md` | This file |
|
| 129 |
|
| 130 |
This repo ships two GGUFs to back the HF/Ollama "Use this model"
|
| 131 |
-
widget β `Janus-27B.Q4_K_M.gguf` (~17 GB,
|
| 132 |
-
`Janus-27B.
|
| 133 |
GPUs / unified-memory laptops):
|
| 134 |
|
| 135 |
```bash
|
| 136 |
-
ollama run hf.co/FoolDev/janus-27b
|
| 137 |
ollama run hf.co/FoolDev/janus-27b:Q3_K_S # 12 GB, smaller-footprint
|
| 138 |
```
|
| 139 |
|
| 140 |
-
The
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
`:Q3_K_S` still resolves correctly.
|
| 145 |
|
| 146 |
For other quants or local builds, pull from
|
| 147 |
[`unsloth/Qwen3.6-27B-GGUF`](https://huggingface.co/unsloth/Qwen3.6-27B-GGUF)
|
|
@@ -174,9 +178,11 @@ Two paths:
|
|
| 174 |
|
| 175 |
```bash
|
| 176 |
# A. Pull straight from HF (uses the bundled GGUF + root-level
|
| 177 |
-
# template / system / params files):
|
| 178 |
-
ollama run hf.co/FoolDev/janus-27b
|
| 179 |
ollama run hf.co/FoolDev/janus-27b:Q3_K_S # 12 GB, smaller-footprint
|
|
|
|
|
|
|
| 180 |
|
| 181 |
# B. Build locally (lets you pick the quant):
|
| 182 |
make build # Q4_K_M -> janus-27b
|
|
@@ -208,8 +214,8 @@ local app β point it at this repo and pick a quant.
|
|
| 208 |
|
| 209 |
| App | How to load this model |
|
| 210 |
|---|---|
|
| 211 |
-
| **Ollama** | `ollama run hf.co/FoolDev/janus-27b` (
|
| 212 |
-
| **LM Studio** | Search β `FoolDev/janus-27b` β pick `Janus-27B.Q4_K_M.gguf` or `Janus-27B.
|
| 213 |
| **Jan** | Hub β "Import from Hugging Face" β `FoolDev/janus-27b`. Same template behavior as LM Studio. |
|
| 214 |
| **llama.cpp** | `hf download FoolDev/janus-27b Janus-27B.Q4_K_M.gguf --local-dir .` then `llama-server -m Janus-27B.Q4_K_M.gguf` (or `llama-cli`, `llama-mtmd-cli` for vision via the upstream `mmproj-F16.gguf`). |
|
| 215 |
| **llama-cpp-python** | See `examples/llama_cpp_quickstart.py` (text) and `examples/llama_cpp_vision.py` (image input). |
|
|
|
|
| 68 |
`Modelfile`):
|
| 69 |
|
| 70 |
```bash
|
| 71 |
+
ollama run hf.co/FoolDev/janus-27b:Q4_K_M # ~17 GB, recommended
|
|
|
|
| 72 |
ollama run hf.co/FoolDev/janus-27b:Q3_K_S # ~12 GB, smaller-footprint
|
| 73 |
```
|
| 74 |
|
| 75 |
+
> **Use the explicit `:Q4_K_M` tag.** HF's Ollama bridge currently picks
|
| 76 |
+
> `Janus-27B.Q3_K_S.gguf` (the alphabetically-first GGUF in the repo) as
|
| 77 |
+
> the default for the bare `ollama run hf.co/FoolDev/janus-27b` form,
|
| 78 |
+
> *not* Q4_K_M. If you don't pin a quant tag explicitly you'll get the
|
| 79 |
+
> 12 GB Q3_K_S blob.
|
| 80 |
+
|
| 81 |
Or build locally (uses this repo's `Modelfile`, kept in sync with the
|
| 82 |
three bridge files) for any quant:
|
| 83 |
|
|
|
|
| 133 |
| `README.md` | This file |
|
| 134 |
|
| 135 |
This repo ships two GGUFs to back the HF/Ollama "Use this model"
|
| 136 |
+
widget β `Janus-27B.Q4_K_M.gguf` (~17 GB, recommended) and
|
| 137 |
+
`Janus-27B.Q3_K_S.gguf` (~12 GB, smaller-footprint option for 16 GB
|
| 138 |
GPUs / unified-memory laptops):
|
| 139 |
|
| 140 |
```bash
|
| 141 |
+
ollama run hf.co/FoolDev/janus-27b:Q4_K_M # 17 GB, recommended
|
| 142 |
ollama run hf.co/FoolDev/janus-27b:Q3_K_S # 12 GB, smaller-footprint
|
| 143 |
```
|
| 144 |
|
| 145 |
+
The bare `ollama run hf.co/FoolDev/janus-27b` form (no quant tag)
|
| 146 |
+
currently resolves to the alphabetically-first GGUF in the repo β
|
| 147 |
+
`Janus-27B.Q3_K_S.gguf` β *not* Q4_K_M. Pin the tag explicitly to get
|
| 148 |
+
the recommended Q4_K_M quant.
|
|
|
|
| 149 |
|
| 150 |
For other quants or local builds, pull from
|
| 151 |
[`unsloth/Qwen3.6-27B-GGUF`](https://huggingface.co/unsloth/Qwen3.6-27B-GGUF)
|
|
|
|
| 178 |
|
| 179 |
```bash
|
| 180 |
# A. Pull straight from HF (uses the bundled GGUF + root-level
|
| 181 |
+
# template / system / params files; pin a quant tag explicitly):
|
| 182 |
+
ollama run hf.co/FoolDev/janus-27b:Q4_K_M # 17 GB, recommended
|
| 183 |
ollama run hf.co/FoolDev/janus-27b:Q3_K_S # 12 GB, smaller-footprint
|
| 184 |
+
# (Bare `ollama run hf.co/FoolDev/janus-27b` resolves to Q3_K_S, not
|
| 185 |
+
# Q4_K_M β HF picks the alphabetically-first GGUF when no tag pinned.)
|
| 186 |
|
| 187 |
# B. Build locally (lets you pick the quant):
|
| 188 |
make build # Q4_K_M -> janus-27b
|
|
|
|
| 214 |
|
| 215 |
| App | How to load this model |
|
| 216 |
|---|---|
|
| 217 |
+
| **Ollama** | `ollama run hf.co/FoolDev/janus-27b:Q4_K_M` (or `:Q3_K_S`). Pulls the GGUF + the root-level `template` / `system` / `params` files in one step (HF's Ollama bridge ingests these three files; it does **not** read `Modelfile`). For local builds, `make build` uses `Modelfile`, which is kept in sync. **Pin the quant tag** β bare `hf.co/FoolDev/janus-27b` resolves to Q3_K_S, not Q4_K_M. |
|
| 218 |
+
| **LM Studio** | Search β `FoolDev/janus-27b` β pick `Janus-27B.Q4_K_M.gguf` or `Janus-27B.Q3_K_S.gguf`. Uses the GGUF's embedded jinja chat template (Qwen 3.6 ChatML); set the system prompt manually from the `SYSTEM` block in this repo's `Modelfile`. |
|
| 219 |
| **Jan** | Hub β "Import from Hugging Face" β `FoolDev/janus-27b`. Same template behavior as LM Studio. |
|
| 220 |
| **llama.cpp** | `hf download FoolDev/janus-27b Janus-27B.Q4_K_M.gguf --local-dir .` then `llama-server -m Janus-27B.Q4_K_M.gguf` (or `llama-cli`, `llama-mtmd-cli` for vision via the upstream `mmproj-F16.gguf`). |
|
| 221 |
| **llama-cpp-python** | See `examples/llama_cpp_quickstart.py` (text) and `examples/llama_cpp_vision.py` (image input). |
|
|
@@ -21,13 +21,17 @@ Easiest path β pull straight from HF (gets the bundled Q4_K_M GGUF +
|
|
| 21 |
this repo's Modelfile in one step):
|
| 22 |
|
| 23 |
```bash
|
| 24 |
-
ollama pull hf.co/FoolDev/janus-27b
|
| 25 |
# or:
|
| 26 |
ollama pull hf.co/FoolDev/janus-27b:Q3_K_S # 12 GB, smaller-footprint
|
| 27 |
pip install requests
|
| 28 |
-
MODEL=hf.co/FoolDev/janus-27b python ollama_chat.py
|
| 29 |
```
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
Or build locally from this repo (uses the bundled `Janus-27B.Q4_K_M.gguf`,
|
| 32 |
no edits required):
|
| 33 |
|
|
|
|
| 21 |
this repo's Modelfile in one step):
|
| 22 |
|
| 23 |
```bash
|
| 24 |
+
ollama pull hf.co/FoolDev/janus-27b:Q4_K_M # 17 GB, recommended
|
| 25 |
# or:
|
| 26 |
ollama pull hf.co/FoolDev/janus-27b:Q3_K_S # 12 GB, smaller-footprint
|
| 27 |
pip install requests
|
| 28 |
+
MODEL=hf.co/FoolDev/janus-27b:Q4_K_M python ollama_chat.py
|
| 29 |
```
|
| 30 |
|
| 31 |
+
> Pin the quant tag explicitly. Bare `ollama pull hf.co/FoolDev/janus-27b`
|
| 32 |
+
> resolves to Q3_K_S (HF picks the alphabetically-first GGUF in the
|
| 33 |
+
> repo), not Q4_K_M.
|
| 34 |
+
|
| 35 |
Or build locally from this repo (uses the bundled `Janus-27B.Q4_K_M.gguf`,
|
| 36 |
no edits required):
|
| 37 |
|
|
@@ -9,9 +9,10 @@ Prerequisites (pick one):
|
|
| 9 |
# or:
|
| 10 |
$ ollama create janus-27b -f ../Modelfile
|
| 11 |
|
| 12 |
-
B. Pull straight from HF (
|
| 13 |
-
|
| 14 |
-
|
|
|
|
| 15 |
|
| 16 |
Then:
|
| 17 |
$ ollama serve # usually already running
|
|
|
|
| 9 |
# or:
|
| 10 |
$ ollama create janus-27b -f ../Modelfile
|
| 11 |
|
| 12 |
+
B. Pull straight from HF (pin the quant tag explicitly β bare
|
| 13 |
+
`hf.co/FoolDev/janus-27b` resolves to Q3_K_S, not Q4_K_M):
|
| 14 |
+
$ ollama run hf.co/FoolDev/janus-27b:Q4_K_M
|
| 15 |
+
# then set MODEL=hf.co/FoolDev/janus-27b:Q4_K_M below
|
| 16 |
|
| 17 |
Then:
|
| 18 |
$ ollama serve # usually already running
|