/ Модель

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

Лицензия
Своя лицензия
Архитектура
lfm3_omni · dense
Базовая модель
LFM3-Omni-2B
Библиотека
coreml
Опубликована
28 окт 2026

lfm3-omni-2b-ane-coreml

Изображение и текст → текст6 профессий

Квантованная Core ML-конверсия LiquidAI/LFM3-Omni-2B для диалоговой работы с текстом, изображениями и аудио на устройствах Apple.

2 473скачиваний за 30 дней0лайковвеса обновлены1 ноя 2026

Бенчмарки

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

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

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

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

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

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

Это квантованная конверсия мультимодальной модели LiquidAI/LFM3-Omni-2B в формат Core ML для работы на Apple Neural Engine. Репозиторий содержит скомпилированные программы: текстовые программы палетизированы до 8 бит, мультимодальные используют fp16; веса не дообучались. Модель поддерживает диалог, обработку изображений, аудиовход и генерацию речи, а также вызовы инструментов через совместимый runtime.

Сборка рассчитана на контекст до 28 672 токенов с точным вниманием. В README приводится скорость декодирования около 30 токенов в секунду и высокая близость текстовых выходов к исходной модели на измеренных тестах. Для запуска требуется отдельный runtime из указанного репозитория, а для аудио длиннее 30 секунд на входе или речи длиннее 10,2 секунды на выходе предусмотрен переход на PyTorch с дополнительными весами. Конверсия предназначена для устройств Apple; лицензия указана как other, поэтому условия следует сверять с лицензией исходной модели и репозитория.

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

  • диалоговые ответы на текстовые запросы
  • ответы на вопросы по изображениям
  • обработка аудиовхода в мультимодальном диалоге
  • генерация речи из диалогового ответа
  • вызов инструментов через runtime на Apple Neural Engine

Ограничения

Контекст ограничен 28 672 токенами, а заявленная близость к исходной модели проверялась лишь на ограниченном наборе позиций. Для аудиовхода свыше 30 секунд и речевого вывода свыше 10,2 секунды требуется fallback на PyTorch и дополнительный файл весов; запуск также требует отдельного runtime.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

LFM3-Omni-2B — Core ML / Apple Neural Engine

LiquidAI/LFM3-Omni-2B converted to Core ML and running on the Apple Neural Engine. This repository holds the converted programs only; the runtime, the conversion code and the measurements live in vladimir-voinea/lfm3-omni-ane.

This is a quantized conversion of the base model (LUT8 palettization of the text programs), not a merge and not a fine-tune. No weights were retrained.

Contents

filewhat
layer{N}_conv.mlpackage13 short-convolution layers, history passed as I/O tensors
layer{N}_full.mlpackage6 full-attention layers, 28,672-row MLState cache
layer{N}_slide.mlpackage5 sliding-attention layers, 256-row cache
final_norm.mlpackagethe final norm
lm_head.mlpackagethe 128,000-way head (whole)
lm_head_a/b.mlpackagethe same head split into 2 x 64,000 rows, which is what runs on the engine
vision.mlpackagevision tower and projector, 224 x 224
audio_encoder.mlpackageaudio encoder and projector, up to 30 s
depth_decoder.mlpackage, codec.mlpackagespeech output, up to 10.2 s through the codec program
speech_tables.npztables the host needs for speech
embed_tokens.npythe embedding table
rope.npz, layer_types.jsonrotary tables and the layer map

~3.5 GB. Text programs are palettized to 8 bits; the multimodal programs are fp16.

Use

huggingface-cli download vladimir94/lfm3-omni-2b-ane-coreml --local-dir lfm3-omni-2b-ane-coreml
git clone https://github.com/vladimir-voinea/lfm3-omni-ane
LFM3_MODEL=$PWD/lfm3-omni-2b-ane-coreml python lfm3-omni-ane/tools/lfm3_serve.py

Context

Context length is fixed when the model is built, because the full-attention caches hold a fixed number of rows inside the compiled programs. These programs hold 28,672 tokens, all attended exactly. A request needing more is refused with 400 context_exceeded.

Measured

  • about 30 tok/s decode, flat across the whole context: 29.9 at 1,000 tokens, 29.7 at 16,000, 31.1 at 28,000
  • prefill at the same rate one token at a time, so a 28,500-token prompt reads in about 14.5 minutes
  • at 28,500 tokens it recalled a code stated at the very start of the prompt
  • against the official model on a 241-token prompt mixing English, Romanian, code and arithmetic: top-1 agreement 96.3 %, top-5 overlap 4.83 of 5, mean KL 0.0036, logit cosine 1.0000 (the earlier 6-bit build here measured 81.7 % and 0.2034)
  • an end-to-end smoke test passes: text, tool call, tool result, image in, audio in, speech out and the context guard

What changed the fidelity

The Neural Engine loses accuracy on a large projection whose input values are small, and on silu. These programs avoid both with forms that equal the originals. The measurements are in notes/STATE.md in the code repository.

Limits

  • Exact attention at 78k is not reachable at speed on this hardware. The arithmetic does not close: exact 78k needs ~109 GFLOPS for attention alone at 20 tok/s, and the best measured ANE tile delivers 92.
  • Fidelity against the official model is measured up to position 4,039 (top-1 100 % and mean KL 0.0046 over positions 4,000-4,039), not across the whole context.
  • Speech quality has only been compared numerically (waveform correlation 0.996 against the PyTorch codec on random codes).
  • Multimodal limits: audio input over 30 s and speech over 10.2 s fall back to PyTorch, which needs towers.safetensors (0.88 GB, also in this repository; skip it otherwise). PyTorch is still imported by the runtime.
  • Audio output works. The depth decoder, sampler and codec are numerically exact (rms and spectrum checked against the reference decode over 24 frames); the loop runs on the engine and produces speech-level audio.
  • Core ML will not place a 128,000-way matmul on the engine whole, so the runtime uses the split head (lm_head_a/b).

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

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

GPU в ailist

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

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

CoreML-модели работают только на устройствах Apple.

Класс архитектуры
Lfm3OmniForConditionalGeneration
Ревизия весов
00dd99b

0 моделей