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

gemma-4-e4b-rag-TR : GGUF

Turkish RAG-optimized GGUF version of the LoRA fine-tuned Gemma 4 E4B model.

This model was fine-tuned with LoRA (QLoRA) on the Turkish RAG dataset and converted to GGUF format using Unsloth.

Model Description

  • Base Model: google/gemma-4-e4b
  • Fine-tuning: LoRA on Turkish RAG data
  • Dataset: Metin/WikiRAG-TR
  • Purpose: High-quality Turkish Retrieval-Augmented Generation (RAG)
  • Context Length: 8192 tokens

Example Usage (llama.cpp)

# Text-only inference
./llama-cli -hf uabali/gemma4-e4b-rag-TR -p "Soru: ..." --jinja -c 8192

# With server (recommended for multiple users)
./llama-server -hf uabali/gemma4-e4b-rag-TR --port 8080 --cont-batching -np 6 -c 8192
Downloads last month
496
GGUF
Model size
8B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

8-bit

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

Dataset used to train uabali/gemma4-e4b-TR