/ Модель

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

Лицензия
Своя лицензия
Архитектура
lfmputer · dense
Базовая модель
LFM3-1.7B
Библиотека
pytorch
Опубликована
29 окт 2026

LFMputer-1.7B

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

Экспериментальная диалоговая модель на базе LFM3-1.7B, объединяющая языковой декодер с программируемым вычислительным блоком и явной тензорной памятью для формальных вычислений и задач с инструментами.

595скачиваний за 30 дней6лайковвеса обновлены30 окт 2026

Бенчмарки

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

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

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

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

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

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

LFMputer-1.7B — экспериментальная модель suayptalha, построенная на базе LFM3-1.7B от Liquid AI. Она объединяет 24 языковых декодерных слоя LFM3 с 15 слоями специализированного вычислительного блока: фиксированным компьютером RV32, адресуемой тензорной оперативной памятью, мостом памяти и аналитическими средствами. Полная последовательность включает 39 слоёв; веса и компоненты модели хранятся в формате safetensors.

Модель предназначена для диалоговых агентов и задач, где языковая генерация сочетается с вызовом вычислительных процедур: формальных вычислений, битовых операций, работы с полиномами и SAT, а также отдельных задач программирования и использования инструментов. В README приведены результаты на подмножествах IFBench, BFCL и LiveCodeBench, а также на синтетических задачах; эти измерения не являются полными рейтингами и не доказывают обобщение на произвольные вычислительные задачи. Заявленный протокол оценки использовал контекст 24 576 токенов, но поведение на длинном контексте не проверено.

Для работы требуется специальный runtime из репозитория: одной загрузки языкового backbone недостаточно, чтобы активировать компьютерный блок. По умолчанию чатовый контекст составляет 8K; слишком длинные входы отклоняются, а ограничения на токены, вызовы и состояние вычислительного блока могут приводить к сбоям. В карточке указана лицензия other, поэтому конкретные условия использования следует сверить с файлами лицензии репозитория.

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

  • решение синтетических задач на битовые операции
  • вычисления с полиномами и SAT
  • вызов вычислительных инструментов в диалоговом агенте
  • выполнение отдельных задач программирования
  • исследование интеграции вычислительной машины в языковой декодер

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

LFMputer: a compiled computer in the LFM3 decoder stack

LFMputer-1.7B

A compiled computer in the LFM3 decoder stack, with explicit memory and analytic computation.

Inspired by Qwenputer. Created by suayptalha.

Quick start · Decoder architecture · Memory · Evaluation · Qwenputer comparison · License

LFMputer combines LFM3 with a fixed-weight RV32 computer, addressable tensor RAM, a memory bridge, and ten analytic facilities. These components are integrated into the decoder layer sequence itself: 15 machine layers precede 24 pretrained LFM3 language layers.

The language backbone, compiled circuit coefficients, bundled program images, request switch, and conditional adapters are stored together in model.safetensors. Machine instructions execute through tensor operations, while the included runtime handles tokenization, typed calls, execution phases, and result formatting.

PropertyImplementation
Language backboneLFM3-1.7B, 24 language decoder layers
Machine layersProgram control, 11 computer blocks, RAM/files, bridge, analytics
Full decoder sequence39 layers in model.language_model.model.layers
State widths2,048 language features; 2,679 machine features
ComputerFixed-weight RV32 circuit with bundled program images
Memory8 MiB logical RAM, 256-word cache, 256-byte MMIO
Memory bridge32 KiB transfer at program boundaries
WeightsOne mixed-precision safetensors file, approximately 3.54 GB
RuntimeIncluded custom loader and phase-aware execution

Decoder architecture

Conceptual execution phases through the decoder stack and explicit machine state

The decoder contains dedicated layers for computer execution, memory operations, analytic computation, and language generation. Each operation enters its owning layers through a shared model execution interface.

Decoder positionsRoleState and computation
0Computer controlInput embedding, program images, boot control, output maps
1–11Computer executionCompiled feed-forward and recurrent-memory stages
12RAM and filesAddress decoding, request delay, cache, MMIO, versioned files
13Memory bridgeTransfers between CPU working banks and addressable RAM
14AnalyticsTen bounded computation facilities
15–38LanguagePretrained LFM3 decoder blocks

The 11 computer blocks implement 18 ordered circuit stages. Seven blocks combine memory and feed-forward branches, one contains a memory branch, and three contain feed-forward branches.

Computer blocks follow LFM3’s operator → residual and gated feed-forward → residual organization, with adapters suited to discrete machine execution:

ComponentLFM3 language decoderMachine decoder
Residual structureOperator and gated-MLP residual branchesSame organization, with unused branches omitted
NormalizationRMSNormIdentity normalization
FFN activationSiLUReLU
FFN projectionsDense linear mapsOrdered sparse projections
Memory operatorSoftmax attention or short convolutionRecurrent hard-address memory

The machine blocks therefore share LFM3’s decoder organization while using specialized operators for arithmetic and stateful computation.

During language generation, machine layers pass the hidden tensor through unchanged, and the 24 language blocks operate with their native positions and cache indices. During computer execution, the machine layers advance the computational state without running the language backbone on every instruction.

The complete layout is defined in decoder_config.json. The backbone configuration describes the language layers and their KV and convolution caches.

Memory

LFMputer provides explicit, writable tensor RAM. Its 8 MiB logical capacity describes the address space; total RAM and VRAM usage also includes model weights, caches, runtime state, and temporary allocations.

ComponentImplementation
AddressingTwo-level hard attention over fixed binary address keys
Backing storeMutable tensor cells supporting read, write, and compare-and-swap
Request delayBit-encoded width-7 depthwise convolution; six-cycle latency
Cache256-word cache with tags and hit/miss accounting
MMIO256-byte memory-mapped region
CPU working banksRecurrent memory heads in the compiled computer
BridgeFirst 32 KiB exchanged at program run/pause boundaries
FilesVersioned file contents and metadata mapped into RAM views

Language KV caches, convolution state, machine memory, and file state have distinct roles. The memory bridge transfers working data at program boundaries, while the convolutional delay line implements request timing. Mutable session state can be saved separately from the fixed model weights.

Quick start

Download the repository, including its runtime code and tokenizer:

python -m pip install "huggingface-hub==2.3.0"
hf download suayptalha/LFMputer-1.7B --local-dir LFMputer-1.7B
cd LFMputer-1.7B
python -m pip install -r requirements.txt

python chat.py --device cuda \
  --prompt "Use calc to evaluate 123456789 * 987654321. Return only the result."

From the downloaded folder:

from modeling_lfmputer import LFMputer

model = LFMputer.load(".", device="cuda")

result = model(
    mode="chat",
    prompt=(
        "Compute XOR element by element for "
        "left=[17,23] and right=[5,9]. Return JSON."
    ),
)

print(result["answer"])
print(model.decoder_layout)
print(len(model.language_model.model.layers))  # 39

Use the included loader to initialize the complete architecture. The default chat runtime executes serially and uses the built-in computation facilities without an external Python interpreter.

Precision: the language backbone uses BF16, computer and memory operators require FP32, and selected analytic operators require FP64. Do not cast the entire model to BF16 or FP16.

Built-in facilities

Compiled computer

The RV32 computer includes the bundled calc, c-sort, c-crc32, and mpy-s1 program images. Ahead-of-time compilation produces the circuit coefficients and program data stored in the weights; inference executes those stored programs through the tensor circuit.

Analytic computation

The analytic decoder provides ten bounded facilities:

FacilityPurpose
Schema checkingValidate structured fields and types
Workflow dependenciesCheck dependencies between operations
Byte indexingIndex and retrieve byte-oriented data
Delimiter and scope checkingTrack supported structural constraints
Polynomial arithmeticPerform supported polynomial operations
Text constraintsCheck supported textual rules
Unit analysisEvaluate dimensions using a finite unit registry
SATSolve bounded Boolean satisfiability problems
Graph reachabilityCompute supported connectivity relations
Bit and byte operationsPerform supported binary transformations

Capacities and supported operations are defined in computer_config.json and lfmputer_runtime/analytics.

Request policy

A learned switch uses language features to enable the computation facilities when appropriate. Conditional LoRA supports circuit use on the enabled path, and the language model selects individual facilities through typed calls.

The switch controls the facilities together; individual operations are selected by the language model. Correct execution still depends on selecting the appropriate operation and supplying valid arguments.

Execution and validation

Machine execution uses ordered sparse projections, ReLU gates, recurrent memory operators, and explicit state transitions. Language execution passes through the machine layers by tensor identity before entering the pretrained language blocks.

Validation covers tensor loading, logits, language caches, machine transitions, RAM and bridge operations, analytic results, generated tokens, and session persistence. Checkpoint serialization and offline loading are also tested.

See validation.json for the recorded checks, release.json for artifact identities, and DESIGN.md for the numerical operators and execution model.

These checks cover the tested inputs and execution environment. Runtime timing fields vary naturally, and behavior across other backends or library versions is outside that validation scope.

Evaluation

Results use matched evaluation subsets, not full leaderboard protocols. Changes are expressed in percentage points (pp).

Agent and coding tasks

EvaluationLFM3LFM3 + PythonLFMputer
IFBench subset24.18%25.27%29.67%
BFCL V4, Python AST subset80.00%82.50%81.67%
LiveCodeBench, v6-only subset28.93%28.93%31.40%

All conditions use matched questions. Python denotes an isolated interpreter provided by the evaluation harness.

Protocol: greedy decoding, repetition penalty 1.1; 6,144 total output tokens, 3,072 per turn; up to 4 auxiliary calls; 24,576-token context.

Note. These are subset measurements, not full leaderboard scores. Batching and numerical backends can affect results. The formal-computation and Qwenputer tables describe separate circuit-design studies, not measurements of this checkpoint.

Formal computation tasks

These purpose-built synthetic tasks use families related to the circuit-use training data. They measure in-family computation support, not broad out-of-distribution coding ability.

Task familyLFM3LFMputerChange
Bit operations0.0%80.0%+80.0 pp
Polynomials20.0%100.0%+80.0 pp
SAT0.0%100.0%+100.0 pp
Graph reachability22.0%100.0%+78.0 pp
Units28.0%32.0%+4.0 pp
Overall14.0%82.4%+68.4 pp

These measurements use a short generated-text budget: 1,536 total tokens and 768 per LFM generation turn. LFM3 truncation was 86.0%; LFMputer truncation was 0.0%. Inserted LFMputer circuit-result text was outside its generated-token budget. The difference therefore includes the ability to complete within a short budget rather than measuring arithmetic accuracy alone.

Qwenputer comparison

Task familyQwenputerLFMputerChange
Bit operations0.0%80.0%+80.0 pp
Polynomials0.0%100.0%+100.0 pp
SAT5.0%100.0%+95.0 pp
Graph reachability35.0%100.0%+65.0 pp
Units20.0%25.0%+5.0 pp
Overall12.0%81.0%+69.0 pp

Note. These results cover our matched synthetic tasks, including families seen during LFMputer training; they do not establish general superiority. Evaluation budgets and native facilities differ. Correct answers must complete within execution limits; truncated responses count as failures.

Repository layout

PathPurpose
model.safetensorsComplete single-file tensor checkpoint
modeling_lfmputer.pyPublic model loader and request policy
decoder_config.jsonFull machine/language decoder layout
computer_config.jsonCircuit, program, memory, and analytic capacities
routing_config.jsonRequest policy, adapters, and logical tensor aliases
backbone/LFM3 implementation, configuration, and license
lfmputer_runtime/decoder.pyDecoder cells, phase dispatch, and tensor transport
lfmputer_runtime/computer/Compiled computer primitives and runner
lfmputer_runtime/memory/RAM, files, bridge, and persistence
lfmputer_runtime/analytics/Bounded circuits, codecs, and generation driver
chat.pySerial inference CLI
assets/Architecture illustration and conceptual animation

Checkpoint keys use stable logical component names; the loader places their tensors into the decoder-owned modules. This separates file layout from execution-layer positions without adding a second weight file.

Limitations

  • This custom decoder runtime is required; loading only the backbone does not activate the computer.
  • Mutable machine state and discrete operations remain explicit. The architecture is not a stateless dense FFN and does not claim that stock LFM3 attention provides writable RAM.
  • The default chat context is 8K. Gate features reject overlong inputs instead of silently truncating; the full model's long-context behavior has not been validated.
  • Token/call/chip limits, malformed calls and incomplete reasoning remain failure modes. Thinking-disabled prompts do not guarantee short responses.
  • Runtime latency and peak memory depend on the execution path. This is not a validated 4-bit or mobile release.

Credits

Created by suayptalha. LFM3 is developed by Liquid AI. The compiled-computer design is inspired by and builds on Qwenputer by Divyansh Agrawal. The LFM3 decoder integration, explicit RAM/bridge subsystem, analytic facilities, and request policy are part of LFMputer. This is an independent project, not an official Liquid AI or Qwenputer release.

License

The model uses the LFM Open License v1.0, matching LFM3. Read LICENSE for the complete terms. Original model and implementation notices, including applicable MIT and Apache-2.0 notices, are retained in NOTICE and licenses/.

Citation

@misc{kocabay2026lfmputer,
  author = {Kocabay, Şuayp Talha},
  title = {LFMputer-1.7B: A Compiled Computer in the LFM3 Decoder Stack},
  year = {2026},
  url = {https://huggingface.co/suayptalha/LFMputer-1.7B}
}

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

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

GPU в ailist

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

Нельзя запустить

Архитектура lfmputer неизвестна transformers в образе рантайма.

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

0 моделей