A LoRA adapter (not a standalone model) fine-tuned with QLoRA (4-bit NF4) on top of google/gemma-4-31B-it. It was not trained from scratch; the base model, its weights and its license belong to its original authors. Use is subject to the base model's license/terms.
Experimental Indonesian/English assistant for the MindSeek AI project.
Built-in demonstration set (~35 short hand-written Indonesian/English examples incl. identity, math, coding, summarization, structured output, refusal and uncertainty). Too small for meaningful capability gains.
Smoke test of 9 prompts, base vs fine-tuned, greedy decoding. Final train loss 3.7856, val loss 3.2065. These are not benchmark scores. Lower loss does not imply broader capability.
May produce incorrect or fabricated information; fine-tuning does not guarantee factual accuracy. No tool or internet access.
import torch
from transformers import AutoModelForMultimodalLM, AutoTokenizer, BitsAndBytesConfig
from peft import PeftModel
bnb = BitsAndBytesConfig(load_in_4bit=True, bnb_4bit_quant_type="nf4", bnb_4bit_compute_dtype=torch.bfloat16)
base = AutoModelForMultimodalLM.from_pretrained("google/gemma-4-31B-it", quantization_config=bnb, dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(base, "Sup2Doggie/mindseek-prime-4.6")
tok = AutoTokenizer.from_pretrained("Sup2Doggie/mindseek-prime-4.6")
msgs = [{"role": "user", "content": "Halo, kamu siapa?"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, enable_thinking=False, return_tensors="pt", return_dict=True)["input_ids"].to(model.device)
print(tok.decode(model.generate(ids, max_new_tokens=200)[0][ids.shape[1]:], skip_special_tokens=True))
google/gemma-4-31B-it