Instructions to use patrol114/Yeti 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 patrol114/Yeti 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 patrol114/Yeti:Q4_K_M # Run inference directly in the terminal: llama cli -hf patrol114/Yeti:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf patrol114/Yeti:Q4_K_M # Run inference directly in the terminal: llama cli -hf patrol114/Yeti: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 patrol114/Yeti:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf patrol114/Yeti:Q4_K_M
Use Docker
docker model run hf.co/patrol114/Yeti:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use patrol114/Yeti with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "patrol114/Yeti" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "patrol114/Yeti", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/patrol114/Yeti:Q4_K_M
- Ollama
How to use patrol114/Yeti with Ollama:
ollama run hf.co/patrol114/Yeti:Q4_K_M
- Unsloth Desktop
- Pi
How to use patrol114/Yeti with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf patrol114/Yeti: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": "patrol114/Yeti:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use patrol114/Yeti with Docker Model Runner:
docker model run hf.co/patrol114/Yeti:Q4_K_M
- Lemonade
How to use patrol114/Yeti with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull patrol114/Yeti:Q4_K_M
Run and chat with the model
lemonade run user.Yeti-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use patrol114/Yeti with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf patrol114/Yeti: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 patrol114/Yeti:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use patrol114/Yeti with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf patrol114/Yeti: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 "patrol114/Yeti: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"
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf patrol114/Yeti:Q4_K_M# Run inference directly in the terminal:
llama cli -hf patrol114/Yeti:Q4_K_MInstall from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf patrol114/Yeti:Q4_K_M# Run inference directly in the terminal:
llama cli -hf patrol114/Yeti:Q4_K_MBuild 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 patrol114/Yeti:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama cli -hf patrol114/Yeti:Q4_K_MUse Docker
docker model run hf.co/patrol114/Yeti:Q4_K_MYeti v3 YARE
Merged LoRA fine-tune of Qwen3.8-40B-Ultimate-Heretic-Uncensored with the YARE (Yeti Adaptive Reasoning Engine) chat template. 6.6× lower eval loss, respects enable_thinking flags, 99% less token overhead.
Comparison: Base vs Yeti v3 YARE
| Base (Heretic) | Yeti v3 YARE | ||
|---|---|---|---|
| Eval loss | 1.021 | 0.155 | 6.6× better |
| Thinking control | Ignores enable_thinking: false, runs thinking anyway (105s for simple QA) |
Respects the flag, answers in 14s | Predictable |
| Code generation | 89 tokens, truncated | 194 tokens, complete function | More complete |
| Science Q&A | 512 tokens of <think> — never reached the answer |
325 tokens, direct formatted answer | Actually answers |
| Reasoning | "Simulate tree-of-thought" (text instruction) | Real 3-pass ToT, code verification, multi-agent | Genuine |
| Token waste | 3,244 tokens/turn in help mode |
17 tokens | 99% less |
| Polish | Supported, not optimized | Fine-tuned on 11K records | Better |
| Tools | ✅ | ✅ | Preserved |
| Uncensored | ✅ | ✅ | Preserved |
| Speed | 15.0 tok/s | 15.3 tok/s | Same |
| Context | 262K capable | 131K (Q8_0 cache) | Same arch |
Bottom line: YARE wins 4/8 benchmarks, ties 3/8, base wins 1/8 (edge case). The base model's biggest flaw — ignoring enable_thinking: false — is fixed.
Benchmark
llama-server v1.1.0, F16 GGUF, RTX PRO 6000 Blackwell, 131K context. temperature=0.7, enable_thinking=false unless noted.
| Test | Base time | Base tok | Base <think> |
YARE time | YARE tok | YARE <think> |
Winner | Why |
|---|---|---|---|---|---|---|---|---|
| Polish QA | 105.7s | 195 | ⚠️ ran anyway | 14.0s | 189 | No | YARE | 7.6× faster — v3 ignored disabled thinking |
| Code (Python) | 6.0s | 89 | No | 13.8s | 194 | No | YARE | Complete function vs truncated |
| Math | 33.0s | 512 | No | 31.1s | 482 | No | Tie | Both correct |
| Creative (PL) | 7.7s | 115 | No | 7.2s | 107 | No | Tie | Both quality poems |
| Science | 33.0s | 512 | ⚠️ ran anyway | 21.1s | 325 | No | YARE | v3 never reached answer; YARE formatted |
| Tool use | 2.3s | 27 | No | 2.3s | 27 | No | Tie | Both called tool correctly |
| Thinking (on) | 33.2s | 512 | ✅ yes | 33.0s | 512 | ✅ 321 words | YARE | Structured reasoning vs rambling |
| Translation | 8.5s | 128 | No | 0.4s | 1 | No | Base | YARE hit early stop (edge case) |
Examples
Science — "Explain neural networks" (enable_thinking: false):
Base:
<think>The user is asking in Polish to briefly explain how a neural
network works in deep learning. I'll respond in Polish...
[512 tokens of thinking — never reached the actual answer]
YARE:
Sieć neuronowa w uczeniu głębokim działa analogicznie do ludzkiego mózgu,
składając się z **warstw neuronów** (sztucznych komórek), które przetwarzają
dane w trzech głównych etapach:
1. **Wejście danych** – dane (np. obraz, tekst) trafiają do warstwy wejściowej...
Thinking mode — "What is the meaning of life?" (enable_thinking: true):
Base:
I've thought about this a great deal... The search might be part of the answer... [rambled, hit 512 token limit before concluding]
YARE:
[321 words of structured reasoning] I'll engage with this honestly. I don't have a definitive answer, and I think that uncertainty is itself part of what makes us human. But here's what I've come to find compelling: Meaning seems to emerge, not exist.
Training
| Value | |
|---|---|
| Base | DavidAU/Qwen3.8-40B-Ultimate-Heretic-Uncensored |
| Method | LoRA (rank=32, alpha=32) |
| Precision | 4-bit NF4 base / 32-bit LoRA |
| Data | 11,189 train, 588 val (Manusagents Distillation) |
| Steps | 2,100 / 2,798 (early stop, plateau) |
| Best eval loss | 0.1552 |
Loss trajectory
Step 50 → 1.021 (untrained baseline)
Step 1450 → 0.541 (v3 — standard template, plateau)
═══════════════════════════════════════════
Step 1650 → 0.385 ← YARE template kicks in (-29%)
Step 1700 → 0.199 ← cascading (-48%)
Step 2100 → 0.155 ← best (stop)
YARE template caused 71% additional loss reduction on top of standard fine-tuning.
YARE Engine
| Fix | Effect |
|---|---|
| 5000-word minimum removed | No forced verbosity |
| 17 duplicate variables eliminated | Cleaner template |
help mode: 3,244 → 17 tokens |
99% overhead reduction |
coder mode: 2,655 → 105 tokens |
96% reduction |
| ToT: text instruction → 3 real passes | Genuine reasoning |
| Verification: text → real code execution | Real checking |
| Multi-agent: text → real API calls | Real orchestration |
| Confidence: none → 0.0-1.0 score | Measurable |
| Token budget: static → 0-32K dynamic | Adaptive |
Inference
llama-server -m Yeti-v3-F16.gguf --port 8888 -c 131072 \
-ngl 99 --cache-type-k q8_0 --cache-type-v q8_0 --jinja
| Context | 131K (Q8_0 KV cache) |
| VRAM | 82 GB |
| Speed | 15.3 tok/s gen, 115 tok/s prompt |
| Hardware | RTX PRO 6000 Blackwell (95 GB) |
| llama-server | v1.1.0 (sm_120a, SSM support) |
Files
| File | Size | Description |
|---|---|---|
Yeti-v3-F16.gguf |
72.8 GB | Merged YARE model |
Yeti-F16.gguf |
72.8 GB | v3 without YARE |
checkpoints/checkpoint-2100-yare/ |
912 MB | LoRA adapter + YARE files |
llama-server-blackwell-sm120/ |
200 MB | Pre-compiled binary |
colab_ntfy_relay.py |
— | NTFY relay v3.4 |
claude_code_proxy.py |
— | Claude Code proxy v3.5 |
benchmark_results.json |
— | YARE results |
benchmark_v3.json |
— | Base v3 results |
info.md |
— | Full setup guide |
Credits
- Model: Qwen3.8-40B by Tongyi Lab / Alibaba
- Base: DavidAU (Heretic Uncensored)
- Training: Unsloth, PEFT, bitsandbytes
- Inference: llama.cpp v1.1.0 (SSM tensor support)
- YARE: Yeti Adaptive Reasoning Engine
YARE v4 — Audyt i przebudowa szablonu rozumowania
Pełny audyt i przebudowa szablownu chat template. Szablon zoptymalizowany z 243K znaków do 11K (95.5% redukcji) bez ingerencji w wagi modelu.
Co znaleziono w audycie
| Problem | Wpływ |
|---|---|
raise_exception('System message must be at the beginning') |
Claude Code wysyła system mid-conversation → 500 error |
| 5000-word minimum thinking block | Marnotrawstwo tokenów, wolne odpowiedzi |
| 32K słów instrukcji w szablonie | 53 tokenów overhead nawet dla "Hello" |
enable_thinking: false ignorowane |
Model generuje thinking mimo wyłączenia (105s vs 14s) |
| 40+ trybów (persony, AGI combos) | Większość nieużywana, dodaje zamieszania |
| 17 duplikatów zmiennych | Szablon bloat |
| Symulowane mechanizmy tekstowe | "Symuluj tree of thought" ≠ realne ToT |
Co zmieniono w v4
5 poziomów rozumowania:
| Poziom | Opis | Kiedy używać |
|---|---|---|
| OFF | Odpowiedź bez bloku rozumowania | Proste fakty, greetings |
| LOW | 1-2 zdania myślenia | Szybkie zadania |
| MEDIUM | Standardowe rozumowanie krok po kroku | Zwykłe pytania |
| HIGH | Dekompozycja, wiele podejść, weryfikacja | Złożone problemy techniczne |
| XHIGH | Wyczerpujące: sub-problemy, edge cases, evidence | Wieloetapowe zadania |
3 specjalizacje (aliasy, nie jednoczesne): coder, creative, analyst
Adaptacyjny wybór: HIGH domyślnie gdy thinking włączony, OFF gdy wyłączony.
Co usunięto:
- 5000-word minimum thinking
- 40+ persony/AGI trybów (joker, vader, einstein, spoon, holodeck, itp.)
- 17 duplikatów zmiennych
raise_exceptiondla pozycji system message- 32K słów instrukcji
- Symulowane ToT/verification/multi-agent (przeniesione do yare.py)
Co zachowano:
- Vision content rendering (obrazy, wideo)
- Tool calling format
- Historia konwersacji z thinking preservation
<think>tag handling{REASON:mode}tag detectionchat_template_kwargsoverride
Redukcja tokenów
| Tryb | Oryginał | v4 | Redukcja |
|---|---|---|---|
| Default (thinking on) | 53 tok | 12 tok | 77% |
| Default (thinking off) | 13 tok | 12 tok | 8% |
coder |
2,755 tok | 52 tok | 98% |
help |
3,389 tok | — | 100% (usunięty) |
joker |
2,676 tok | — | 100% (usunięty) |
vader |
2,582 tok | — | 100% (usunięty) |
ultra |
912 tok | — | 100% (usunięty) |
Walidacja szablonu: 6/6 ✅
| Test | Oryginał | v4 |
|---|---|---|
| Simple user (no thinking) | ✅ | ✅ |
| System + user (thinking on) | ✅ | ✅ |
| System in middle | ❌ crash | ✅ |
| Tool calls | ✅ | ✅ |
{REASON:high} tag |
✅ | ✅ |
| Multiple system messages | ❌ crash | ✅ |
Rozdzielenie odpowiedzialności
| Warstwa | Oryginał | v4 |
|---|---|---|
| Formatowanie konwersacji | Mieszane z instrukcjami | Czysty Jinja rendering |
| Budżet tokenów | 5000-word minimum hardcoded | Usunięte — aplikacja decyduje |
| Wykonywanie narzędzi | "Symuluj" tekstowo | Usunięte — kod aplikacji |
| Orkiestracja agentów | "Symuluj" tekstowo | Usunięte — kod aplikacji |
| Weryfikacja | "Symuluj" tekstowo | Usunięte — kod aplikacji |
| Poziom rozumowania | 40+ trybów ręcznie | 5 poziomów + adaptacyjny default |
Pliki
| Plik | Opis |
|---|---|
yare/yare_v4_template.jinja |
Nowy szablon v4 (10,953 znaki — 95.5% mniejszy) |
yare/yare_chat_template_original.jinja |
Backup oryginału (243,139 znaków) |
yare/yare_v4_audit.md |
Pełny raport audytu |
Użycie v4
llama-server -m Yeti-v3-F16.gguf \
--chat-template-file yare_v4_template.jinja \
--port 8888 -c 131072 -ngl 99 \
--cache-type-k q8_0 --cache-type-v q8_0 --jinja
Albo przez {REASON:} tag w wiadomości użytkownika:
{REASON:off} Quick question— bez myślenia{REASON:low} Simple task— krótkie myślenie{REASON:high} Complex problem— szczegółowe rozumowanie{REASON:xhigh} Multi-step challenge— wyczerpujące rozumowanie
- Downloads last month
- 81
Model tree for patrol114/Yeti
Base model
Qwen/Qwen3.8-27B
# Gated model: Login with a HF token with gated access permission hf auth login