Training
Table with columns: Parameter, Value| Parameter | Value |
|---|
| Training tokens | 9.898B |
| Batch size | 240 × 4,096 tokens |
| Learning rate | 2e-5, constant after a 150-step warmup |
| Final weights | Average of 5 checkpoints from the last 850 steps (no decay phase) |
| Gradient clipping | 1.0 |
| Framework | Megatron-LM, all parameters updated |
| Hardware | 16 × NVIDIA GH200, 1,513 GPU-hours |
Data
Table with columns: Source, Repeats, Tokens (B), Share| Source | Repeats | Tokens (B) | Share |
|---|
| HPLT v4.0, standard orthography | ×2 | 3.708 | 37.46% |
| Books (own scrape) | ×2 | 1.634 | 16.51% |
| News (own scrape) | ×2 | 1.138 | 11.50% |
| Wikipedia | ×2 | 0.302 | 3.05% |
| Taraškievica | ×1 | 0.603 | 6.09% |
| Łacinka | ×1 | 0.008 | 0.08% |
| Belarusian subtotal | | 7.393 | 74.69% |
| English (Nemotron-CC-v2.1) | ×1 | 1.480 | 14.96% |
| Math (Nemotron-CC-Math-v1) | ×1 | 0.364 | 3.68% |
| Python (stack-edu) | ×1 | 0.364 | 3.68% |
| Russian (FineWeb2-HQ-Plus) | ×1 | 0.296 | 2.99% |
| Replay subtotal | | 2.505 | 25.31% |
| Total | | 9.898 | 100% |
Belarusian data was cleaned and deduplicated with ReMova. Token counts use the Gemma 4 tokenizer, exclude BOS, and include repeated samples
Evaluation
Table with columns: Benchmark, Gemma 4 12B, Gemma 4 31B, Qwen3.5 35B-A3B, Apertus 8B, Prelude 9B, Zorka Vieniera 12B, BeLLm 12b (preliminary)| Benchmark | Gemma 4 12B | Gemma 4 31B | Qwen3.5 35B-A3B | Apertus 8B | Prelude 9B | Zorka Vieniera 12B | BeLLm 12b (preliminary) |
|---|
| BPB ↓ | 0.713 | 0.545 | 0.605 | 0.594 | 1.089 | 0.570 | 0.507 |
| be_pairs | 0.762 | 0.819 | 0.787 | 0.763 | 0.581 | 0.845 | 0.925 |
| Lexicon | 0.653 | 0.640 | 0.607 | 0.653 | 0.487 | 0.873 | 0.907 |
| Proverbs | 0.180 | 0.375 | 0.211 | 0.102 | 0.039 | 0.242 | 0.711 |
| Analogy | 0.430 | 0.875 | 0.705 | 0.627 | 0.251 | 0.797 | 0.732 |
| INCLUDE-know | 0.326 | 0.457 | 0.413 | 0.370 | 0.217 | — | 0.500 |
| INCLUDE-MC | 0.347 | 0.439 | 0.417 | 0.320 | 0.316 | 0.331 | 0.353 |
| Riddles | 0.340 | 0.564 | 0.479 | 0.319 | 0.255 | 0.340 | 0.447 |
| BelGLUE | 0.697 | 0.835 | 0.791 | 0.606 | 0.541 | — | 0.699 |
| PIQA (be) | 0.663 | 0.755 | 0.786 | 0.500 | 0.449 | 0.725 | 0.571 |
| PIQA (en) | 0.694 | 0.755 | 0.755 | 0.561 | 0.653 | — | 0.643 |
| eng→bel | 55.9 | 59.4 | 55.5 | 55.0 | 24.9 | 57.7 | 59.3 |
| rus→bel | 60.2 | 63.0 | 60.8 | 60.9 | 28.5 | 61.8 | 63.1 |
| bel→eng | 62.2 | 63.9 | 62.5 | 62.2 | 53.4 | 62.5 | 61.7 |
The be_pairs benchmark includes our own minimal grammatical pairs, which will be released separately with BelEval.
Bold indicates the best reported result. Lower BPB (bits per byte) is better; higher scores are better for all other metrics.
Usage
pip install -U transformers torch accelerate
from transformers import AutoTokenizer, Gemma4UnifiedForCausalLM model_id = "belllm-by/gemma-4-pt-mg-500-750-1000" tokenizer = AutoTokenizer.from_pretrained(model_id)model = Gemma4UnifiedForCausalLM.from_pretrained( model_id, device_map="auto", dtype="auto") inputs = tokenizer("Беларуская мова — гэта", return_tensors="pt").to(model.device)outputs = model.generate(**inputs, max_new_tokens=256)print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Limitations
- Evaluation contamination: Benchmark contamination in the original Gemma training data cannot be ruled out. Existing Belarusian benchmarks remain limited.
- No ablations: Computational constraints prevented systematic hyperparameter tuning, ablation studies and evaluation across multiple seeds.
- Checkpoint merging: Merging was not compared against conventional learning-rate decay.
- Privacy: No personally identifiable information (PII) filtering was applied. The model may reproduce personal information from training data.
- No instruction tuning: This release is a base model intended for text completion and further fine-tuning.
Trained on the Olivia supercomputer, with resources provided by Sigma2 – the National Infrastructure for High-Performance Computing and Data Storage in Norway