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

Gemma-2B-Arabic-mobile

βœ… WORKS β€” Verified June 2026.

Verification Results

Prompt Response Correct?
What is the capital of France? "Paris is the capital of France. It is the political, economi" βœ…
Say hello in one sentence. "Hello, my name is Sarah and I'm happy to meet you." βœ…

Model Details

Attribute Value
Base Model google/gemma-2-2b-it
File Size 1555 MB
Format GGUF
Chat Format gemma
CPU Speed 14.8 tokens/sec
License gemma

Usage

from llama_cpp import Llama

llm = Llama(model_path="model.gguf", chat_format="gemma", n_ctx=512, n_threads=4, verbose=False)
response = llm.create_chat_completion(
    messages=[{"role": "user", "content": "What is the capital of France?"}],
    max_tokens=50,
)
print(response["choices"][0]["message"]["content"])

dispatchAI SDK

from dispatchai import load_model
model = load_model("Gemma-2B-Arabic-mobile", backend="gguf")
print(model.chat("Hello!"))

πŸš€ dispatchAI

Downloads last month
120
GGUF
Model size
3B params
Architecture
gemma
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using dispatchAI/Gemma-2B-Arabic-mobile 2

Collection including dispatchAI/Gemma-2B-Arabic-mobile