Instructions to use Hacht/CapCapResource with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Hacht/CapCapResource with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Hacht/CapCapResource", filename="gemma-4-E4B-it-Q4_K_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Hacht/CapCapResource with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Hacht/CapCapResource:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Hacht/CapCapResource:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Hacht/CapCapResource:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Hacht/CapCapResource: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 Hacht/CapCapResource:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Hacht/CapCapResource: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 Hacht/CapCapResource:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Hacht/CapCapResource:Q4_K_M
Use Docker
docker model run hf.co/Hacht/CapCapResource:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Hacht/CapCapResource with Ollama:
ollama run hf.co/Hacht/CapCapResource:Q4_K_M
- Unsloth Studio new
How to use Hacht/CapCapResource 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 Hacht/CapCapResource 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 Hacht/CapCapResource to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Hacht/CapCapResource to start chatting
- Pi new
How to use Hacht/CapCapResource with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Hacht/CapCapResource: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": "Hacht/CapCapResource:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Hacht/CapCapResource with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Hacht/CapCapResource: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 Hacht/CapCapResource:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use Hacht/CapCapResource with Docker Model Runner:
docker model run hf.co/Hacht/CapCapResource:Q4_K_M
- Lemonade
How to use Hacht/CapCapResource with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Hacht/CapCapResource:Q4_K_M
Run and chat with the model
lemonade run user.CapCapResource-Q4_K_M
List all available models
lemonade list
| { | |
| "audio": { | |
| "sample_rate": 22050 | |
| }, | |
| "espeak": { | |
| "voice": "vi" | |
| }, | |
| "phoneme_type": "espeak", | |
| "num_symbols": 256, | |
| "num_speakers": 1, | |
| "inference": { | |
| "noise_scale": 0.667, | |
| "length_scale": 1.0, | |
| "noise_w": 0.8 | |
| }, | |
| "phoneme_id_map": { | |
| "_": [ | |
| 0 | |
| ], | |
| "^": [ | |
| 1 | |
| ], | |
| "$": [ | |
| 2 | |
| ], | |
| " ": [ | |
| 3 | |
| ], | |
| "!": [ | |
| 4 | |
| ], | |
| "'": [ | |
| 5 | |
| ], | |
| "(": [ | |
| 6 | |
| ], | |
| ")": [ | |
| 7 | |
| ], | |
| ",": [ | |
| 8 | |
| ], | |
| "-": [ | |
| 9 | |
| ], | |
| ".": [ | |
| 10 | |
| ], | |
| ":": [ | |
| 11 | |
| ], | |
| ";": [ | |
| 12 | |
| ], | |
| "?": [ | |
| 13 | |
| ], | |
| "a": [ | |
| 14 | |
| ], | |
| "b": [ | |
| 15 | |
| ], | |
| "c": [ | |
| 16 | |
| ], | |
| "d": [ | |
| 17 | |
| ], | |
| "e": [ | |
| 18 | |
| ], | |
| "f": [ | |
| 19 | |
| ], | |
| "h": [ | |
| 20 | |
| ], | |
| "i": [ | |
| 21 | |
| ], | |
| "j": [ | |
| 22 | |
| ], | |
| "k": [ | |
| 23 | |
| ], | |
| "l": [ | |
| 24 | |
| ], | |
| "m": [ | |
| 25 | |
| ], | |
| "n": [ | |
| 26 | |
| ], | |
| "o": [ | |
| 27 | |
| ], | |
| "p": [ | |
| 28 | |
| ], | |
| "q": [ | |
| 29 | |
| ], | |
| "r": [ | |
| 30 | |
| ], | |
| "s": [ | |
| 31 | |
| ], | |
| "t": [ | |
| 32 | |
| ], | |
| "u": [ | |
| 33 | |
| ], | |
| "v": [ | |
| 34 | |
| ], | |
| "w": [ | |
| 35 | |
| ], | |
| "x": [ | |
| 36 | |
| ], | |
| "y": [ | |
| 37 | |
| ], | |
| "z": [ | |
| 38 | |
| ], | |
| "æ": [ | |
| 39 | |
| ], | |
| "ç": [ | |
| 40 | |
| ], | |
| "ð": [ | |
| 41 | |
| ], | |
| "ø": [ | |
| 42 | |
| ], | |
| "ħ": [ | |
| 43 | |
| ], | |
| "ŋ": [ | |
| 44 | |
| ], | |
| "œ": [ | |
| 45 | |
| ], | |
| "ǀ": [ | |
| 46 | |
| ], | |
| "ǁ": [ | |
| 47 | |
| ], | |
| "ǂ": [ | |
| 48 | |
| ], | |
| "ǃ": [ | |
| 49 | |
| ], | |
| "ɐ": [ | |
| 50 | |
| ], | |
| "ɑ": [ | |
| 51 | |
| ], | |
| "ɒ": [ | |
| 52 | |
| ], | |
| "ɓ": [ | |
| 53 | |
| ], | |
| "ɔ": [ | |
| 54 | |
| ], | |
| "ɕ": [ | |
| 55 | |
| ], | |
| "ɖ": [ | |
| 56 | |
| ], | |
| "ɗ": [ | |
| 57 | |
| ], | |
| "ɘ": [ | |
| 58 | |
| ], | |
| "ə": [ | |
| 59 | |
| ], | |
| "ɚ": [ | |
| 60 | |
| ], | |
| "ɛ": [ | |
| 61 | |
| ], | |
| "ɜ": [ | |
| 62 | |
| ], | |
| "ɞ": [ | |
| 63 | |
| ], | |
| "ɟ": [ | |
| 64 | |
| ], | |
| "ɠ": [ | |
| 65 | |
| ], | |
| "ɡ": [ | |
| 66 | |
| ], | |
| "ɢ": [ | |
| 67 | |
| ], | |
| "ɣ": [ | |
| 68 | |
| ], | |
| "ɤ": [ | |
| 69 | |
| ], | |
| "ɥ": [ | |
| 70 | |
| ], | |
| "ɦ": [ | |
| 71 | |
| ], | |
| "ɧ": [ | |
| 72 | |
| ], | |
| "ɨ": [ | |
| 73 | |
| ], | |
| "ɪ": [ | |
| 74 | |
| ], | |
| "ɫ": [ | |
| 75 | |
| ], | |
| "ɬ": [ | |
| 76 | |
| ], | |
| "ɭ": [ | |
| 77 | |
| ], | |
| "ɮ": [ | |
| 78 | |
| ], | |
| "ɯ": [ | |
| 79 | |
| ], | |
| "ɰ": [ | |
| 80 | |
| ], | |
| "ɱ": [ | |
| 81 | |
| ], | |
| "ɲ": [ | |
| 82 | |
| ], | |
| "ɳ": [ | |
| 83 | |
| ], | |
| "ɴ": [ | |
| 84 | |
| ], | |
| "ɵ": [ | |
| 85 | |
| ], | |
| "ɶ": [ | |
| 86 | |
| ], | |
| "ɸ": [ | |
| 87 | |
| ], | |
| "ɹ": [ | |
| 88 | |
| ], | |
| "ɺ": [ | |
| 89 | |
| ], | |
| "ɻ": [ | |
| 90 | |
| ], | |
| "ɽ": [ | |
| 91 | |
| ], | |
| "ɾ": [ | |
| 92 | |
| ], | |
| "ʀ": [ | |
| 93 | |
| ], | |
| "ʁ": [ | |
| 94 | |
| ], | |
| "ʂ": [ | |
| 95 | |
| ], | |
| "ʃ": [ | |
| 96 | |
| ], | |
| "ʄ": [ | |
| 97 | |
| ], | |
| "ʈ": [ | |
| 98 | |
| ], | |
| "ʉ": [ | |
| 99 | |
| ], | |
| "ʊ": [ | |
| 100 | |
| ], | |
| "ʋ": [ | |
| 101 | |
| ], | |
| "ʌ": [ | |
| 102 | |
| ], | |
| "ʍ": [ | |
| 103 | |
| ], | |
| "ʎ": [ | |
| 104 | |
| ], | |
| "ʏ": [ | |
| 105 | |
| ], | |
| "ʐ": [ | |
| 106 | |
| ], | |
| "ʑ": [ | |
| 107 | |
| ], | |
| "ʒ": [ | |
| 108 | |
| ], | |
| "ʔ": [ | |
| 109 | |
| ], | |
| "ʕ": [ | |
| 110 | |
| ], | |
| "ʘ": [ | |
| 111 | |
| ], | |
| "ʙ": [ | |
| 112 | |
| ], | |
| "ʛ": [ | |
| 113 | |
| ], | |
| "ʜ": [ | |
| 114 | |
| ], | |
| "ʝ": [ | |
| 115 | |
| ], | |
| "ʟ": [ | |
| 116 | |
| ], | |
| "ʡ": [ | |
| 117 | |
| ], | |
| "ʢ": [ | |
| 118 | |
| ], | |
| "ʲ": [ | |
| 119 | |
| ], | |
| "ˈ": [ | |
| 120 | |
| ], | |
| "ˌ": [ | |
| 121 | |
| ], | |
| "ː": [ | |
| 122 | |
| ], | |
| "ˑ": [ | |
| 123 | |
| ], | |
| "˞": [ | |
| 124 | |
| ], | |
| "β": [ | |
| 125 | |
| ], | |
| "θ": [ | |
| 126 | |
| ], | |
| "χ": [ | |
| 127 | |
| ], | |
| "ᵻ": [ | |
| 128 | |
| ], | |
| "ⱱ": [ | |
| 129 | |
| ], | |
| "0": [ | |
| 130 | |
| ], | |
| "1": [ | |
| 131 | |
| ], | |
| "2": [ | |
| 132 | |
| ], | |
| "3": [ | |
| 133 | |
| ], | |
| "4": [ | |
| 134 | |
| ], | |
| "5": [ | |
| 135 | |
| ], | |
| "6": [ | |
| 136 | |
| ], | |
| "7": [ | |
| 137 | |
| ], | |
| "8": [ | |
| 138 | |
| ], | |
| "9": [ | |
| 139 | |
| ], | |
| "̧": [ | |
| 140 | |
| ], | |
| "̃": [ | |
| 141 | |
| ], | |
| "̪": [ | |
| 142 | |
| ], | |
| "̯": [ | |
| 143 | |
| ], | |
| "̩": [ | |
| 144 | |
| ], | |
| "ʰ": [ | |
| 145 | |
| ], | |
| "ˤ": [ | |
| 146 | |
| ], | |
| "ε": [ | |
| 147 | |
| ], | |
| "↓": [ | |
| 148 | |
| ], | |
| "#": [ | |
| 149 | |
| ], | |
| "\"": [ | |
| 150 | |
| ], | |
| "↑": [ | |
| 151 | |
| ], | |
| "̺": [ | |
| 152 | |
| ], | |
| "̻": [ | |
| 153 | |
| ], | |
| "g": [ | |
| 154 | |
| ], | |
| "ʦ": [ | |
| 155 | |
| ], | |
| "X": [ | |
| 156 | |
| ], | |
| "̝": [ | |
| 157 | |
| ], | |
| "̊": [ | |
| 158 | |
| ], | |
| "ɝ": [ | |
| 159 | |
| ], | |
| "ʷ": [ | |
| 160 | |
| ] | |
| }, | |
| "speaker_id_map": {}, | |
| "hop_length": 256, | |
| "piper_version": "1.3.0" | |
| } |