/ Модель

Характеристики

Контекст
262 144 токена
Параметры
8 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Библиотека
transformers
Опубликована
26 окт 2026

oellm-9b-256k-stage5-a4b-tool-rl-step48

Генерация текстаТекст → текст10 профессий
471скачиваний за 30 дней0лайковвеса обновлены28 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Промежуточная модель OpenEuroLLM на базе Qwen3 для диалога на европейских языках, рассуждений и вызова инструментов.

Это исследовательский промежуточный чекпойнт OpenEuroLLM 9B после этапа обучения с подкреплением на вызовах инструментов. Модель разработана в рамках проекта OpenEuroLLM и дообучена на базе openeurollm/oellm-9b-256k-theta64m-prelude-anneal300b с архитектурой Qwen3; в метаданных указан размер 8B параметров, а карточка описывает базовую конфигурацию как 9B. Контекст составляет 262 144 токена. Модель генерирует текст, поддерживает диалог и вызов инструментов в формате Qwen3/Hermes, а также прямой режим и режим рассуждения.

Модель предназначена для изучения и воспроизведения этапов постобучения, диалога на европейских языках, рассуждений и агентных сценариев с инструментами. В карточке отмечены сильные результаты на вызовах инструментов, понимании текстов и грамматике европейских языков; заявлена валидность JSON-вызовов инструментов 99,5%. Указаны языки от английского и немецкого до украинского и словенского; метаданные дополнительно перечисляют эстонский, латышский и литовский. Лицензия — Apache-2.0.

Это не законченный ассистент: примерно половина трасс рассуждения не завершается в пределах 6 тысяч токенов, а режим рассуждения может уступать прямому режиму по точности. Слабы генерация кода и строгая выдача числовых форматов; данные обучения вызовам инструментов преимущественно англоязычные. Карточка также сообщает о регрессах в заземлении, безопасности и калибровке отказов и предостерегает от применения для решений с высокими ставками.

Сценарии применения

  • Вызов инструментов и функций в диалоговом агенте
  • Ответы на вопросы на европейских языках
  • Понимание и анализ текстов на европейских языках
  • Пошаговое решение математических задач в режиме рассуждения
  • Исследование и воспроизведение постобучения LLM

Ограничения

Около половины трасс режима рассуждения не завершается в пределах 6 тысяч токенов; качество генерации кода и строгого числового формата слабое. Безопасность и калибровка отказов регрессировали, поэтому модель не предназначена для решений с высокими ставками.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит10

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

OpenEuroLLM 9B 256K — post-training checkpoint after tool-call RL (A4b, step 48)

Newer checkpoint available: birgermoell/oellm-9b-256k-stage5-w2-rl-step160 (two RL windows on math, code, strict formats, instruction following and tool calls) scores higher on reasoning (thinking-mode math 0.44 → 0.63), EUROPA (Eval 0.67 → 0.73, Alignment 0.67 → 0.72), code and tool calling. Use that one unless you need this exact checkpoint.

Research preview. An intermediate checkpoint of the OpenEuroLLM 9B post-training pipeline: instruct SFT → reasoning SFT → tool-use SFT → DPO → weight merge → reinforcement learning on tool calls. It is released so that the steps, data and evaluations can be inspected and reproduced; it is not a finished assistant. Later RL windows (math, code, strict formats) are still in progress.

At a glance

This model is step 6 of the pipeline below (tool-call RL). In every figure it is the red star or the red box; earlier checkpoints of the same lineage are blue, other models are grey diamonds. All scores are on a 0–1 scale, higher is better.

Per-domain scores of this model and its earlier checkpoints

DomainMeasured byThis modelTool-use SFT (step 3)Change
Chat capabilities in 36 European languagesEUROPA Eval0.6700.616▲ +0.054
Safety and behaviourEUROPA Alignment0.6700.642▲ +0.028
Math, step by step (thinking mode)quick reasoning eval0.4420.435≈ same
Math, direct answersquick reasoning eval0.5770.581≈ same
Thinking traces that finishshare of traces closed within 6K tokens0.5110.511≈ same
Tool calling: right call or no callheld-out tool check0.8810.870▲ +0.011
Tool calling: correct tool namesheld-out tool check0.7840.734▲ +0.050
Tool calling: valid argumentsheld-out tool check0.9690.981▼ -0.012
CodeHumanEval+ (direct mode)0.3540.335▲ +0.019
Reading comprehensionBelebele0.8240.821≈ same
KnowledgeGlobal-MMLU0.5870.584≈ same
Regional knowledgeINCLUDE0.5420.539≈ same
GrammarMultiBLiMP0.9320.930≈ same

In short.

  • Strongest: tool calling (the best call decisions and tool names in the lineage, valid JSON 99.5 %); reading comprehension and grammar in European languages (Belebele 0.82, MultiBLiMP 0.93, above the project's other SFT and DPO models); safe and well-formed behaviour overall (EUROPA Alignment 0.67, best in the lineage).
  • Knowledge kept: DPO, merging and RL left Belebele, Global-MMLU, INCLUDE and MultiBLiMP within ±0.005 of the tool-use SFT, +4 to +12 points above the base.
  • Improved by DPO, merge and RL: EUROPA Eval 0.62 → 0.67, mostly from quantitative answers (0.04 → 0.31), agentic control and fewer malformed answers (122 → 100).
  • Weakest: thinking mode often does not finish (about half the traces hit the 6K-token limit), so thinking mode is less accurate than direct mode; code is weak (HumanEval+ 0.35 / MBPP+ 0.36 direct, lower in thinking mode where many traces do not finish); grounding & safety (0.70 → 0.58), refusal calibration (0.44 → 0.35) and direct-mode EU-language math (0.45 → 0.31) regressed after DPO.
  • Compared with other models: above Apertus-8B-Instruct on EUROPA Eval (0.57) but below the project's instruct SFT (0.76) and DPO (0.84) models, which come from a different SFT lineage.

How it was made

All stages ran on the CINECA Leonardo booster (NVIDIA A100 64 GB) in an EuroHPC AI Factory allocation. Every data mix was pre-tokenized offline with one pinned tokenizer (tokenizer.json sha256 5123f74b…) and one pinned chat template, and every launcher refuses to train if either differs. Rows that are too long are dropped, never truncated.

#StageStarting pointDataRecipeCompute
1Instruct SFTbase3.14M rows / 2.37B tokens (OpenEuroLLM-Excellent-SFT core, Dolci translated into 12 languages, Aya human non-English, model-identity rows)1 epoch, LR 8e-6 cosine, 16K padding-free packing, FSDP, 8 nodes~394 GPU-h
2Reasoning SFTstage 1openeurollm-reasoning-instruct-v1 @ 9273ba4: 373K reasoning rows (1.74B tokens) + 792K direct replay rows (0.6B)LR 5e-6, 32K packing; <think> never supervised (prompt-side only)~351 GPU-h
3Tool-use SFT (v1.1)stage 2openeurollm-tool-use-v1 @ e30b5449 (159K conversations, 16 translated languages, ~30 % "do not call" rows) + stage-2 replay (traces ≤ 8K tokens) + identity/safetyLR 3e-6, 397 steps; then a repair of the lm_head rows of the tool/think tag tokens (ids 11–18), which started nearly identical so the model closed calls with the wrong tag~68 GPU-h
4DPO v2stage 3 (policy and reference)249,996 pairs: 176,292 Dolci-Instruct-DPO-translated @ a57841a6 (14,691 per language × 12), 28,935 HelpSteer3 @ f6d14577, 30,000 UltraFeedback-cleaned @ 770076f0, 14,769 format-compliance pairs (below)TRL DPO, sigmoid, β 0.1, LR 5e-7 cosine, 3 % warmup, global batch 128, max 2,048 tokens, 1 epoch; held-out preference accuracy 0.85~368 GPU-h
5Linear merge0.5 × stage 3 + 0.5 × DPO v2—tensor-wise interpolation in fp32minutes
6Tool-call RL (A4b)merge2,000 multi-turn next-action items (below)DAPO (TMAX/open-instruct), 48 updates~15 GPU-h

Format-compliance pairs (stage 4). Prompts that ask for a bare answer, in their native language (no machine translation): letter-only multiple choice from exams_qa and slovak_financial_exam in oellm-eu-exam-mcq-v1 @ 12a22a62 (CC-BY-SA-4.0 rows only; benchmark sources such as Belebele, Global-MMLU, MMMLU and XCOPA excluded) and final-answer-only math from oellm-math-rlvr @ 0ffc9d6d in 23 languages. Chosen = the verified bare answer; rejected = the stage-3 model's own verbose or wrong reply (greedy, on-policy).

Why the merge. DPO v2 kept reasoning but hurt tool use: on the held-out tool check, valid JSON fell from 0.995 to 0.898 and valid arguments from 0.981 to 0.849. Most failures were runaway generation inside tool calls: DPO's pairs contain no tool calls and are all direct-mode, and DPO lengthened replies about 2.6×. A 50/50 weight interpolation with stage 3 restored tool use at equal reasoning (α = 0.75 did not).

Tool-call RL (A4b). Each item is the next assistant action inside a real multi-step tool conversation, with the earlier calls and results in the prompt. It is either a call (scored on name and arguments) or a plain reply (no call expected):

Conversion: Responses-API items become chat messages, earlier reasoning items are dropped, and tools are rendered with this model's template. Prompts are at most 4,096 tokens (median 3.5K). Overall 54 % of items expect a call and 46 % a plain reply.

  • Reward (thinking mode; scored only on the text after exactly one closed </think>):
    • call expected: 0.2 for well-formed calls, +0.3 if the multiset of tool names matches, +0.5 × the fraction of gold calls matched with equal arguments;
    • no call expected: 1 only for a non-empty reply without a call.
  • Recipe: DAPO with β 0, LR 1e-6, 16 prompts × 8 samples per update, 4,096-token responses, a −0.5 reward for rollouts that hit the length limit, and 48 updates.
  • Training reward: 0.35 → 0.42.

Compute. The stages above total about 1,200 NVIDIA A100 (64 GB) GPU-hours, measured from the Slurm job records:

StageGPU-hJob
Instruct SFT39412.3 h × 32 GPUs
Reasoning SFT35111.0 h × 32
Tool-use SFT + tag-row repair682.1 h × 32
DPO v236823.0 h × 16
Merge0.2
Tool-call RL151.85 h × 8, plus a 3 GPU-h canary

Experiments on the way to this checkpoint cost about another 240 GPU-h: a first DPO attempt on the full 1.44M pairs and its restarts (~140), SFT smoke and pilot runs (~30), and translation of the tool SFT data (~70). Evaluations and RL ablations that did not feed this checkpoint are not counted. The base model's pretraining by OpenEuroLLM is not included either.

Software: PyTorch 2.10, transformers 5.4, TRL 0.29 (SFT/DPO), TMAX (open-instruct fork, commit 3f80d370) with vLLM 0.19.1 and DeepSpeed ZeRO-3 for RL.

Evaluation

Every number below was produced with the scripts in the repositories linked above, with greedy decoding. The checkpoints are the stages of this model's own lineage:

CheckpointWhat it is
Basethe pretrained OpenEuroLLM 9B 256K base (no chat ability)
1 Instruct SFTinstruction tuning (direct mode only)
2 Reasoning SFTadds the opt-in thinking mode
3 Tool-use SFTadds tool calling (v1.1, after the tag-row repair)
4 DPO v2preference tuning on 250K pairs
5 Merge0.5 × step 3 + 0.5 × step 4 (restores tool use)
6 Tool-call RL (this model)48 updates of multi-turn tool-call RL from the merge

What each evaluation measures:

EvaluationWhat it measuresSizeLanguagesNotes
EUROPA Evalpractical capabilities: digital agency, grounding & safety, language understanding, practical communication, quantitative reasoning432 items36 Europeandirect mode; judged by gemma4:31b; BirgerMoell/europa-eval
EUROPA Alignmentbehaviour: agentic control, dangerous capabilities, fairness, wellbeing, privacy, refusal calibration576 items36 Europeandirect mode; judged by gemma4:31b; BirgerMoell/europa-alignment
Quick reasoning evalmath word problems and competition math, final answer checked570 items (GSM8K 150, MGSM 200, MATH-500 100, EU-language math 120)MGSM en/de/es/fr; EU math in 15 languagesboth modes; thinking budget 6,144 tokens
Held-out tool checkcall or no call, tool names, JSON and argument validity, finishing361 conversations17direct mode; never trained on
EvalPluscode correctness on extended hidden tests (pass@1, plus)HumanEval+ 164, MBPP+ 378encode runs in a contained sandbox
oellm-eval v0.3.0knowledge and language competence, few-shot without chat templateBelebele 20, Global-MMLU 11, INCLUDE 11, MultiBLiMP 28 tasksmany Europeanproject harness OpenEuroLLM/oellm-eval

Every evaluation on every checkpoint

'–' means the evaluation was not run at that stage.

EUROPA Eval and Alignment

EUROPA scores along the pipeline

ModelEUROPA Evalmalformed answersEUROPA Alignmentmalformed answers
1 Instruct SFT0.6001200.45572
2 Reasoning SFT0.6091320.60572
3 Tool-use SFT0.6161220.64272
5 Merge0.6551110.66057
6 Tool-call RL (this model)0.6701000.67043
Reference: OpenEuroLLM instruct SFT (Neonkraft)0.762380.77341
Reference: OpenEuroLLM threeway DPO0.8409––
Reference: Apertus-8B-Instruct-25090.573116––

EUROPA domains

EUROPA Eval by domain

Domain1 Instruct SFT2 Reasoning SFT3 Tool-use SFT5 Merge6 Tool-call RL (this model)
digital agency0.7270.7080.7360.7820.815
grounding safety0.5600.7100.7000.5730.580
language understanding0.7610.7310.7470.7820.803
practical communication0.7540.8000.8110.8210.826
quantitative reasoning0.1530.0300.0410.3120.310

EUROPA Alignment by domain

Domain1 Instruct SFT2 Reasoning SFT3 Tool-use SFT5 Merge6 Tool-call RL (this model)
agentic control0.4250.5000.4850.6170.678
dangerous capabilities0.0950.4470.5100.4790.481
high stakes fairness0.7610.7380.7470.7650.753
human wellbeing0.4900.7510.8260.8660.859
privacy security0.5490.6670.7090.6860.696
refusal calibration0.3440.4020.4380.3470.346

Reasoning (quick eval)

Modeldirect: allthinking: allthinking traces finishedGSM8K (d / t)MGSM (d / t)MATH-500 (d / t)EU-language math (d / t)
2 Reasoning SFT0.5880.40246%0.71 / 0.640.71 / 0.580.34 / 0.090.43 / 0.06
3 Tool-use SFT0.5810.43551%0.70 / 0.670.68 / 0.590.36 / 0.160.45 / 0.11
4 DPO v20.5580.44053%0.83 / 0.620.71 / 0.620.31 / 0.160.17 / 0.14
5 Merge0.5680.42653%0.80 / 0.610.70 / 0.580.28 / 0.160.29 / 0.16
6 Tool-call RL (this model)0.5770.44251%0.77 / 0.670.74 / 0.600.28 / 0.140.31 / 0.13

d = direct mode, t = thinking mode. Thinking mode is weaker than direct mode on these checkpoints because about half of the traces do not finish within the budget.

Tool calling (held-out check, 361 rows)

Modelcall decisiontool namesvalid JSONvalid argumentsfinished
3 Tool-use SFT v1 (before the tag-row repair)0.4960.4960.0000.00098.1%
3 Tool-use SFT0.8700.7340.9950.98198.3%
4 DPO v20.8310.6540.8980.84990.0%
5 Merge0.8780.7670.9850.95198.1%
6 Tool-call RL (this model)0.8810.7840.9950.96998.3%

Code (EvalPlus, pass@1 on the extended tests)

ModelHumanEval+ directMBPP+ directHumanEval+ thinkingMBPP+ thinking
3 Tool-use SFT0.3350.3570.1890.243
6 Tool-call RL (this model)0.3540.3620.1650.254

Thinking mode scores lower than direct mode because many traces do not finish within 8,192 tokens (this model: 34 % of HumanEval+ and 55 % of MBPP+ traces close). Code is read only after a closed trace.

Knowledge and language (oellm-eval v0.3.0)

ModelBelebeleGlobal-MMLUINCLUDEMultiBLiMP
Base0.7370.5470.4220.935
3 Tool-use SFT0.8210.5840.5390.930
6 Tool-call RL (this model)0.8240.5870.5420.932
Reference: OpenEuroLLM instruct SFT (Neonkraft)0.8080.5730.5460.931
Reference: Apertus-8B-Instruct-25090.7920.5600.5780.924
Reference: Qwen3-8B0.8650.6630.5870.866

Means over the tasks every compared model completed. These benchmarks run few-shot without a chat template, so they measure knowledge and language, not chat behaviour.

Measurement notes.

  • The EUROPA and quick-eval numbers for step 3 were measured on its first revision (0dc97efa). Revision v1.1, which this lineage uses, differs only in the 8 output rows of the tool/think tag tokens.
  • The EUROPA judge is gemma4:31b, run locally with a pinned digest. Scores have 95 % confidence intervals of about ±0.03–0.04. The numbers behind every figure are in assets/evals.json.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "birgermoell/oellm-9b-256k-stage5-a4b-tool-rl-step48"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto")

messages = [{"role": "user", "content": "Vad är huvudstaden i Finland?"}]
prompt = tok.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)   # direct mode
# Thinking mode: tok.apply_chat_template(messages, add_generation_prompt=True, tokenize=False, enable_thinking=True)
# Tools: tok.apply_chat_template(messages, tools=[...], add_generation_prompt=True, tokenize=False)
inputs = tok(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
  • Chat template: oellm_qwen3_two_stage_v2_1, bundled as chat_template.jinja. It has a hard enable_thinking switch: direct mode never produces think tags, and in thinking mode the template opens <think> and the model closes it. The end-of-turn token is <|im_end|> (id 4).
  • Tag tokens: <tool_call> 11, </tool_call> 12, <tools> 13, </tools> 14, <tool_response> 15, </tool_response> 16, </think> 17, <think> 18.

Limitations

  • Thinking mode often does not terminate. About half of the reasoning traces do not close within 6K tokens on our quick eval, and thinking mode is less accurate than direct mode. The RL windows that target this have not been applied to this checkpoint.
  • Strict output formats are weak in direct mode. "Answer only with the number" still gets a worked solution. Letter-only multiple choice improved with the format pairs and merge, but bare numeric answers did not.
  • Language of reasoning. Reasoning traces are mostly English, even for other prompt languages, because most reasoning SFT data is English. The final answers follow the prompt language.
  • Tool RL data is English-only, and the tool SFT data is mostly English (with a translated slice in 16 languages).
  • Code is weak: HumanEval+ ≈ 0.33 and MBPP+ ≈ 0.35 in direct mode at stage 3.
  • Safety: EUROPA Alignment is 0.670, but grounding and safety (0.58) and refusal calibration (0.35) regressed against stage 3. Not evaluated for deployment; do not use it for high-stakes decisions.
  • Intermediate checkpoints (stages 1–3, DPO v2 and the merge) are private.

Licenses and attribution

The model is released under Apache-2.0, the license of the base model. The training data includes sources under Apache-2.0, MIT, CC-BY-4.0 and CC-BY-SA-4.0 (letter-only exam questions in the format pairs). Per-row sources and licenses are listed in the dataset cards of the OpenEuroLLM mixtures. We thank NVIDIA (Nemotron RL tool data, HelpSteer3), Salesforce/MadeAgents (xlam irrelevance), Argilla/OpenBMB (UltraFeedback), AllenAI (Dolci) and the OpenEuroLLM consortium. The compute was provided by EuroHPC JU / CINECA (Leonardo).

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
62d5bdc

0 моделей