/ Модель

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

Контекст
131 072 токена
Размер весов
7,6 ГБ
Лицензия
Apache 2.0
Архитектура
emova · dense
Базовая модель
qwen2vit600m
Библиотека
transformers
Опубликована
11 мар 2025

emova-qwen-2-5-3b-hf

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

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

74скачиваний за 30 дней5лайковвеса обновлены13 мар 2025

Бенчмарки

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

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

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

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

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

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

EMOVA-Qwen-2.5-3B-HF — мультимодальная модель семейства EMOVA, разработанная командой EMOVA. Это чекпойнт на 3 млрд параметров, объединяющий возможности текстовой модели и визуального энкодера. Он предназначен для понимания изображений и речи, а также для диалога с генерацией текстовых и эмоционально выразительных речевых ответов. Модель поддерживает английский и китайский языки и 24 речевых стиля, сочетая два голоса, три высоты тона и четыре эмоции.

Модель доступна в формате Hugging Face и загружается через Auto API библиотеки Transformers. В README заявлены сценарии визуально-языкового понимания, эмоционального голосового диалога и работы со структурированными данными в устной беседе. Лицензия — Apache-2.0. Метаданные указывают задачи генерации текста и извлечения признаков; карточка также описывает генерацию речи и работу с визуальным вводом.

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

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

Ограничения

README не приводит ограничений именно этого чекпойнта; заявленные характеристики и результаты в карточке относятся к семейству EMOVA и могут не полностью отражать качество версии на 3 млрд параметров.

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

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

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

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

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

Открыть на Hugging Face

EMOVA-Qwen-2.5-3B-HF

🤗 EMOVA-Models | 🤗 EMOVA-Datasets | 🤗 EMOVA-Demo 📄 Paper | 🌐 Project-Page | 💻 Github | 💻 EMOVA-Speech-Tokenizer-Github

Model Summary

EMOVA (EMotionally Omni-present Voice Assistant) is a novel end-to-end omni-modal LLM that can see, hear and speak without relying on external models. Given the omni-modal (i.e., textual, visual and speech) inputs, EMOVA can generate both textual and speech responses with vivid emotional controls by utilizing the speech decoder together with a style encoder. EMOVA possesses general omni-modal understanding and generation capabilities, featuring its superiority in advanced vision-language understanding, emotional spoken dialogue, and spoken dialogue with structural data understanding. We summarize its key advantages as:

  • State-of-the-art omni-modality performance: EMOVA achieves state-of-the-art comparable results on both vision-language and speech benchmarks simultaneously. Our best performing model, EMOVA-72B, even surpasses commercial models including GPT-4o and Gemini Pro 1.5.
  • Emotional spoken dialogue: A semantic-acoustic disentangled speech tokenizer and a lightweight style control module are adopted for seamless omni-modal alignment and diverse speech style controllability. EMOVA supports bilingual (Chinese and English) spoken dialogue with 24 speech style controls (i.e., 2 speakers, 3 pitches and 4 emotions).
  • Diverse configurations: We open-source 3 configurations, EMOVA-3B/7B/72B, to support omni-modal usage under different computational budgets. Check our Model Zoo and find the best fit model for your computational devices!

Performance

BenchmarksEMOVA-3BEMOVA-7BEMOVA-72BGPT-4oVITA 8x7BVITA 1.5Baichuan-Omni
MME2175231724022310209723112187
MMBench79.283.086.483.471.876.676.2
SEED-Image74.975.576.677.172.674.274.1
MM-Vet57.359.464.8-41.651.165.4
RealWorldQA62.667.571.075.459.066.862.6
TextVQA77.278.081.4-71.874.974.3
ChartQA81.584.988.785.776.679.679.6
DocVQA93.594.295.992.8---
InfoVQA71.275.183.2----
OCRBench803814843736678752700
ScienceQA-Img92.796.498.2----
AI2D78.681.785.884.673.179.3-
MathVista62.665.569.963.844.966.251.9
Mathverse31.440.950.0----
Librispeech (WER↓)5.44.12.9-3.48.1-

Usage

This repo contains the EMOVA-Qwen2.5-3B checkpoint organized in the HuggingFace format, and thus, can be directly loaded with transformers Auto APIs.

from transformers import AutoModel, AutoProcessor
from PIL import Image
import torch

### Uncomment if you want to use Ascend NPUs
# import torch_npu
# from torch_npu.contrib import transfer_to_npu

# prepare models and processors
model = AutoModel.from_pretrained(
    "Emova-ollm/emova-qwen-2-5-3b-hf",
    torch_dtype=torch.bfloat16,
    attn_implementation='flash_attention_2', # OR 'sdpa' for Ascend NPUs
    low_cpu_mem_usage=True,
    trust_remote_code=True).eval().cuda()
processor = AutoProcessor.from_pretrained("Emova-ollm/emova-qwen-2-5-3b-hf", trust_remote_code=True)

# only necessary for spoken dialogue
# Note to inference with speech inputs/outputs, **emova_speech_tokenizer** is still a necessary dependency (https://huggingface.co/Emova-ollm/emova_speech_tokenizer_hf#install).
speeck_tokenizer = AutoModel.from_pretrained("Emova-ollm/emova_speech_tokenizer_hf", torch_dtype=torch.float32, trust_remote_code=True).eval().cuda()
processor.set_speech_tokenizer(speeck_tokenizer)

# Example 1: image-text
inputs = dict(
    text=[
        {"role": "system", "content": [{"type": "text", "text": "You are a helpful assistant."}]},
        {"role": "user", "content": [{"type": "image"}, {"type": "text", "text": "What's shown in this image?"}]},
        {"role": "assistant", "content": [{"type": "text", "text": "This image shows a red stop sign."}]},
        {"role": "user", "content": [{"type": "text", "text": "Describe the image in more details."}]},
    ],
    images=Image.open('path/to/image')
)

# Example 2: text-audio
inputs = dict(
    text=[{"role": "system", "content": [{"type": "text", "text": "You are a helpful assistant."}]}],
    audios='path/to/audio'
)

# Example 3: image-text-audio
inputs = dict(
    text=[{"role": "system", "content": [{"type": "text", "text": "You are a helpful assistant."}]}],
    images=Image.open('path/to/image'),
    audios='path/to/audio'
)

# run processors
has_speech = 'audios' in inputs.keys()
inputs = processor(**inputs, return_tensors="pt")
inputs = inputs.to(model.device)

# prepare generation arguments
gen_kwargs = {"max_new_tokens": 4096, "do_sample": False} # add if necessary
speech_kwargs = {"speaker": "female", "output_wav_prefix": "output"} if has_speech else {}

# run generation
# for speech outputs, we will return the saved wav paths (c.f., output_wav_prefix)
with torch.no_grad():
    outputs = model.generate(**inputs, **gen_kwargs)
    outputs = outputs[:, inputs['input_ids'].shape[1]:]
    print(processor.batch_decode(outputs, skip_special_tokens=True, **speech_kwargs))

Citation

@article{chen2024emova,
  title={Emova: Empowering language models to see, hear and speak with vivid emotions},
  author={Chen, Kai and Gou, Yunhao and Huang, Runhui and Liu, Zhili and Tan, Daxin and Xu, Jing and Wang, Chunwei and Zhu, Yi and Zeng, Yihan and Yang, Kuo and others},
  journal={arXiv preprint arXiv:2409.18042},
  year={2024}
}

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

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

GPU в ailist

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

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

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

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

0 моделей