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

Cakap โ€” Indonesian CS Conversational Model

Fine-tuned Gemma 4 e4B for natural Indonesian customer service conversations.

Intended Use

Automating Indonesian-language CS interactions โ€” product inquiries, complaints, order tracking, and returns.

Model Details

  • Base model: Gemma 4 e4B
  • Quantization: Q8_0 (GGUF)
  • Fine-tuning: Supervised fine-tuning on 200 synthetic CS conversations
  • Language: Bahasa Indonesia

Training Data

200 synthetic conversations generated with Claude Opus covering common e-commerce CS scenarios. Dataset: https://www.kaggle.com/datasets/rafikusuma/cs-dataset

How to Use

With Unsloth

from unsloth import FastLanguageModel

model, tokenizer = FastLanguageModel.from_pretrained(
    model_name = "rafkus/gemma4-cs-q8_0",
    max_seq_length = 2048,
    load_in_4bit = True,
)

FastLanguageModel.for_inference(model)

messages = [
    {"role": "system", "content": "Kamu adalah asisten customer service yang profesional dan ramah bernama Purwa."},
    {"role": "user", "content": "Halo, saya mau tanya status pesanan saya nomor #INV20240115"},
]

inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to("cuda")
outputs = model.generate(inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0]))

With Ollama (GGUF)

ollama run rafkus/gemma4-cs-q8_0

Limitations

  • Trained on synthetic data only
  • Domain specific: e-commerce CS
  • Not tested on production traffic
Downloads last month
9
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

Model tree for rafkus/gemma4-cs-q8_0

Quantized
(318)
this model