/ Модель

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

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

LFM3-Omni-2B-fp16-ov

Изображение и текст → текст7 профессий
48скачиваний за 30 дней0лайковвеса обновлены20 ноя 2026

Описание модели

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

Конвертированная в OpenVINO IR с весами FP16 мультимодальная модель LiquidAI для обработки текста, изображений, видео и аудио с выдачей текста и речи.

LFM3-Omni-2B-fp16-ov — конвертированная LiquidAI модель LFM3-Omni-2B в формате OpenVINO IR с весами FP16, без целочисленного сжатия. Это плотная мультимодальная модель на 2 млрд параметров; исходная модель принимает текст, изображения, видео и аудио, а выдаёт текст, речь или их чередование. Модель не предназначена для пошагового рассуждения.

Вариант рассчитан на запуск через OpenVINO GenAI. Он подходит для генерации текста, описания визуального содержимого, обработки видео и аудио, включая распознавание речи и синтез речи. Для аудиовхода требуется монофонический сигнал float32 с частотой 16 кГц, а синтезированная речь выдаётся с частотой 24 кГц.

Функциональные проверки на CPU охватывали генерацию текста, изображения на входе, распознавание речи и речевой вывод; это не оценка точности. В README не приведены контекстное окно и подробный перечень языков. Видео и запуск на GPU или NPU не проверялись. Для синтеза речи с указанной сборкой OpenVINO GenAI требуется SDPA; ограничения исходной модели сохраняются. Модель распространяется по лицензии LFM Open License v1.0 с исходными ограничениями использования.

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

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

Ограничения

Функциональные проверки не являются бенчмарком точности; запуск видео и GPU/NPU не проверялся. Для синтеза речи с указанной сборкой OpenVINO GenAI требуется SDPA.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

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

Открыть на Hugging Face

LFM3-Omni-2B-fp16-ov

Description

This is the LFM3-Omni-2B model converted to the OpenVINO IR (Intermediate Representation) format with FP16 weights, without integer weight compression.

LFM3-Omni is a non-reasoning model accepting text, images, video and audio, and producing text, speech or interleaved text and speech. The upstream audio_tokenizer/ assets are retained for Hugging Face processor compatibility; GenAI inference uses the OpenVINO IR components.

Conversion

Converted from source revision 21d75123f86c1f7ffb4bef1ea202710c4e7ebe67, using Optimum Intel revision 7995031, NNCF revision 0d605e5 and Transformers 5.20.0.

optimum-cli export openvino --model LiquidAI/LFM3-Omni-2B --task image-text-to-text --trust-remote-code --weight-format fp16 LFM3-Omni-2B-fp16-ov

The source revision above was fixed in an offline Hub cache during export. This CLI does not have a --revision option; to reproduce the pinned source independently, download that revision and pass its local path as --model.

The saved generation configuration preserves greedy text decoding and the original audio settings. Inactive text sampling values (temperature=0, top_k=1) were removed so Transformers could save a valid configuration. The upstream video configuration and license are included.

Compatibility

The examples below use the following tested stack:

  • Python 3.12
  • OpenVINO 2027.0.0.dev20261119
  • OpenVINO Tokenizers 2027.0.0.0.dev20261119
  • OpenVINO GenAI 2027.0.0.0.dev20261119

Speech generation requires ATTENTION_BACKEND="SDPA" with this GenAI build. Paged attention is not supported for these LFM3 speech examples.

Running Model Inference with OpenVINO GenAI

  1. Install the matched nightly packages:
python -m pip install --pre \
  --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly \
  "openvino==2027.0.0.dev20261119" \
  "openvino-tokenizers==2027.0.0.0.dev20261119" \
  "openvino-genai==2027.0.0.0.dev20261119" \
  "huggingface-hub==1.33.0" "numpy==2.5.4" soundfile
  1. Download the model from Hugging Face Hub:
from huggingface_hub import snapshot_download

model_id = "OpenVINO/LFM3-Omni-2B-fp16-ov"
model_path = "LFM3-Omni-2B-fp16-ov"
snapshot_download(repo_id=model_id, local_dir=model_path)
  1. Run text generation:
import numpy as np
import openvino as ov
import openvino_genai as genai
import soundfile as sf

pipe = genai.OmniPipeline(model_path, "CPU", ATTENTION_BACKEND="SDPA")


def generate(system, prompt, *, audios=(), images=(), speak=False, speech_only=False):
    history = genai.ChatHistory([
        {"role": "system", "content": system},
        {"role": "user", "content": prompt},
    ])
    speech = genai.OmniTalkerSpeechConfig()
    speech.return_audio = speak
    speech.output_mode = (
        genai.SpeechOutputMode.SPEECH_ONLY
        if speech_only else genai.SpeechOutputMode.INTERLEAVED
    )
    speech.cp_temperature = 0.4
    speech.cp_repetition_penalty = 1.2
    speech.max_new_tokens = 192
    speech.rng_seed = 0
    return pipe.generate(
        history,
        audios=list(audios),
        images=list(images),
        text_config=genai.GenerationConfig(max_new_tokens=128, do_sample=False),
        talker_speech_config=speech,
    )


result = generate("Respond with text.", "What is the capital of France? Answer in one word.")
print(result.texts[0])

Create a fresh ChatHistory for independent requests, as the helper does.

Audio input / ASR

Input audio must be mono float32 at 16 kHz. For a mono 16 kHz WAV file:

audio, sampling_rate = sf.read("input.wav", dtype="float32")
if sampling_rate != 16000 or audio.ndim != 1 or audio.size == 0:
    raise ValueError("Provide non-empty mono audio resampled to 16000 Hz")
result = generate(
    "Perform ASR in English.",
    "<ov_genai_audio_0>",
    audios=[ov.Tensor(audio)],
)
print(result.texts[0])

Speech output

Output speech is 24 kHz:

result = generate(
    "Perform TTS in American English using a female voice.",
    "Hello, this is a speech test.",
    speak=True,
    speech_only=True,
)
waveforms = result.speech_result.waveforms
if len(waveforms) != 1:
    raise RuntimeError("Expected one generated speech waveform")
waveform = np.asarray(waveforms[0].data).reshape(-1).copy()
if waveform.size == 0 or not np.isfinite(waveform).all():
    raise RuntimeError("The model returned empty or non-finite speech")
sf.write("output.wav", waveform, 24000)

For interleaved text and speech, use generate("Respond with interleaved text and audio.", "Say hello in one short sentence.", speak=True) and read both result.texts[0] and result.speech_result.waveforms.

Images are RGB uint8 tensors with shape [1, height, width, 3], passed in images; reference them as <ov_genai_image_0>. Video uses the GenAI videos and videos_metadata arguments. See OpenVINO GenAI for pipeline APIs.

More examples are available in OpenVINO Notebooks: LFM3.

Limitations

See the original model card for model limitations.

CPU/SDPA functional checks covered text generation, image input, ASR, speech-only and interleaved output. They are not an accuracy benchmark. Video inference and GPU/NPU execution were not validated.

Legal information

The original model is distributed under the LFM Open License v1.0. The same license and upstream use restrictions apply to this converted model. Further information is available from LiquidAI/LFM3-Omni-2B.

Disclaimer

Use must comply with the model license and applicable human-rights requirements. See Intel's Global Human Rights Principles. Generated text and speech can be inaccurate or inappropriate; evaluate suitability for the intended application.

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

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

GPU в ailist

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

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

Модель выложена для OpenVINO, рантайм загружает PyTorch-веса.

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

0 моделей