/ Модель

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

Контекст
32 768 токенов
Параметры
2,1 млрд
Лицензия
MIT
Архитектура
olmo_hybrid · dense
Библиотека
transformers
Опубликована
2 ноя 2026

olmputer-tiny

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

Экспериментальная модель скомпилированного компьютера RISC-V, которая исполняет программы и выдаёт трассу выполнения токен за токеном.

495скачиваний за 30 дней0лайковвеса обновлены3 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

olmputer-tiny — экспериментальная реализация компьютера RISC-V RV32IM с расширением Zba, скомпилированного в веса модели на базе архитектуры OlmoHybridForCausalLM. Проект создан JGalego; используются архитектура и формы голов OLMo-Hybrid, но не веса Ai2. Вместо обучения компилятор задаёт веса так, чтобы рекуррентное состояние слоёв Gated DeltaNet хранило ПЗУ, ОЗУ и регистры, а каждый генерируемый токен представлял следующий шаг трассы исполнения процессора.

Модель предназначена для исполнения программ посредством жадной генерации; README приводит пример вычисления чисел Фибоначчи и проверки трассы относительно эталонного эмулятора RISC-V. Она имеет 2,1 млрд параметров, контекст 32 768 токенов и распространяется в формате safetensors. Лицензия — MIT. Это специализированный вычислительный эксперимент, а не универсальная языковая модель; заявленные проверки подтверждают точное воспроизведение трасс на указанных наборах программ и ядрах, но не гарантируют работу произвольного кода или совместимость с любым окружением.

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

  • исполнение небольших программ RISC-V через генерацию токенов
  • вычисление последовательности Фибоначчи на виртуальном процессоре
  • получение трассы исполнения программы для сравнения с эмулятором
  • изучение хранения состояния процессора в рекуррентных слоях нейросети

Ограничения

Модель предназначена для конкретной реализации RISC-V RV32IM с Zba и описанными инструкциями; точность подтверждена только на ограниченных наборах программ и конфигурациях ядер. README не описывает универсальную поддержку произвольных программ или полноценный текстовый диалог.

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

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

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

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

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

Открыть на Hugging Face

olmputer-tiny

olmputer-tiny is a RISC-V computer (RV32IM with the Zba extension) compiled into the weights of a stock OlmoHybridForCausalLM. Nothing is trained, because a compiler works out every weight. The code ROM, data ROM, RAM and registers live in the recurrent state of the Gated DeltaNet layers. To run a program you decode greedily, and each token the model generates is the next token of the CPU's execution trace.

It is the standalone half of Olmputer, which puts the same layers in front of allenai/Olmo-Hybrid-Instruct-DPO-7B so that OLMo's calc tool calls run on the CPU inside its weights. Both port Qwenputer, which does this with Qwen3.5-4B, to OLMo-Hybrid's head shapes. The compiler is the chipformer package in JGalego/olmputer.

[!NOTE] Uses the architecture and head shapes of Ai2's OLMo-Hybrid but none of its weights. Not affiliated with or endorsed by Ai2.

The machine

ISARV32IM + Zba, plus bignum digit-file instructions
Code ROM256 KB
Data ROM128 KB, read-only
RAM32 KB
Layers11 Gated DeltaNet + SwiGLU layers, plus the zero attention layer HF's cache needs
ShapesOLMo-Hybrid-7B's: 30 heads of 96 × 192 a layer, MLP 11,008 wide, hidden 2,816
Parameters3.13B, almost all zero
Vocabularythe trace tokens (values in 15-bit chunks, jumps, stores, putchar, ...) plus PAD

Each row below is one layer and each cell one of its 30 heads, tinted by the part of the machine's memory it holds. Layers 2, 10 and 11 hold no memory, and only their MLPs do any work.

The 11 layers as rows of 30 heads, each head tinted by the memory it holds

Porting from Qwen3.5-4B comes down to head shapes. Qwen's heads are 128 × 128, with two value heads per key head, while OLMo's are 96 × 192 with one of each. Four changes keep every memory read exact:

  • Each state row keeps its ballast in 3 of its 192 columns, where Qwen uses 2 of 128. That way the gated output norm still divides by the same power of 2.
  • The code and data ROMs hold bytes, and reading a byte exactly needs a query scale that is a power of 2. OLMo's 96^-0.5 is not, so the query of the selected row is padded with four rows that are never written to (weights 3 : 3, 2, 1, 1). That makes the scale exactly 1/16.
  • Write gates use OLMo's β = 2 sigmoid(b), so b = 0 writes and b ≤ -256 does not.
  • ROM rows hold 32 words instead of 8, so the 256 KB ROM fits in one layer's 30 heads. The RAM holds one word per row and takes three layers.

Checks

Each program also runs on a reference RISC-V emulator, and its trace is the target. Two things must hold:

  • After the chip layers, the residual stream equals the circuit's IR evaluator on every dimension at every position. This runs in bf16, on traces of up to 60k tokens.
  • Free-running greedy generate, started at the program's entry, reproduces the reference trace token for token.

The runs below use two sets of linear-attention kernels: torch is transformers' own fallback and fla is flash-linear-attention.

RunKernelsProgramsExactTrace tokens
c-qsorttorch11240,175
c-sieve-gmpmultorch2266,825
short-flafla555526,677
short-torchtorch555526,677

Usage

example.py runs fibonacci(25) on olmputer-tiny. Greedy generate runs the CPU, and the script reads the result off the trace the model wrote. It is a uv script, so it brings its own dependencies:

uv run https://huggingface.co/jgalego/olmputer-tiny/resolve/main/example.py
# /// script
# requires-python = ">=3.12"
# dependencies = [
#     "chipformer @ https://github.com/JGalego/olmputer/archive/98639dff4c84a18542e3ca12a286a4df563b3a27.tar.gz#subdirectory=experimental/riscv",  # pylint: disable=line-too-long
#     "huggingface_hub",
#     "torch==2.14.1",
#     "transformers==5.19.0",
# ]
# ///
"""Run fibonacci(25) on olmputer-tiny, the RISC-V computer in its weights.

The program's code and registers are written into the model's Gated DeltaNet states, and greedy
generate then runs the CPU: each token it generates is the next token of the execution trace. The
program ends with mv a0, t0 (the result), li a7, 93 and the exit ecall, so the result is the
second-to-last value record the model wrote.
"""

import torch
from chipformer.q35.ir import OLMO
from chipformer.rv import core, firmware, ref, spec
from chipformer.rv.programs import program
from transformers import OlmoHybridForCausalLM

DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
MODEL = OlmoHybridForCausalLM.from_pretrained("jgalego/olmputer-tiny", dtype=torch.bfloat16)
MODEL = MODEL.to(DEVICE).eval()
CIRCUIT = core.build(OLMO)  # the CPU as a circuit: it writes the program into the model's cache

TRACE = firmware.run(MODEL, CIRCUIT, ref.Machine.from_program(program("fib")))
VALUES = [spec.decode_value(TRACE[:i + 1]) for i, t in enumerate(TRACE)
          if spec.family(t)[0] in ("F0", "F1", "F2")]
print("fibonacci(25) =", VALUES[-2])
print(f"{len(TRACE)} trace tokens on {DEVICE}, identical to the reference machine:",
      TRACE == ref.Machine.from_program(program("fib")).run()[1:])

On a GPU it takes under a minute, and it also runs on a CPU, only more slowly. firmware.run feeds the model a one-token prefix, loads the program's ROM, RAM and registers into the recurrent states of the linear-attention layers, starts the CPU with the GO token and decodes greedily until HALT.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей