一份配方燒五個尺寸,Olmicro 把試片全留下了

一份配方燒五個尺寸,Olmicro 把試片全留下了
情境示意圖

Allen AI 在 Hugging Face 發表 Olmicro,一組五個完全開放的基礎語言模型,參數從 2.75 億到 27 億。站在做陶的立場,這篇發表最值得翻過來看的,是交出了什麼:模型之外,也提供公開資料集、訓練程式、評估結果與中間檢查點。

五個尺寸,同一份配方

五個模型(275M、450M、810M、1.4B、2.7B)都走同一套三階段流程:預訓練、中段訓練再加精選 token、長上下文延伸再加 token,上下文最長到 64K。依技術報告,預訓練預算按非嵌入參數每個配置 2,000 token,依尺寸從 4,230 億到 5.07 兆不等。

這很像拿同一款釉藥,在小杯、中碗、大罐上各燒一次。各尺寸沿用相同的架構與資料配比,但預訓練 token 預算也隨模型大小增加,不能把成績差異全歸給尺寸。2023 年發表的 Pythia 曾是這類套組裡最常被使用的一組,研究者靠它共用的配方與中間檢查點去查模型如何記憶、如何長出新能力。Pythia 最大的模型在 MMLU 上約等於亂猜,上下文只有 2,048 個 token,Olmicro 要補的就是這個年代差。

1,707 個檢查點,等於 1,707 片試片

釉燒壞了,只看成品無從追查,得回頭翻每一爐的紀錄。Olmicro 在三個訓練階段、五個尺寸之間,每 1,000 步存一次檢查點,共釋出 1,707 個(2.7B 以下的模型在長上下文延伸階段改為每 5,000 步)。想知道某項能力是哪一段才冒出來,可以從這些檢查點接著訓練,或從同一個起點比較不同的訓練方法。程式庫也列出重現限制:810M 與 1.4B 的公開中段訓練資料有少量 token 與原始訓練不同,長上下文延伸的原始樣本則未公開,提供的是另一份公開抽樣。

預測性也在這裡。四個較小模型擬合出的趨勢線,把 2.7B 在 OlmoBaseEval 上的分數預測到誤差 0.3 分以內。小爐子燒出的結果能推到大爐子,試驗才有意義。

省的是柴火:4:1 的層配比

架構上,Olmicro 以 80% 的循環式 Gated DeltaNet 層搭配 20% 的全注意力層,把前一代 Olmo Hybrid 的 3:1 拉高到 4:1。一般 transformer 每層都用全注意力,鍵值快取隨輸入變長而膨脹;循環層則維持固定大小的狀態,所以只有五層裡的一層需要會成長的快取。目標是讓有限 GPU 記憶體也能處理長文件。

成績方面,Olmicro 2.7B 在 OlmoBaseEval 五個任務群上平均 56.5,與 SmolLM3 3B 的 56.7 相近,訓練 token 為 5.27 兆,對方是 11.2 兆。生成式問答群組上,2.7B 拿到 68.6,SmolLM3 3B 是 67.8,Qwen2.5 3B 是 64.5。數學與程式碼則落後一些以此為重點訓練的模型,原文另以後訓練實驗說明,數學能力可用相對少的算力大幅拉高。

一天,與一週

門檻在這裡最具體:Ai2 公布,最小的 Olmicro 275M 預訓練約需一天,使用一個配有八張 NVIDIA B300 GPU 的節點。2.7B 的訓練則約需一週、16 個同規格節點。放回陶作的尺度,這比較像實驗室的窯,不能只憑模型小就當成家用設備的工作量。

Olmicro 是 Ai2 「Beyond the Model」系列四次發表中的第一次,整週都是完全開放的研究釋出。公開的訓練程式與檢查點,讓每個尺寸留下可回頭比較的試片。

— 游曉芬


One Recipe, Five Sizes: Olmicro Keeps Every Test Tile

Allen AI has released Olmicro on Hugging Face: five fully open base language models, from 275 million to 2.7 billion parameters. From a potter’s bench, what matters most is what was handed over alongside the models: public datasets, training code, evaluation results and intermediate checkpoints.

Five sizes, one glaze recipe

All five models (275M, 450M, 810M, 1.4B and 2.7B) follow the same three-stage recipe: pretraining, then mid-training with curated tokens, then long-context extension with additional tokens, reaching a 64K context. The technical report sets the pretraining budget at 2,000 tokens per non-embedding parameter, giving 423 billion to 5.07 trillion tokens depending on size.

It resembles firing one glaze on a small cup, a bowl and a large jar. The architecture and data mix stay consistent, but pretraining token budgets also grow with model size, so score differences cannot be attributed to size alone. Pythia, released in 2023, is described by Ai2 as one of the most widely used suites of this kind, valued for its shared recipe and intermediate checkpoints. Its largest model scores around chance on MMLU and handles only 2,048 tokens of context. Olmicro is meant to close that generational gap.

1,707 checkpoints, 1,707 test tiles

When a glaze fails, the finished pot says little; the record of each firing is what lets a failure be traced. Olmicro releases 1,707 intermediate checkpoints across the three stages and five sizes, saved every 1,000 steps (every 5,000 during long-context extension for models smaller than 2.7B). Researchers can use them to see when a capability appears, resume a run, or compare training methods from the same starting point. The repository also documents reproducibility limits: a small fraction of the public mid-training tokens differ for 810M and 1.4B, and the exact long-context training sample is not public; a different public sample is supplied.

Predictability matters too. A trend line fitted to the four smaller models predicts the 2.7B score on OlmoBaseEval to within 0.3 points. A result from a small kiln that carries over to the big one is what makes small-scale testing worth doing.

Saving fuel with a 4:1 layer ratio

Architecturally, Olmicro mixes 80% recurrent Gated DeltaNet layers with 20% full-attention layers, raising the ratio in its earlier Olmo Hybrid design from 3:1 to 4:1. A standard transformer uses full attention in every layer, so its key-value cache grows with input length. Recurrent layers keep a fixed-size state, so only one layer in five needs a growing cache. The aim is to make long documents workable on hardware with limited GPU memory.

On results, Olmicro 2.7B averages 56.5 across OlmoBaseEval’s five task clusters, against 56.7 for SmolLM3 3B, using 5.27 trillion training tokens versus 11.2 trillion. On the generative QA cluster it scores 68.6, versus 67.8 for SmolLM3 3B and 64.5 for Qwen2.5 3B. It trails some models trained with more emphasis on math and code; the post’s post-training experiments show math can be improved substantially with relatively little extra compute.

One day, and one week

Ai2 reports that pretraining Olmicro 275M takes about a day on one node with eight NVIDIA B300 GPUs. Training 2.7B takes about a week on 16 such nodes. In pottery terms, this is closer to a laboratory kiln: a small model still carries a substantial hardware requirement.

Olmicro is the first of four releases in Ai2’s “Beyond the Model” series, a week of fully open research releases. The released training code and checkpoints leave a set of test tiles that can be revisited at every size.

— 游曉芬

延伸閱讀

分類: 文化觀察,標籤: 、、,作者: 吳承翰。這篇內容的永久連結。

關於「吳承翰」

吳承翰,新北人,跑新聞的記者。習慣追本溯源,一則消息會翻到原始出處才下筆;在 JustBlog 寫台日文化、藝術展演與時事觀察,跑完現場順便找附近的小吃。 Tony Wu is a New Taipei–based reporter who traces every story back to its original source, writing on Taiwan–Japan culture, art events and current affairs.