How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf lschaffer/gemma4-tealkit:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf lschaffer/gemma4-tealkit:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf lschaffer/gemma4-tealkit:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf lschaffer/gemma4-tealkit: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 lschaffer/gemma4-tealkit:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf lschaffer/gemma4-tealkit: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 lschaffer/gemma4-tealkit:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf lschaffer/gemma4-tealkit:Q4_K_M
Use Docker
docker model run hf.co/lschaffer/gemma4-tealkit:Q4_K_M
Quick Links

⚠️ This model is purpose-built for the TealKit agentic AI app. It is optimised for MCP tool-call generation inside TealKit's server mode.

Model Details

Base model google/gemma-4-E2B-it
Fine-tune method QLoRA (4-bit base, 16-bit adapters, Unsloth)
Quantization Q4_K_M
GGUF file model-q4_k_m.gguf
Training date 2026-05-15

Quick Start (Ollama)

ollama create gemma4-tealkit -f Modelfile
ollama run gemma4-tealkit

Training Pipeline

QLoRA fine-tuning in Google Colab (Unsloth + TRL), PEFT adapter fusion, llama.cpp GGUF export. See the TealKit training guide.

Downloads last month
-
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for lschaffer/gemma4-tealkit

Quantized
(187)
this model