Instructions to use dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit 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 dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit 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 dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16 # Run inference directly in the terminal: llama cli -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16 # Run inference directly in the terminal: llama cli -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
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 dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16 # Run inference directly in the terminal: ./llama-cli -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
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 dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
Use Docker
docker model run hf.co/dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
- LM Studio
- Jan
- Ollama
How to use dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit with Ollama:
ollama run hf.co/dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
- Unsloth Desktop
- Pi
How to use dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
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": "dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit with Docker Model Runner:
docker model run hf.co/dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
- Lemonade
How to use dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
Run and chat with the model
lemonade run user.gemma4-26b-a4b-it-codex-gguf-4bit-BF16
List all available models
lemonade list
- Hermes Agent
How to use dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
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 dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16
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 "dwojcik/gemma4-26b-a4b-it-codex-gguf-4bit:BF16" \ --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"
Gemma 4 26B Codex (GGUF 4-bit)
Goal: The ultimate goal of this project is to create the best Gemma 4 coder model available.
This model is a highly fine-tuned version of google/gemma-4-26B-A4B-it, optimized heavily on complex programming and software engineering tasks (such as the Evol-Instruct-Code dataset). It has been specifically quantized and converted to the GGUF format at 4-bit precision (q4_k_m), making it widely compatible with Windows, Linux, and Mac setups through tools like LM Studio, Ollama, and llama.cpp.
Key Features
- Unmatched Coding Ability: Fine-tuned specifically for reasoning, complex debugging, algorithmic generation, and software architecture.
- Universal GGUF Format: Compatible with almost any modern local LLM runner (llama.cpp, LM Studio, Text Generation WebUI).
- 4-bit Quantization: Uses the
q4_k_mquantization method to squeeze the massive 26B parameter intelligence into a memory footprint that comfortably runs on 16GB+ RAM setups while preserving high precision.
How to use with LM Studio
- Download and install LM Studio.
- In the search bar, look for this repository.
- Download the
.gguffile. - Load the model and start chatting!
How to use with llama.cpp
./main -m gemma4-26b-a4b-it-codex-unsloth-Q4_K_M.gguf -n 512 --color -i -cml -f prompts/chat-with-bob.txt
Training Details
- Base Model:
google/gemma-4-26B-A4B-it - Dataset: Evol-Instruct-Code-80k-v1
- Method: QLoRA via Unsloth (Rank 16, Alpha 32)
- Epochs: 3.0
- Downloads last month
- 373
4-bit
16-bit