Safetensors
qwen3

OpenEuroLLM Prelude logo

This is the model card for Prelude 🎶 9B base, a dense text-only model produced by the OpenEuroLLM consortium, the first of a model family series. See the OpenEuroLLM progress tracker for live status across other OpenEuroLLM training runs.

It is a fully open-source model: we make available the base model (and variations), the intermediate checkpoints, the training data, model training configuration and evaluation results.

Prelude 9B, which closely follows the Qwen 3 architecture, has been trained on Leonardo (CINECA) for up to 10T tokens including a mix of 35 languages, dominated by English, and basic code and math datasets. The model was trained to enable content extension from 4k tokens to 256k tokens. It is shared under the Apache 2 licence.

The OpenEuroLLM consortium is proudly co-funded by the European Union.

0: Prelude important links:

🔗 Models: prelude-base · prelude-pre-anneal · prelude-post-anneal · prelude-instruct (WIP)
🔗 Code & logs: oellm-autoexp · W&B run
🔗 Data: training-data-catalogue · training-data-collection · training-data-packer · data visualizations
🔗 Evaluation: dashboards · scores · oellm-eval · JudgeArena · evals visualization

*Data available for warmup-stable (pre-annealing) phase, still being packed for the decay (annealing) phase (coming soon!).

1: Prelude datasets and datamix

Datasets: The datasets contributing to the Prelude datamix are: DCLM (3.5 trillion tokens), Nemotron-CC (2.5 trillion tokens) FinePDFs (1.3 trillion tokens), HPLT 3.0 (980 billion tokens), Multysint/MT (811 billion tokens), FinePDFs-edu (284 billion tokens), Starcoder (277 billion tokens), Olmo-mix (86 billion tokens), MegaMath (37 billion tokens), FineMath (11 billion tokens).
Full details on dataset composition, sources, and statistics are documented in the training-data-collection repo. Live visualizations are available on our website.

Languages: the model covers a set of 35 languages, including some variants, with a strong European flavour: Albanian, Basque, Bosnian, Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hungarian, Icelandic, Irish, Italian, Latvian, Lithuanian, Macedonian, Maltese, Norwegian, Polish, Portuguese, Romanian, Serbian, Slovak, Slovenian, Spanish, Swedish, Turkish and Ukrainian.

Datamix: the top level training data mix is made of a distribution of 80% of English texts, math and code while the remaining 20% is texts in the rest of languages. In the mix, dominated by web data, we also find data from extracted PDFs, math, code, wiki, science and machine translated data from the MultiSynt initiative.

Tokenizer: we train our own tokenizer, a 262k vocabulary-sized SentencePiece BPE tokenizer designed for efficient tokenization across all EU official languages and additional European languages. An additional 131k variant is also available for scaling laws. Available under the Apache 2 licence.

Click any dataset chart to open a larger preview.

stable-datasets stable-tags
decay-datasets decay-tags

2: Prelude training details

Prelude has been trained in the open in the Leonardo supercomputer (CINECA). This means that the model training logs (loss curves, throughput, etc.) tracked through Weights & Biases are openly available.

Detailed model config, training code and hyperparameters can be found in the oellm-autoexp repository here.

Global batch size 2048
Micro batch size 4
Sequence length 4096
Tokens per iteration ~8.39M
Total training iterations 1,192,093 (~10T tokens)
LR schedule WSD (warmup-stable-decay)
Peak LR / min LR 3.5e-4 / 0
Warmup iterations 4,000
Decay 1−sqrt (`minus_sqrt`) over the last 238,781 iterations (≈2.0T tokens), from iteration 953,312
Optimizer Adam (β1=0.9, β2=0.95, eps=1e-8), distributed optimizer
Weight decay 0.1
Gradient clipping 1.0
Parallelism TP=4, PP=1, CP=1, sequence parallel
Precision BF16
Checkpoint format Megatron `torch_dist`, saved every 2,400 iterations
Hardware 256 nodes / 1024 GPUs, Leonardo (CINECA)

Tokens at a checkpoint. Each iteration is exactly one global batch, so:

tokens = iteration × 2048 (global batch size) × 4096 (sequence length)

For example, iter_0124800 ≈ 1.05T tokens.

3: Prelude model details

Prelude is a text-only dense model, with untied input/output embeddings which closely follows the Qwen3 architecture.

Layers 36
Hidden size 4096
FFN hidden size 12288 (SwiGLU)
Attention heads / KV groups 32 / 8
Head dim 128
Position embedding RoPE, base 100,000
Normalization RMSNorm (eps 1e-5), QK-norm
Activation SwiGLU
Sequence length 4096
Vocab size 262,145 (256k tokenizer, padded to 262,272 for TP efficiency)
Dtype BF16

4: Prelude performance

We report evaluations in this model card on Multilingual benchmarks together with in-depth benchmarks developed for English, German, Norwegian and Finnish.

Click any evaluation chart to open a larger preview.

Multilingual evaluations. We show here the performance Multilingual evaluations. Note that we report the performance of models which are trained mostly in English (Olmo3 and Marin) to illustrate the benefit over English models for other languages even though those models are not expected to perform very well on non English benchmarks.

Multilingual benchmarks (decontaminated tasks)

Those tasks were all decontaminated from our training data, we do not know whether they are part of the training set of other methods.

English evaluations. Here we compare the Prelude 9b base with other models on English benchmarks. All models include English (some are just trained on it). We report on decontaminated only benchmarks.

English benchmarks (decontaminated tasks)

Other in-depth evaluations. Other evaluation results are currently available for German, Norwegian (NorEval) and Finnish. Those tasks were not explicitly decontaminated but we do not expect large contamination.

German benchmarks

Norwegian benchmarks (NorEval)

Finnish benchmarks (FIN-bench)

Other evaluations and details. Evaluations including on tasks which were not explicitly decontaminated are available here. This directory also generates all figures given evaluation stored on this HuggingFace repository.

All evaluations can be visualized at our website.

We continue evaluating our models so, come back for updates!

5: Using Prelude

This example shows how to perform basic text generation usage from the Prelude model.

Using transformers:

pip install "transformers>=5" accelerate
# on transformers 4.x (>=4.51), also: pip install sentencepiece protobuf
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "openeurollm/prelude-base"
revision = "main"  # or any branch from section 4, e.g. "stage1-step_0240000"

tokenizer = AutoTokenizer.from_pretrained(repo, revision=revision)
model = AutoModelForCausalLM.from_pretrained(
    repo, revision=revision,
    dtype=torch.bfloat16,  # torch_dtype= on transformers < 4.56
    device_map="auto",
)

prompts = [
    "The capital of France is",
    "Il était une fois",
    "Die wichtigsten Flüsse Deutschlands sind",
    "La receta tradicional de la paella valenciana lleva",
    "Suomen kielessä on",
]

for prompt in prompts:
    inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
    outputs = model.generate(**inputs, max_new_tokens=50, do_sample=True, temperature=0.7, top_p=0.9)
    print(tokenizer.decode(outputs[0], skip_special_tokens=True))

vLLM and SGLang

Use the completions endpoint (/v1/completions) for vLLM

# For vLLM
pip install "vllm>=0.33.0"
# For SGLang
pip install "sglang>=0.5.23"
# vLLM (serves on port 8000)
pip install "vllm>=0.33.0"
vllm serve openeurollm/prelude-base

curl http://localhost:8000/v1/completions -H "Content-Type: application/json" -d '{
  "model": "openeurollm/prelude-base", "prompt": "Il était une fois", "max_tokens": 50, "temperature": 0.7
}'


# SGLang (serves on port 30000)
pip install "sglang>=0.5.23"
python -m sglang.launch_server --model-path openeurollm/prelude-base

curl http://localhost:30000/v1/completions -H "Content-Type: application/json" -d '{
  "model": "openeurollm/prelude-base", "prompt": "Il était une fois", "max_tokens": 50, "temperature": 0.7
}'

6: Limitations and intended use

This is a base (pretrained) language model. It has not been instruction-tuned, aligned to human preferences, or safety-filtered. It performs next-token prediction and has no built-in refusal behavior, conversational ability, or awareness of harmful intent. Given a prompt — including a harmful one — it will simply continue the text. It should not be deployed as a chatbot or assistant without additional fine-tuning and safety mitigations.

The model was trained on a large multilingual corpus and can produce fluent text in many languages, but performance is uneven across languages: it is strongest in high-resource languages (e.g., English) and substantially weaker in low-resource ones, where outputs are more likely to be ungrammatical, inconsistent, or factually wrong. Fluency should not be mistaken for accuracy — outputs may contain hallucinations, logical errors, outdated information, and biases inherited from the training data.

The model has a fixed knowledge cutoff of the end of 2025, no access to real-time information, and no tool use or retrieval unless integrated externally. Its behavior depends heavily on the prompt format; it is not robust to prompt phrasing and may produce degraded output for unusual inputs or very long contexts.

This model is intended as a research and development foundation for downstream fine-tuning, not as a source of factual information or for high-stakes decisions (e.g., medical, legal, or financial advice). Downstream users are responsible for evaluation, safety tuning, and human oversight before any user-facing deployment.

7: Public Summary

Prelude is a general purpose AI model. We provide a public summary using the template provided by the European Commission.

Prelude Public Summary (GPAI)

8: Acknowledgments

Co-funded by the EU

This project has received funding from the Digital Europe Programme under grant agreement No 101195233.

Downloads last month
4,719
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 openeurollm/prelude-base

Finetunes
12 models
Quantizations
2 models

Spaces using openeurollm/prelude-base 2

Collection including openeurollm/prelude-base