Introducing Olmicro: Small, efficient hybrid models built in the open

本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。

Introducing Olmicro: Small, efficient hybrid models built in the open

今天我们发布了 Olmicro,这是一套包含五个完全开放的基础语言模型,参数规模从 2.75 亿到 27 亿不等。Olmicro 专为研究和实验而构建,为研究人员和开发者提供了一种利用适度计算资源来研究和适配现代语言模型的方法。

Model suites, or families of models trained with a consistent recipe across several sizes, give researchers a controlled way to study how language models learn. Pythia, released in 2023, became one of the most widely used suites of its kind. Researchers have relied on its shared training recipe and intermediate checkpoints to investigate how models memorize information and develop new capabilities.

模型套件,即通过统一配方在多种规模下训练的模型家族,为研究人员提供了一种受控的方式来研究语言模型是如何学习的。2023 年发布的 Pythia 成为了此类模型中最广泛使用的套件之一。研究人员依靠其共享的训练配方和中间检查点来探究模型如何记忆信息并发展出新的能力。

But language models have advanced considerably since then. Pythia’s largest model scores around chance on MMLU and supports a context length of just 2,048 tokens. Researchers have asked us for small, open models they can study on modest hardware. With Olmicro, we’re bringing Pythia’s approach to a newer generation of language models.

但自那时起,语言模型已经取得了长足的进步。Pythia 最大的模型在 MMLU 测试中的得分仅相当于随机猜测,且仅支持 2,048 个 token 的上下文长度。研究人员一直要求我们提供可以在适度硬件上进行研究的小型开放模型。通过 Olmicro,我们将 Pythia 的方法引入到了新一代语言模型中。

Our largest model, Olmicro 2.7B, matches strong open base models of similar size while training on substantially fewer tokens than most of its peers. All five models support context lengths of up to 64K tokens, and their hybrid architecture reduces the memory required to work with long inputs. We also demonstrate that even the smallest Olmicro models can be post-trained to substantially improve their mathematical reasoning capabilities with relatively little compute.

我们最大的模型 Olmicro 2.7B 在训练 token 数量远少于大多数同类模型的情况下,表现与同等规模的强大开放基础模型相当。所有五个模型均支持高达 64K token 的上下文长度,其混合架构减少了处理长输入所需的内存。我们还证明,即使是最小的 Olmicro 模型,也可以通过训练后微调,在相对较少的计算量下显著提升其数学推理能力。

We’re opening the entire training process, including all five models, intermediate checkpoints, training data and code, and evaluation results. We hope these resources make it easier for academic labs and independent developers to study how language models learn, test new training techniques, and build models for their own applications without access to frontier-scale compute. Olmicro is the first of four releases in our Beyond the Model series, a week of fully open research releases designed to enable greater transparency and accountability in AI.

我们正在公开整个训练过程,包括所有五个模型、中间检查点、训练数据、代码以及评估结果。我们希望这些资源能让学术实验室和独立开发者在无需前沿级计算资源的情况下,更容易地研究语言模型的学习方式、测试新的训练技术,并为自己的应用构建模型。Olmicro 是我们“超越模型”(Beyond the Model)系列四个发布计划中的第一个,该系列为期一周,旨在通过完全开放的研究发布,实现 AI 领域更高的透明度和问责制。

Five sizes, one open recipe: All Olmicro models share a hybrid architecture that combines 80% recurrent Gated DeltaNet layers with 20% full-attention layers, building on our Olmo Hybrid architecture. Olmicro also dispenses with positional encodings, a design choice we explain below. We train all five sizes (275M, 450M, 810M, 1.4B and 2.7B parameters) with the same three-stage recipe.

五种规模,一个开放配方:所有 Olmicro 模型都共享一种混合架构,该架构结合了 80% 的循环 Gated DeltaNet 层和 20% 的全注意力层,并基于我们的 Olmo Hybrid 架构构建。Olmicro 还摒弃了位置编码,这一设计选择我们将在下文解释。我们使用相同的三个阶段配方训练了所有五种规模(2.75 亿、4.5 亿、8.1 亿、14 亿和 27 亿参数)的模型。

Pretraining covers 423 billion to 5.07 trillion tokens, depending on size. Mid-training adds 100 billion curated tokens, and long-context extension adds another 100 billion, which extends the context length to 64k tokens. Pretraining our smallest model, Olmicro 275M, takes about a day on a single eight-GPU NVIDIA B300 node. Training Olmicro 2.7B takes about a week on 16 such nodes.

预训练涵盖了 4230 亿到 5.07 万亿个 token,具体取决于模型规模。中期训练增加了 1000 亿个精选 token,长上下文扩展又增加了 1000 亿个,将上下文长度扩展到了 64k token。预训练我们最小的模型 Olmicro 275M 在单个八 GPU NVIDIA B300 节点上大约需要一天时间。训练 Olmicro 2.7B 在 16 个此类节点上大约需要一周时间。

Across all three training stages and five model sizes, we’re releasing 1,707 intermediate checkpoints, saved every 1,000 training steps (every 5,000 steps during long-context extension for models smaller than 2.7B). Researchers can use these checkpoints to investigate when particular capabilities emerge, resume training runs, or compare training methods from the same starting point.

在所有三个训练阶段和五个模型规模中,我们共发布了 1,707 个中间检查点,每 1,000 个训练步保存一次(对于小于 2.7B 的模型,在长上下文扩展期间每 5,000 步保存一次)。研究人员可以使用这些检查点来调查特定能力何时出现、恢复训练运行,或从相同的起点比较不同的训练方法。

How Olmicro performs: We evaluated Olmicro alongside 37 other open base models on OlmoBaseEval, the benchmark suite we introduced with Olmo 3 that covers multiple-choice questions, reading comprehension, math, and coding. Olmicro is competitive with similarly sized models despite training on fewer tokens in many cases.

Olmicro 的表现:我们在 OlmoBaseEval 上将 Olmicro 与其他 37 个开放基础模型进行了评估。这是我们随 Olmo 3 引入的基准测试套件,涵盖了多项选择题、阅读理解、数学和编码。尽管在许多情况下训练的 token 数量较少,但 Olmicro 在同等规模的模型中仍具有竞争力。

For example, Olmicro 2.7B averages 56.5 across OlmoBaseEval’s five task clusters, roughly matching SmolLM3 3B at 56.7 while using less than half the training tokens (5.27 trillion versus 11.2 trillion). We also estimated training compute for non-distilled models with published token counts. In this comparison, only Falcon-H1 scored higher than Olmicro at a similar compute budget.

例如,Olmicro 2.7B 在 OlmoBaseEval 的五个任务集群中平均得分为 56.5,大致与 SmolLM3 3B 的 56.7 持平,但使用的训练 token 不到后者的一半(5.27 万亿对 11.2 万亿)。我们还估算了已发布 token 数量的非蒸馏模型的训练计算量。在此比较中,在相似的计算预算下,只有 Falcon-H1 的得分高于 Olmicro。

Training all five models with a consistent recipe also gives us insight into how performance scales. A trend line fitted to the results of the four smaller Olmicro models predicts the score of Olmicro 2.7B on OlmoBaseEval to within 0.3 points. This predictability makes Olmicro a useful testbed for small-scale experimentation.

使用统一配方训练所有五个模型也让我们深入了解了性能是如何扩展的。根据四个较小 Olmicro 模型的结果拟合出的趋势线,预测 Olmicro 2.7B 在 OlmoBaseEval 上的得分误差在 0.3 分以内。这种可预测性使 Olmicro 成为小型实验的有用测试平台。

We also examined the model sizes and compute budgets at which different capabilities begin to emerge. Many of the capabilities we measure are already evident at 275M parameters: our smallest model answers multiple-choice questions well above chance and solves math and coding problems on which older models like Pythia score at random chance or near zero.

我们还研究了不同能力开始显现时的模型规模和计算预算。我们测量的许多能力在 275M 参数时就已经很明显了:我们最小的模型回答多项选择题的准确率远高于随机猜测,并且能够解决像 Pythia 这样的旧模型只能达到随机水平或接近零分的数学和编码问题。

Olmicro is particularly strong at reading comprehension and question answering. On OlmoBaseEval’s generative QA cluster, which includes reading comprehension, open-domain question answering, and commonsense tasks such as DROP, SQuAD, and CoQA, Olmicro matches or exceeds the best comparable open models at most sizes. Olmicro 2.7B scores 68.6, compared with 67.8 for SmolLM3 3B and 64.5 for Qwen2.5 3B.

Olmicro 在阅读理解和问答方面表现尤为出色。在 OlmoBaseEval 的生成式 QA 集群(包括阅读理解、开放域问答以及 DROP、SQuAD 和 CoQA 等常识任务)中,Olmicro 在大多数规模下都匹配或超过了同类最佳的开放模型。Olmicro 2.7B 得分为 68.6,而 SmolLM3 3B 为 67.8,Qwen2.5 3B 为 64.5。

While Olmicro trails some base models trained with a greater emphasis on math and code, our post-training experiments, described below, show that its math performance can be improved substantially with relatively little additional compute. Olmicro also performs comparably to other open-model baselines on long-context tasks. At 32,768 tokens, the longest context length.

虽然 Olmicro 在某些更侧重于数学和代码的基础模型面前稍显逊色,但我们下文描述的训练后实验表明,通过相对较少的额外计算,其数学性能可以得到显著提升。在长上下文任务中,Olmicro 的表现也与其他开放模型基准相当。在 32,768 个 token 时,这是最长的上下文长度。