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

gemma-4-E2B-it — GGUF (Q6_K)


📊 Performance Metrics

  • Size: 3.58 GB
  • Speed: 4.69 tokens/sec
  • Format: GGUF (llama.cpp optimized)
  • Quantization: Q6_K

🔷 Model Overview

This repository contains a GGUF quantized version of:

  • Base Model: gemma-4-E2B-it
  • Format: GGUF (optimized for llama.cpp inference)
  • Precision: Q6_K
  • Purpose: Efficient local inference on CPU/GPU

GGUF format provides:

  • Fast loading via memory mapping
  • Single-file model distribution
  • Cross-platform compatibility
  • Efficient inference with llama.cpp

📦 Files

File Description
gemma-4-E2B-it-Q6_K.gguf Quantized GGUF model file

⚙️ Technical Details

Parameter Value
Architecture gemma-4-E2B-it
Format GGUF
Precision Q6_K
Runtime llama.cpp
Use Case Local inference / deployment

⚡ Why GGUF?

GGUF is designed for efficient inference:

  • Optimized for llama.cpp
  • Supports CPU and GPU inference
  • Single-file deployment
  • Memory-mapped loading for speed
  • Ideal for edge / local environments

⚠️ License & Usage

This is a converted derivative model.

  • You must comply with the original model license of gemma-4-E2B-it
  • This is not an official release
  • No additional rights are granted
  • Original ownership remains with the base model creator

🚀 Quick Start (llama.cpp)

./llama-cli -m gemma-4-E2B-it-Q6_K.gguf -p "Explain AI simply"
Downloads last month
13
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

6-bit

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