/ Модель

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

Контекст
32 768 токенов
Размер весов
9,5 ГБ
Лицензия
Своя лицензия
Архитектура
uemo_d1 · dense
Базовая модель
Qwen2.5-Omni-3B
Библиотека
transformers
Опубликована
17 ноя 2026

UEmo-D1

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

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

115скачиваний за 30 дней2лайкавеса обновлены19 ноя 2026

Бенчмарки

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

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

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

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

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

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

UEmo-D1 — мультимодальная модель принятия решений для распознавания эмоций, основанная на Qwen/Qwen2.5-Omni-3B и дообученная авторами проекта UEmo-D1. Она анализирует текст, изображения, аудио или видео со звуковой дорожкой вместе с инструкцией и предложенным пользователем списком вариантов, а затем выбирает один из них. Ответом служит буква варианта, поэтому модель подходит для классификации эмоций по заданному набору меток и получения калиброванных вероятностей выбора.

Контрольная точка содержит текстовый декодер, визуальный и аудиокодировщики, токенизатор, медиапроцессор и обученные низкоранговые параметры. Она предназначена для инференса через предоставленный загрузчик и требует Linux, Python 3.12, CUDA и FlashAttention 2; проверена на NVIDIA RTX 4090. Потребление памяти растёт с длительностью аудио, длиной видео и размером контекста. Лицензия указана как other, конкретные условия в предоставленных сведениях не раскрыты.

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

  • Определение эмоции в тексте по заданным меткам
  • Распознавание эмоции на изображении среди предложенных вариантов
  • Классификация эмоций в аудиозаписи
  • Определение эмоции в видео вместе со звуковой дорожкой
  • Получение вероятностей выбора для вариантов эмоциональной метки

Ограничения

Модель выбирает только из 1–26 уникальных вариантов, заданных во входе; её ответ — буква варианта, а не универсальный идентификатор эмоции. Для запуска требуются Linux, Python 3.12, CUDA и FlashAttention 2, а потребление памяти увеличивается с длительностью аудио и видео и размером контекста.

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

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

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

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

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

Открыть на Hugging Face

UEmo-D1

Official implementation of UEmo-D1: An Efficient and Calibrated Decision Model for Unified Multimodal Emotion Recognition.

arXiv · GitHub

This repository contains the final, self-contained UEmo-D1 inference checkpoint, its tokenizer and media processor, and the code needed to predict an emotion from user-supplied candidate options. It supports text, images, audio, and video paired with audio. The checkpoint includes the complete text decoder, vision encoder, audio encoder, and final trained low-rank parameters; no separate base-model download is required. Low-rank parameters remain unmerged in their original precision to preserve the validated model outputs. Optimizer states, training data, evaluation data, intermediate checkpoints, and speech-generation components are not included.

Input template

Multimodal content [MEDIA], an instruction [INST], and candidate options [CHOICES] are assembled into a shared decision input:

[MEDIA]
[INST]
Choose your answer from: A. [CHOICE 1]; B. [CHOICE 2]; C. [CHOICE 3]; ...
Answer with only the single option letter, without explanation.

The inference script expands the options onto separate lines and applies the original system message, media markers, and chat template. Optional preceding context appears before the target. Supply 1–26 unique options in the desired order; the output is their corresponding letter, not a fixed global emotion ID.

Installation

The validated runtime uses Linux, Python 3.12, CUDA, and FlashAttention 2. The release was checked on an NVIDIA RTX 4090. Memory needs increase with audio duration, video length, and context size.

pip install huggingface_hub==0.35.3
hf download wudq/UEmo-D1 --local-dir ./UEmo-D1
cd UEmo-D1

pip install torch==2.8.0 torchvision==0.23.0 --index-url https://download.pytorch.org/whl/cu128
pip install -r requirements.txt
pip install flash-attn==2.8.3 --no-build-isolation

Use the pinned Transformers version: the bidirectional-attention integration checks the model implementation it was validated against. The loader uses trust_remote_code=True to load the included UEmo-D1 architecture.

Inference

Create a text input and a JSON request:

printf '%s\n' 'I am delighted that we can celebrate together today.' > sample.txt

cat > sample.json <<'JSON'
{
  "multimodal": {
    "text": ["sample.txt"],
    "image": [],
    "audio": [],
    "video": []
  },
  "instruction": "Identify the emotion expressed in the text.",
  "choices": ["happy", "sad", "angry", "neutral"]
}
JSON

python inference.py --model . --input sample.json

The command prints only one option letter. To also return the selected label and calibrated option probabilities:

python inference.py --model . --input sample.json --probabilities

Paths are resolved relative to the input JSON file, or to an explicit --media-root. All modality entries are file paths, including UTF-8 text files. Populate the corresponding lists for other modalities:

  • Image: "image": ["face.jpg"].
  • Audio: "audio": ["speech.wav"].
  • Video with audio: "video": ["clip.mp4"] and "audio": ["clip.wav"], where each audio file is aligned with the video at the same list position. The script does not silently extract or discard video audio.
  • Context: add a "context" object inside "multimodal", containing its own text, image, audio, and video lists.

The preprocessing retains full audio, converts it to mono 16 kHz, and samples video at 2 FPS. Image and video pixel budgets follow the final inference pipeline (448² and 224² maximum pixels respectively). No fixed 16-frame API cap is applied.

Decision probabilities

UEmo-D1 reads the next-token logits for the valid option letters and computes:

probabilities = softmax(option_logits / 1.0790077648040843)
answer = option_letters[argmax(probabilities)]

The fixed temperature is applied exactly once to the valid-choice logits. It is already handled by inference.py; do not apply another temperature or replace this step with sampling-temperature settings in generate(). The model uses bidirectional attention over the complete input prefix. Use the included loader rather than loading these weights as an ordinary causal Qwen model.

License

Built with Qwen. This derivative retains the Qwen Research License and the attribution in NOTICE. Use is for non-commercial research or evaluation under that license; commercial use requires the upstream licensor's authorization.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

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

0 моделей