Downloads · 30 days
8
3% of all-time downloads
rafkus/gemma4-cs-q8_0
gemma4-cs-q8_0 is a text generation model from rafkus. Use it when you need the model to write or continue text. The card lists the license as cc-by-4.0.
Fine-tuned Gemma 4 e4B for natural Indonesian customer service conversations.
Downloads · 30 days
8
3% of all-time downloads
All-time downloads
315
Public
Repo size
8 GB
Likes
0
Public
Click a slice to open those files.
.gguf8 GB · 100%
From the Hugging Face model README
Fine-tuned Gemma 4 e4B for natural Indonesian customer service conversations.
Automating Indonesian-language CS interactions — product inquiries, complaints, order tracking, and returns.
200 synthetic conversations generated with Claude Opus covering common e-commerce CS scenarios. Dataset: https://www.kaggle.com/datasets/rafikusuma/cs-dataset
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]))
ollama run rafkus/gemma4-cs-q8_0