Downloads · 30 days
99
23% of all-time downloads
Darmm/darmm-chat-kazakh-8b
darmm-chat-kazakh-8b is a text generation model from Darmm. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Conversational assistant for Kazakh (with Russian and English retained) — a QLoRA fine-tune of Qwen/Qwen3-8B on ~105k instruction pairs (65k Kazakh, 25k Russian, 15k English). Supersedes the darmm-text-generation line.
Downloads · 30 days
99
23% of all-time downloads
All-time downloads
427
Public
Parameters
8.2B
16.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
Conversational assistant for Kazakh (with Russian and English retained) — a QLoRA fine-tune of Qwen/Qwen3-8B on ~105k instruction pairs (65k Kazakh, 25k Russian, 15k English). Supersedes the darmm-text-generation line.
Zero-shot multiple-choice accuracy via option log-prob scoring (non-thinking chat template). KazMMLU: 3,000-question sample (seed 42) over all Kazakh-language subjects; Belebele: full kaz_Cyrl test (900).
| benchmark | Qwen3-8B (base) | this model |
|---|---|---|
| Belebele (kaz_Cyrl) | 27.2% | 39.8% |
| KazMMLU (kaz subjects) | 27.9% | 38.3% |
Reproducible with eval_chat.py in this repo.
Use sampling, not greedy decoding: like the base model, long-form Kazakh degenerates into repetition under greedy decoding. Recommended settings:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Darmm/darmm-chat-kazakh-8b"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
messages = [{"role": "user", "content": "Наурыз мейрамы туралы айтып бер."}]
text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = tok(text, return_tensors="pt").to(model.device)
out = model.generate(
**inputs, max_new_tokens=512,
do_sample=True, temperature=0.7, top_p=0.8, top_k=20, repetition_penalty=1.1,
)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The model is trained for non-thinking mode (enable_thinking=False).
The LoRA adapter alone is at Darmm/darmm-chat-kazakh-8b-lora.
Built by Darmm · 2026-09 · Apache 2.0