Qwen3.5-9B-Base-Kazakh

Kazakh-adapted continued-pretraining (CPT) of Qwen/Qwen3.5-9B-Base.

It extends the original Qwen3.5 base with 16K new Kazakh tokens and continues pretraining on a large Kazakh + English corpus, to improve Kazakh fluency and knowledge while retaining the original English capabilities.

Training details

  • Tokenizer extension (+16K). The Qwen3.5 tokenizer (248,320) was extended with 16,000 new, predominantly Cyrillic-Kazakh tokens → 264,192 total. New embedding rows were initialized with FVT (Fast Vocabulary Transfer): each new row is the unweighted mean of its constituent original sub-token embeddings, giving the model a warm start on the new vocabulary. Applied under untied embeddings (FVT applied to both the input embeddings and the separate lm_head).
  • Continued pretraining. Full-parameter CPT for one epoch at sequence length 32,768, learning rate 1e-5 (cosine → 1e-6, 2% warmup), weight decay 0.1, gradient clip 1.0, on 2× 8×H100.

Data

~15.9B new tokenizer tokens total with a 50/50 Kazakh:English mix. The Kazakh half is a cross-source deduplicated corpus (FineWeb-2, CulturaX, FinePDFs, FineWiki). The English half is a replay mix for retention (FineWeb-Edu web, Nemotron-CC math + wiki-rewrite, Stack-Edu code). Additional curated Kazakh sets (cultural/QA/encyclopedic) were folded in and upsampled 3×.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

name = "issai/Qwen3.5-9B-Base-Kazakh"
tokenizer = AutoTokenizer.from_pretrained(name)
model = AutoModelForCausalLM.from_pretrained(name, torch_dtype="bfloat16", device_map="auto")

prompt = "Сұрақ: Үстірт қорығы қай облыста орналасқан?\nЖауап:"

ids = tokenizer(prompt, return_tensors="pt").to(model.device)

print(tokenizer.decode(model.generate(**ids, max_new_tokens=100)[0][ids.input_ids.shape[1]:]))

Requires a recent transformers with Qwen3.5 support (>=5.9).

License & attribution

Continued-pretrained from Qwen/Qwen3.5-9B-Base; the original Qwen3.5 weights and their Apache-2.0 license apply.

Downloads last month
232
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for issai/Qwen3.5-9B-Base-Kazakh

Finetuned
(384)
this model
Finetunes
1 model
Quantizations
1 model

Collection including issai/Qwen3.5-9B-Base-Kazakh