/ Модель

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

Размер весов
52,3 ГБ
Лицензия
Apache 2.0
Архитектура
premonition_diffusion_gemma · dense
Базовая модель
diffusiongemma-26B-A4B-it
Библиотека
transformers
Опубликована
26 сен 2026

Premonition-Exp

Изображение и текст → текст

Экспериментальная мультимодальная модель Prem Research для анализа текста, изображений, видео и аудио с генерацией текстовых ответов и структурированных решений.

130скачиваний за 30 дней4лайкавеса обновлены28 сен 2026

Бенчмарки

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

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

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

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

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

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

Premonition-Exp — экспериментальная мультимодальная модель от Prem Research, собранная на основе DiffusionGemma 26B-A4B-IT и Gemma 4 E4B-IT. Она принимает текст, изображения, видео и аудио, в том числе смешанные запросы, а в ответ генерирует текст или структурированные решения с вероятностями выбранных вариантов.

В состав входят текстово-визуальный бэкбон DiffusionGemma, замороженный аудиоэнкодер Gemma 4 E4B и обученный аудиопроектор на 4,3 млн параметров, который преобразует аудиопризнаки в пространство эмбеддингов бэкбона. Бэкбон и аудиоэнкодер остаются замороженными. Модель предназначена для мультимодального диалога и принятия решений по бизнес-контексту и медиафайлам; для подачи длинных записей README рекомендует делить аудио на фрагменты до 30 секунд. Для запуска описана среда vLLM на Linux x86-64 с NVIDIA GPU. Лицензия — Apache-2.0.

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

  • ответы на вопросы по изображениям и видеокадрам
  • анализ аудиозаписей и ответы по их содержанию
  • совместный анализ текста и медиафайлов
  • выбор решения из заданных вариантов с оценкой вероятностей

Ограничения

Модель обозначена как экспериментальная; для аудиовхода README рекомендует использовать моно WAV 16 кГц и ограничивать каждый аудиофрагмент 30 секундами. Описанный запуск требует Linux x86-64 и NVIDIA GPU с CUDA.

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

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

Открыть на Hugging Face

Premonition-Exp

Premonition-Exp is an experimental, vLLM-ready Jev-like omni-modal (text, vision, audio) model that adds the Gemma 4 E4B audio encoder to DiffusionGemma through a lightweight trained audio projector. The 4.3M-parameter projector maps audio features into the backbone's embedding space. The audio encoder and the DiffusionGemma backbone remain frozen.

The checkpoint accepts text, images, video and audio, including mixed inputs in one request, and supports text responses and structured decisions through our vLLM fork. It contains the full model weights, processor and custom Hugging Face model code.

Open the video.

Install the serving environment

Use Linux x86-64 with a CUDA-capable NVIDIA GPU. The commands below match the H200 serving setup. Keep the source revisions and native wheel together.

uv venv --python 3.12 .venv-premonition
source .venv-premonition/bin/activate

git clone --branch premonition/audio https://github.com/prem-research/vllm.git
git -C vllm checkout e64c179e6121694c7df4e21283e4c95dec964a46

export PREMONITION_VLLM_WHEEL='https://wheels.vllm.ai/a22c637ed97d81aa342789f7c56c2690ee118bfc/vllm-0.30.1rc1.dev13%2Bga22c637ed-cp38-abi3-manylinux_2_28_x86_64.whl'
uv pip install "$PREMONITION_VLLM_WHEEL"
VLLM_USE_PRECOMPILED=1 VLLM_PRECOMPILED_WHEEL_LOCATION="$PREMONITION_VLLM_WHEEL" \
  uv pip install --no-deps --reinstall -e ./vllm
uv pip install \
  'transformers @ git+https://github.com/huggingface/transformers.git@b3c3f5c15b3bfc30ea6d613e24841f73922235a5' \
  soundfile librosa accelerate httpx av

Start vLLM

CUDA_VISIBLE_DEVICES=0 vllm serve prem-research/Premonition-Exp \
  --served-model-name Premonition-Exp \
  --trust-remote-code --dtype bfloat16 \
  --host 127.0.0.1 --port 8000 \
  --max-model-len 8192 --max-num-seqs 4 \
  --gpu-memory-utilization 0.70 \
  --limit-mm-per-prompt '{"audio":4,"image":2,"video":{"count":1,"num_frames":4}}' \
  --media-io-kwargs '{"video":{"num_frames":4}}' \
  --diffusion-config '{"canvas_length":64}' \
  --max-logprobs 32 --attention-backend TRITON_ATTN --enforce-eager

This exposes the OpenAI-compatible /v1/chat/completions endpoint. For example:

curl http://127.0.0.1:8000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"Premonition-Exp","messages":[{"role":"user","content":"List three things to check on a purchase order."}],"max_tokens":64,"temperature":0}'

The model generates text and decisions; audio and video are input modalities. Use 16 kHz mono WAV for audio examples. Keep each audio clip within 30 seconds and split longer recordings. The command above samples four frames per video.

Structured decision API

In a second terminal, activate the same environment and launch the fork's structured server:

source .venv-premonition/bin/activate
python vllm/examples/features/structured_diffusion/structured_server.py \
  --upstream http://127.0.0.1:8000 \
  --model Premonition-Exp \
  --tokenizer prem-research/Premonition-Exp \
  --trust-remote-code --canvas 64 \
  --host 127.0.0.1 --port 8011

Send business context in state, named questions in questions, and ordered media in media. A choice question defines named options through criteria:

import httpx

response = httpx.post(
    "http://127.0.0.1:8011/v1/systemone",
    json={
        "model": "Premonition-Exp",
        "state": {
            "policy": "Requests up to $2,000 may be approved. Higher amounts need manager review.",
            "request": "24 laptop docks, total $1,920.",
        },
        "questions": {
            "route": {
                "type": "choice",
                "instructions": "Which approval route follows the policy?",
                "criteria": {
                    "approve": "Approve within the self-service limit.",
                    "review": "Send for manager review above the limit.",
                },
            }
        },
        "samples": 1,
        "seed": 42,
    },
    timeout=300,
)
response.raise_for_status()
print(response.json()["answers"])

Each answer contains its selected choice and the model's probabilities over the supplied options.

Hugging Face loading

Use the pinned Transformers revision above to load the included custom architecture:

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

repo = "prem-research/Premonition-Exp"
processor = AutoProcessor.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
    repo, trust_remote_code=True, dtype=torch.bfloat16, device_map="auto"
)

For generation and structured serving, use the vLLM commands above.

Architecture

ComponentSource / structure
Text and vision backboneDiffusionGemma 26B-A4B-IT
Audio encoderGemma 4 E4B-IT, frozen
Trained audio projectorScale-free RMS normalization followed by a 1536 → 2816 linear projection
Trainable projector parameters4,325,376
Custom architecturePremonitionForBlockDiffusion

The checkpoint includes the pretrained backbone and audio encoder, the trained projector, tokenizer, multimodal processor and weight index. The language-model vocabulary is unchanged. Exact source revisions and shard provenance are recorded in assembly_manifest.json.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
PremonitionForBlockDiffusion
Ревизия весов
3ed4174

0 моделей