Views
No views yet
qwen3_9b_hf_baby at iter_0124800 ≈ 1T tokens). Continues the θ-law curriculum from our
128K model (oellm-9b-128k-theta32m-prelude)
to the next octave. Base model — not instruction-tuned. Multilingual (37 European languages).| context | θ | depth-0 |
|---|---|---|
| 128K | 32M | ✓ |
| 256K | 64M | 100% ✓ |
prelude(4K) → 16K(θ=500k) → 32K(θ=1M) → 64K(θ=2M) → 128K(θ=32M) → 256K(θ=64M).
Continued-pretraining in Megatron-LM on LUMI (16× MI250X), CP=16, θ=64M, selective recompute,
1B tokens for the 256K stage. Data: 60% genuine-256K long documents (arXiv/books/code/RFC/docsite
concatenated to 256K) + 40% multilingual long-context mix (Jouni Luoma's 152-source blend) — the
multilingual portion prevents non-English regression during the 256K stage.scripts/eval_base_lm_niah.py. The 256K
forward needs multi-GPU (device_map="auto" over a full 8-GCD node; one GCD OOMs at 256K).| depth | 0.0 | 0.25 | 0.5 | 0.75 | 1.0 |
|---|---|---|---|---|---|
| accuracy | 93% | 86% | 87% | 88% | 100% |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3# 256K context needs several GPUs; use device_map="auto".
4m = AutoModelForCausalLM.from_pretrained("openeurollm/oellm-9b-256k-theta64m-prelude",
5 torch_dtype=torch.bfloat16, device_map="auto")
6tok = AutoTokenizer.from_pretrained("openeurollm/oellm-9b-256k-theta64m-prelude")
7# Base completion model. Keep rope_theta=64M / max_position=262144 for 256K.rope_theta=64000000, max_position_embeddings=262144 for 256K.docs/depth0_diagnosis_theta_sweep.md). Sibling: oellm-9b-128k-theta32m-prelude.