Prelude 9B mid-train v1 — stage4-128k-step1001
Long-context mid-training of the Prelude 9B base (Qwen3 architecture, vocab 262,272), trained with Megatron on
MareNostrum 5 and exported to Hugging Face format. Source checkpoint: prelude-9b-midtrain-v1-stage4-128k-yarn2-step1001.
This revision: 128K, YaRN x2 over 64K, RoPE theta 9M. Short 128K stage from stage 3 with YaRN x2 applied in training: 8,012 rows / 1.0B seen tokens, 1001 steps.
Each stage is a separate revision (branch) of this repo; main is the final stage (stage 4):
| Revision | Context | |
|---|---|---|
stage1-16k-step607 | 16K (max_position 65536), RoPE theta 9M | |
stage2-32k-step1821 | 32K (max_position 65536), RoPE theta 9M | |
stage3-64k-step4419 | 64K (max_position 65536), RoPE theta 9M | |
stage4-128k-step1001 | 128K, YaRN x2 over 64K, RoPE theta 9M | this revision |
from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("marianna13/prelude-9b-midtrain-v1", revision="stage4-128k-step1001", torch_dtype="bfloat16")
This is a base (not chat-tuned) model; it needs the BOS token. The chat template in the repo is the Prelude ChatML template used for later SFT.