0

Omnimodal assistant with Qwen2.5-Omni and OpenVINO

Qwen2.5-Omni is an end-to-end multimodal model designed to perceive diverse modalities, including text, images, audio, and video, while simultaneously generating text and natural speech responses in a streaming manner.

Example · مثال

Content

Omnimodal assistant with Qwen2.5-Omni and OpenVINO

Qwen2.5-Omni is an end-to-end multimodal model designed to perceive diverse modalities, including text, images, audio, and video, while simultaneously generating text and natural speech responses in a streaming manner.

!Image

More details about model can be found in model card and original repo.

In this tutorial we consider how to convert and optimize Qwen2.5-Omni model for creating omnimodal chatbot. Additionally, we demonstrate how to apply stateful transformation on LLM part and model optimization techniques like weights compression using NNCF

Notebook contents

The tutorial consists from following steps:

  • Install requirements
  • Download PyTorch model
  • Convert model to OpenVINO Intermediate Representation (IR)
  • Compress Language Model weights
  • Run OpenVINO model inference
  • Launch Interactive demo

In this demonstration, you'll create interactive chatbot that can answer questions about provided image's content. Image bellow shows a result of model work. !Image

Installation instructions

This is a self-contained example that relies solely on its own code.</br> We recommend running the notebook in a virtual environment. You only need a Jupyter server to start. For details, please refer to [Installation Guide](../../README.md).

Source and license

Source
Intel OpenVINO Notebooks
Original
openvinotoolkit/openvino_notebooks/notebooks/qwen2.5-omni-chatbot
License
Apache-2.0