/ Модель

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

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

oellm-9b-128k-theta32m-prelude-anneal300b

Генерация текстаТекст → текст3 профессии

Экспериментальная базовая модель Qwen3 на 9B параметров с контекстом 128K для генерации текста и исследований длинноконтекстного поиска.

307скачиваний за 30 дней0лайковвеса обновлены7 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

OELLM 9B — 128K context — Prelude anneal300b — это экспериментальный базовый языковой чекпойнт от birgermoell, полученный продолжением предобучения openeurollm/prelude. Модель построена на плотной архитектуре Qwen3 с примерно 9 млрд параметров и контекстом до 131 072 токенов. Опубликована в формате BF16 для Transformers; лицензия — Apache-2.0.

Модель предназначена для генерации продолжений текста и исследований длинноконтекстного поиска и обработки документов. Она обучалась на многоязычной смеси данных с европейскими языками, кодом и научными текстами; языковая компетентность неравномерна. Это базовая модель без инструкционной настройки и выравнивания по безопасности, поэтому она не рассчитана на поведение чат-ассистента. Для конфигурации на 128K токенов следует сохранять rope_theta=32000000 и max_position_embeddings=131072.

Проверка извлечения информации ограничена небольшим тестом на английском и шведском языках и не подтверждает надежную работу по всему контексту, многошаговые рассуждения, суммаризацию длинных документов или поиск по нескольким фрагментам. Для длинного контекста нужны значительные ресурсы ускорителей и настройка памяти KV-кэша; качество относительно более раннего чекпойнта Prelude на 1T токенов не гарантируется.

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

  • извлечение фрагмента из длинного англоязычного документа
  • поиск информации в длинных документах на шведском языке
  • генерация продолжения текста в контексте до 128K токенов
  • исследование расширения контекста моделей семейства Qwen3
  • эксперименты с многоязычными корпусами европейских языков

Ограничения

Модель не настроена для инструкций и не выровнена по безопасности; результаты небольшого теста извлечения на английском и шведском языках не доказывают надежную работу по всему окну контекста или способность к сложным рассуждениям и суммаризации. Длинный контекст требует значительной памяти ускорителей, а языковые возможности распределены неравномерно.

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

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

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

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

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

Открыть на Hugging Face

OELLM 9B — 128K context — Prelude anneal300b

This is a BF16 Hugging Face export of a 128K continued-pretraining checkpoint derived from openeurollm/prelude, revision f289699b246dba59907df27e743d4a433613175a (anneal300b_iter_0989075). It uses the Qwen3 dense 9B architecture, a 131,072-token maximum position length, and RoPE theta 32,000,000.

This is a base completion model. It is not instruction-tuned or safety-aligned.

What this checkpoint is

The goal of this run was to test whether the later anneal300b Prelude checkpoint could be extended from its native short context to 128K while preserving useful retrieval at shorter lengths. It follows the same staged absolute-base-frequency (ABF) recipe as the earlier birgermoell/oellm-9b-128k-theta32m-prelude, but it is a different lineage:

  • Earlier release: the approximately 1T-token Prelude base.
  • This release: openeurollm/prelude@anneal300b_iter_0989075, the approximately 300B-token annealed checkpoint at commit f289699b246dba59907df27e743d4a433613175a.

The separate repository name is intentional. This model is an experimental comparison point, not an in-place replacement for the earlier 1T-base release.

Architecture

PropertyValue
ArchitectureQwen3-compatible dense decoder-only transformer
Parametersapproximately 9B
Transformer layers36
Hidden size4,096
Feed-forward size12,288
Attention heads32
Key/value groups8 (grouped-query attention)
Head dimension128
Vocabulary262,144 tokens
NormalizationRMSNorm with Q/K layer normalization
MLPSwiGLU
Embeddingsuntied input/output embeddings
Maximum positions131,072
RoPE theta32,000,000
Weight dtypeBF16

The tokenizer is the OpenEuroLLM 256K-vocabulary tokenizer. The exported Transformers configuration preserves the Q/K normalization parameters and the 128K positional settings used during training.

Training lineage

The model was continued on LUMI using staged native ABF context extension:

StageSequence lengthRoPE thetaIterationsTokensLUMI job
16K16,384500,000953999,292,92821683851
32K32,7681,000,000476998,244,35221683852
64K65,5362,000,0007152,998,927,36021740962
128K131,07232,000,0002381,996,488,70421683854

Total continued-pretraining volume through this checkpoint: 6,992,953,344 tokens.

The curriculum increases both sequence length and RoPE theta at each stage:

Prelude anneal300b
  -> 16K  (theta 500K)
  -> 32K  (theta 1M)
  -> 64K  (theta 2M)
  -> 128K (theta 32M)

The unusually large final theta is deliberate. At long retrieval distances, smaller theta values can leave high-frequency RoPE dimensions outside the range encountered during training. The theta schedule follows the behavior characterized in the earlier Prelude long-context work; the new quick evaluation below tests whether it transfers to this later base checkpoint.

Optimization and parallelism

  • Hardware: 16 LUMI nodes / 128 AMD MI250X GCDs per stage.
  • Tensor parallelism: 8; pipeline parallelism: 1.
  • Context parallelism: 1 at 16K and 32K, 2 at 64K, and 8 at 128K.
  • Micro-batch size: 1; global batch size: 64.
  • Precision: BF16 with FlashAttention.
  • Optimizer: distributed Adam, beta1 0.9, beta2 0.95, weight decay 0.1.
  • Schedule: cosine decay from 1e-5 to 1e-6, with approximately 5% warmup.
  • Stability controls: gradient clipping at 1.0, sequence parallelism, selective activation recomputation, and fresh checkpoint continuation at every context stage.
  • Checkpoint format during training: Megatron-Core torch_dist; optimizer and RNG state were not retained in the release export.

The 128K stage completed all 238 iterations on its first launcher attempt, saved the final checkpoint successfully, reported validation loss 1.556005 (perplexity 4.73985), and had zero skipped and zero NaN iterations. These values are run-health diagnostics, not cross-model benchmark scores.

Continued-pretraining data

The 16K–128K curriculum used a frozen, token-proportional multilingual blend with 152 data prefixes. It is length-aware and draws from long and general-domain sources including FinePDFs, DCLM, HPLT3, multilingual synthetic material, Nemotron data, MegaMath, StarCoder, PeS2o, arXiv, and Wikipedia. Sources were grouped into short, medium, and long tiers so that longer natural documents were represented as sequence length increased.

The mixture spans European languages and code/scientific text, but it is not balanced equally by language. The model therefore should not be interpreted as having uniform capability across every language listed in the metadata. The frozen 16K–128K blend hash is provided below for exact run identity. The exact 128K training receipt and the machine-readable quick-evaluation records are included in this repository.

Megatron-to-Hugging-Face conversion

The iteration-238 Megatron checkpoint was converted directly to a Qwen3-compatible Transformers layout in BF16. Publication is gated on all of the following:

  1. The Megatron checkpoint marker and iteration-238 distributed metadata must exist.
  2. The converted config must report model_type=qwen3, max_position_embeddings=131072, and rope_theta=32000000.
  3. The converted weights and tokenizer must load for the retrieval evaluation.
  4. The complete 16K/32K/64K/128K quick-evaluation matrix must finish successfully.
  5. The release job revalidates the files, authenticated namespace, and uploaded Hub contents.

Quick retrieval evaluation

The release job ran a deliberately small, base-LM forced-choice needle-in-a-haystack smoke test at 16K, 32K, 64K, and 128K. Each language/context cell contains three needle depths and two trials per depth (six cases). This verifies export and retrieval behavior; it is too small for a publication-grade accuracy estimate.

ContextEnglishSwedishCombined
16,384100.0% (6/6)100.0% (6/6)100.0% (12/12)
32,768100.0% (6/6)100.0% (6/6)100.0% (12/12)
65,536100.0% (6/6)100.0% (6/6)100.0% (12/12)
131,072100.0% (6/6)100.0% (6/6)100.0% (12/12)

Depth breakdown

Depth 0.0 places the needle at the far beginning (maximum retrieval distance); depth 1.0 places it nearest the query.

LanguageContextDepth 0.0Depth 0.5Depth 1.0
en16,384100.0% (2/2)100.0% (2/2)100.0% (2/2)
en32,768100.0% (2/2)100.0% (2/2)100.0% (2/2)
en65,536100.0% (2/2)100.0% (2/2)100.0% (2/2)
en131,072100.0% (2/2)100.0% (2/2)100.0% (2/2)
sv16,384100.0% (2/2)100.0% (2/2)100.0% (2/2)
sv32,768100.0% (2/2)100.0% (2/2)100.0% (2/2)
sv65,536100.0% (2/2)100.0% (2/2)100.0% (2/2)
sv131,072100.0% (2/2)100.0% (2/2)100.0% (2/2)

Controls

LanguageControlAccuracy
enshort_ctx100.0% (2/2)
enshuffled100.0% (2/2)
enno_context50.0% (1/2)
svshort_ctx100.0% (2/2)
svshuffled100.0% (2/2)
svno_context0.0% (0/2)

Main-condition failures

  • None in this small smoke test.

Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo_id = "birgermoell/oellm-9b-128k-theta32m-prelude-anneal300b"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
    repo_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

Long-context inference requires substantial accelerator memory. Keep rope_theta=32000000 and max_position_embeddings=131072 unchanged for the trained 128K configuration.

This checkpoint is best used for base-model research, continued pretraining, long-context retrieval experiments, and as a starting point for subsequent supervised or preference-based post-training. It is not a chat model; use raw completion prompts or a base-LM evaluation harness.

For shorter prompts, no special scaling override is needed: the model should be loaded with its published 128K configuration and evaluated directly at the desired shorter length.

Evaluation method

The included smoke test uses forced-choice needle-in-a-haystack scoring designed for base models. Each context contains key/value facts. A target fact is placed at a selected relative depth, and the model scores four candidate values by answer-token log likelihood. Distractors are values of other keys that really occur in the same context, making the test stricter than choosing against arbitrary out-of-context numbers. The highest-scoring candidate is the prediction.

The test covers English and Swedish at nominal 16K, 32K, 64K, and 128K lengths. Actual context lengths can be slightly below the nominal boundary because the generator fills contexts using complete fact lines and leaves room for the query and candidate suffix. Depth 0.0 is the most distant case: the needle is at the beginning and the query is at the end.

Controls check that short-context scoring works, that the model follows the presented binding rather than a memorized key/value association, and that the no-context condition remains near chance. All per-case records are published under evaluation/.

Limitations

  • Base model only; prompts should use completion-style evaluation rather than assuming chat behavior.
  • The included retrieval run is a small smoke test in English and Swedish, not a comprehensive benchmark.
  • General and short-context regression suites have not yet been completed for this checkpoint.
  • Single-needle retrieval does not establish multi-hop reasoning, long-document summarization, multi-needle retrieval, or robust generation across the entire 128K window.
  • This run begins from the 300B-token annealed Prelude checkpoint and should not be assumed to match the quality profile of the earlier 1T-base 128K Prelude release.
  • Very long inference may require tensor parallelism, memory-efficient attention, and careful KV-cache sizing.
  • The training data is multilingual and inherits the limitations and biases of the Prelude base and continued-pretraining blend.

Reproducibility

  • Base revision: f289699b246dba59907df27e743d4a433613175a
  • Megatron-LM commit: b359462c12858cedd2238a22eca0dca7aa6b8872
  • Tokenizer SHA256: ac214401227404105817141c21c6693e3b17c878465a42765d2c345310e003ce
  • 16K–128K blend SHA256: c25d345c2c1969be4308fab2c5423584ef2fade72b1e711558fd459936b7ac6a
  • Training hardware: 16 LUMI nodes / 128 AMD MI250X GCDs

Related resources

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей