Instructions to use patrol114/Yeti2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use patrol114/Yeti2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("DavidAU/Qwen3.8-40B-Ultimate-Heretic-Uncensored") model = PeftModel.from_pretrained(base_model, "patrol114/Yeti2") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use patrol114/Yeti2 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/Yeti2:F16 # Run inference directly in the terminal: llama cli -hf patrol114/Yeti2:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf patrol114/Yeti2:F16 # Run inference directly in the terminal: llama cli -hf patrol114/Yeti2:F16
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/Yeti2:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf patrol114/Yeti2:F16
Use Docker
docker model run hf.co/patrol114/Yeti2:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use patrol114/Yeti2 with Ollama:
ollama run hf.co/patrol114/Yeti2:F16
- Unsloth Desktop
- Pi
How to use patrol114/Yeti2 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf patrol114/Yeti2:F16
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/Yeti2:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use patrol114/Yeti2 with Docker Model Runner:
docker model run hf.co/patrol114/Yeti2:F16
- Lemonade
How to use patrol114/Yeti2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull patrol114/Yeti2:F16
Run and chat with the model
lemonade run user.Yeti2-F16
List all available models
lemonade list
- Hermes Agent
How to use patrol114/Yeti2 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/Yeti2:F16
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/Yeti2:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use patrol114/Yeti2 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf patrol114/Yeti2:F16
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/Yeti2:F16" \ --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/Yeti2:F16# Run inference directly in the terminal:
llama cli -hf patrol114/Yeti2:F16Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf patrol114/Yeti2:F16# Run inference directly in the terminal:
llama cli -hf patrol114/Yeti2:F16Build 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/Yeti2:F16# Run inference directly in the terminal:
./build/bin/llama cli -hf patrol114/Yeti2:F16Use Docker
docker model run hf.co/patrol114/Yeti2:F16Yeti2 — Qwen3.8-40B LoRA (Manusagents Distillation v2)
Opis
Yeti2 to adapter LoRA wytrenowany na modelu bazowym DavidAU/Qwen3.8-40B-Ultimate-Heretic-Uncensored (architektura Qwen3.5, 40B parametrów, warstwy SSM/Mamba).
Celem treningu jest destylacja wiedzy z modeli frontier (GPT-5.5, Gemini-3.1, Claude, Grok-4) do lokalnego modelu 40B, ze szczególnym uwzględnieniem zadań agentic, kodowania i bezpieczeństwa defensywnego.
Szczegóły treningu
| Parametr | Wartość |
|---|---|
| Model bazowy | DavidAU/Qwen3.8-40B-Ultimate-Heretic-Uncensored |
| Typ | LoRA (PEFT) |
| Rank | 32 |
| Alpha | 32 |
| Dropout | 0 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Max seq length | 4096 |
| Epochs | 1.0 |
| Steps | 970 |
| Learning rate | 1e-4 (cosine decay) |
| Batch size | 1 (grad accum 8) |
| Optimizer | adamw_8bit |
| Precision | BF16 |
| Train loss | 0.1694 |
| Train runtime | ~101 min (6092s) |
| Total FLOPs | 7.91 × 10¹⁷ |
| Total tokens | 3 422 508 |
| Framework | Unsloth + TRL SFTTrainer |
Dane treningowe
Zbiór treningowy pochodzi z Manusagents/GPT-5.5-Gemini-3.1-Pro-Grok-4-Claude-Fable-5-Mythos-5-Qwen-3.7-Max-and-more-Distillation-Dataset oraz dodatkowych źródeł.
| Źródło | Rekordy | Kategoria |
|---|---|---|
| vibe_instruct_v2 | 2000 | SFT (coding) |
| vibe_coding | 1500 | SFT (coding) |
| gemini35 distillation | 1000 | SFT |
| gpt55 thinking | 1000 | SFT |
| claude mythos | 800 | SFT |
| grok44 | 800 | SFT |
| physics 25k | 500 | SFT (science) |
| psychology 25k | 500 | SFT (humanities) |
| alpaca | 500 | SFT (instruction) |
| MoreThought reasoning | 500 | SFT (reasoning) |
| obsidian cyber SFT | 1000 | SFT (defensive) |
| cybersec reasoning | 1000 | SFT (defensive) |
| agent skills | 1000 | SFT (agentic) |
| + 20 dodatkowych źródeł | ~3953 | SFT / eval / audit |
| Łącznie | 7753 |
Filtrowanie: tylko rozmowy tekstowe (bez tool traces), deduplikacja exact-hash + SimHash, klasyfikacja treści offensive/defensive, podział train/val/test (90/5/5).
Pliki w repozytorium
| Plik | Opis |
|---|---|
adapter_config.json |
Konfiguracja adaptera LoRA |
adapter_model.safetensors |
Wagi adaptera (0.9 GB) |
Yeti2-F16.gguf |
Model zmergowany w formacie GGUF F16 (72.8 GB) — gotowy do llama-server |
chat_template.jinja |
Szablon czatu (Qwen3.5) |
tokenizer.json |
Tokenizer |
tokenizer_config.json |
Konfiguracja tokenizera |
latest.json |
Manifest ostatniego runu treningowego |
checkpoint-900/ |
Checkpoint krok 900 |
checkpoint-950/ |
Checkpoint krok 950 |
checkpoint-970/ |
Checkpoint krok 970 (ostatni) |
Użycie z llama-server
# Pobierz GGUF
huggingface-cli download patrol114/Yeti2 Yeti2-F16.gguf --local-dir ./models
# Uruchom llama-server (wymaga b12816+ dla obsługi Qwen3.5 SSM)
llama-server --host 0.0.0.0 --port 8888 -m ./models/Yeti2-F16.gguf \
--ctx-size 65536 --n-gpu-layers 99 --flash-attn on \
--cache-type-k q8_0 --cache-type-v q8_0 --jinja
Użycie z Transformers + PEFT
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = "DavidAU/Qwen3.8-40B-Ultimate-Heretic-Uncensored"
model = AutoModelForCausalLM.from_pretrained(base, torch_dtype="bfloat16", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(base)
model = PeftModel.from_pretrained(model, "patrol114/Yeti2")
Ewaluacja PolQA
Model został oceniony na zbiorze PolQA (50 par pytań z kontekstem pozytywnym i negatywnym) z kwantyzacją NF4 4-bit.
Wymagania
- llama-server: b12816 lub nowszy (wymagana obsługa architektury Qwen3.5 SSM — tensor
ssm_beta) - Transformers: 5.0+ (Qwen3.5)
- GPU: ~80 GiB VRAM dla F16, ~40 GiB dla Q4 quantization
- CUDA: 13.0+ dla Blackwell sm_120
Podziękowania
- DavidAU — model bazowy Qwen3.8-40B-Ultimate-Heretic-Uncensored
- Manusagents — zbiór distillation
- MoreThought — zbiór reasoning
- Unsloth — framework treningowy
- llama.cpp — konwersja GGUF i inferencja
- Downloads last month
- 82
16-bit
Model tree for patrol114/Yeti2
Base model
Qwen/Qwen3.8-27B
# Gated model: Login with a HF token with gated access permission hf auth login