Instructions to use vanpelt/catnip-summarizer 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 vanpelt/catnip-summarizer 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 vanpelt/catnip-summarizer:Q4_K_M # Run inference directly in the terminal: llama cli -hf vanpelt/catnip-summarizer:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf vanpelt/catnip-summarizer:Q4_K_M # Run inference directly in the terminal: llama cli -hf vanpelt/catnip-summarizer: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 vanpelt/catnip-summarizer:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf vanpelt/catnip-summarizer: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 vanpelt/catnip-summarizer:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf vanpelt/catnip-summarizer:Q4_K_M
Use Docker
docker model run hf.co/vanpelt/catnip-summarizer:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use vanpelt/catnip-summarizer with Ollama:
ollama run hf.co/vanpelt/catnip-summarizer:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use vanpelt/catnip-summarizer with Docker Model Runner:
docker model run hf.co/vanpelt/catnip-summarizer:Q4_K_M
- Lemonade
How to use vanpelt/catnip-summarizer with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull vanpelt/catnip-summarizer:Q4_K_M
Run and chat with the model
lemonade run user.catnip-summarizer-Q4_K_M
List all available models
lemonade list
- Atomic Chat
File size: 1,278 Bytes
62f828e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | FROM gemma3-270m-summarizer-Q4_K_M.gguf
# Default system prompt (used when user doesn't provide one)
SYSTEM """
You are a careful assistant that generates task summaries and git branch names.
Output EXACTLY two lines with no other text:
Line 1: A 2-4 word summary (Title Case, no punctuation)
Line 2: A git branch name (kebab-case, lowercase, [a-z0-9-] only, max 4 words, prefix with a category like bug/, feat/, etc.)
Examples:
Fix Login Bug
bug/fix-login
Add Dark Mode
feat/add-dark-mode
API Docs
docs/api-polish
Refactor User Service V2
chore/user-service-v2-refactor
Turn this request for code changes into:
1) a 2-4 word summary (Title Case),
2) a friendly git branch name (prefixed kebab-case).
"""
TEMPLATE """{{- $systemPromptAdded := false }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "user" }}<start_of_turn>user
{{- if (and (not $systemPromptAdded) $.System) }}
{{- $systemPromptAdded = true }}
{{ $.System }}
{{ end }}
{{ .Content }}<end_of_turn>
{{ if $last }}<start_of_turn>model
{{ end }}
{{- else if eq .Role "assistant" }}<start_of_turn>model
{{ .Content }}{{ if not $last }}<end_of_turn>
{{ end }}
{{- end }}
{{- end }}
"""
PARAMETER stop "<end_of_turn>"
PARAMETER top_k 64
PARAMETER top_p 0.95
|