How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf uabali/gemma4-e4b-TR: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 "uabali/gemma4-e4b-TR: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"
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
72
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train uabali/gemma4-e4b-TR