Instructions to use serialhex/gemma4-26b-biblical-gguf-gt 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 serialhex/gemma4-26b-biblical-gguf-gt 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 serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M # Run inference directly in the terminal: llama cli -hf serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M # Run inference directly in the terminal: llama cli -hf serialhex/gemma4-26b-biblical-gguf-gt: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 serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M
Use Docker
docker model run hf.co/serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use serialhex/gemma4-26b-biblical-gguf-gt with Ollama:
ollama run hf.co/serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M
- Unsloth Desktop
- Pi
How to use serialhex/gemma4-26b-biblical-gguf-gt with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf serialhex/gemma4-26b-biblical-gguf-gt: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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use serialhex/gemma4-26b-biblical-gguf-gt with Docker Model Runner:
docker model run hf.co/serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M
- Lemonade
How to use serialhex/gemma4-26b-biblical-gguf-gt with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M
Run and chat with the model
lemonade run user.gemma4-26b-biblical-gguf-gt-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use serialhex/gemma4-26b-biblical-gguf-gt with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf serialhex/gemma4-26b-biblical-gguf-gt: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 serialhex/gemma4-26b-biblical-gguf-gt:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use serialhex/gemma4-26b-biblical-gguf-gt with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf serialhex/gemma4-26b-biblical-gguf-gt: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:8080/v1 \ --custom-model-id "serialhex/gemma4-26b-biblical-gguf-gt: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"
Inconsistent reasoning
For me, this model consistently reasons only during the first turn of a conversation. On subsequent turns, the reasoning is broken in one of the following ways:
- No reasoning at all.
- Reasoning is present but not formatted as reasoning; it is simply part of the response.
- Reasoning is correctly parsed but does not appear at the beginning (see example below).
I am not sure whether the problem lies with the training data or the chat template. I am running it in LM Studio and tried several chat templates (Google's original one for Gemma 26B, as well as Unsloth's templates) to test whether the issue was template-related, but to no avail. The vanilla Gemma 26B does not have this issue for me.
God bless
I tested it a bit more and found that, in Unsloth Studio, even the first turn fails to initiate reasoning. However, I noticed that, in some cases, the model tries to output the <think> token instead of the <|channel>thought\n token (the standard for Gemma 4). So the problem may lie in the training data having an incorrect <think> token, as well as an incorrect chat template with <|channel>thought\n injection.
You're probably not wrong. This is my first time training a model (thanks for checking it out btw!) and I basically didn't know what I was doing. Still mostly don't, but I ran the experiment, and... I have a thing, even if it's only half-baked. I'll have to be more careful next time I build a model, which might be a while.
Again, thank you for checking this out, and hopefully the next version will turn out better!

