/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
17,8 ГБ
Лицензия
Apache 2.0
Архитектура
eCityOmni_qwen · dense
Библиотека
transformers
Опубликована
16 окт 2026

eCity-Omni

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

Мультимодальная модель eCity-Omni анализирует видео и связанное аудио, отвечая на вопросы и находя временные интервалы событий.

131скачиваний за 30 дней0лайковвеса обновлены22 окт 2026

Бенчмарки

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

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

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

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

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

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

eCity-Omni — мультимодальная языковая модель, разработанная командой eCityAI-Sup для анализа видео с учётом времени. Она принимает видео и текстовый вопрос, а также использует извлечённое из видео аудио, чтобы отвечать на открытые вопросы и определять временные интервалы событий. В README описан вывод временного интервала в формате начальной и конечной секунды; при невозможности разобрать ответ выводится исходный текст модели.

Репозиторий содержит базовые файлы модели и рекомендуемый чекпойнт с прореженной языковой частью на 7,98 млрд параметров, восстановленной с помощью SFT и GRPO. Для обработки видео используются визуальный модуль и аудиокодировщики из базовой модели; метаданные указывают архитектуру eCityOmniQwenForCausalLM, библиотеку Transformers и контекст 32 768 токенов. Для запуска описанного конвейера требуются PyTorch, CUDA-среда, FlashAttention и ffmpeg; некоторые компоненты при первом запуске загружают ресурсы из сети.

Модель распространяется по лицензии Apache-2.0. README описывает инференс для видео и не приводит оценки качества или подробных ограничений точности временной привязки; также возможны трудности с загрузкой процессора изображений и весов Whisper на сервере без доступа к интернету.

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

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

Ограничения

README не приводит количественных оценок качества и не описывает точность временной привязки. Запуск требует нескольких компонентов и может требовать предварительной загрузки ресурсов из интернета; на офлайн-серверах их нужно подготовить заранее.

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

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

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

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

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

Открыть на Hugging Face

eCity-Omni

eCity-Omni: Improving Time Awareness of Omni Large Language Models

eCity-Omni is an omni-modal (video + audio + text) large language model, supporting video temporal grounding and multimodal open-ended QA. This document only covers the inference pipeline from model invocation to prediction.

1. Model Release

All weights are hosted in the HuggingFace model repository eCityAI-Sup/eCity-Omni:

WeightsDescription
Base model files (HF format: config.json, tokenizer, pytorch_model-*.bin, plus large-v3.pt and the BEATs encoder)The original unpruned omni-modal model. Always required as --model_path; it provides the tokenizer, vision tower, and speech encoders.
ecity_omni_7p984b_pruned_grpo.ptRecommended. The final released model: MLP-pruned to 7.98B parameters, then recovered via SFT and GRPO training. Applied on top of the base model with --native_pruned_ckpt.
ecity_omni_7p984b_pruned_sft.ptThe SFT-recovered pruned model (7.98B parameters, no GRPO stage). Same usage as above.

The two .pt files are patches that replace the language backbone of the base model; the vision tower and speech encoder always come from the base model files.

2. Environment Setup

conda create -n eCity-Omni python=3.10 -y
conda activate eCity-Omni
pip install torch==2.3.0+cu118 torchvision==0.18.0+cu118 torchaudio==2.3.0+cu118 --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt
# flash-attn prebuilt wheel (Linux, cu118, py3.10):
# https://github.com/Dao-AILab/flash-attention/releases/download/v2.6.0/flash_attn-2.6.0+cu118torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
pip install flash_attn-2.6.0+cu118torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl

ffmpeg must also be installed on the system (used to extract audio from videos).

3. Download Weights

The ./models/eCity-Omni directory does not exist in the repository; it is created by the download command below. It will contain the base model files (HF format: config.json, tokenizer, pytorch_model-*.bin, large-v3.pt, the BEATs encoder) and the two pruning .pt patches, all from the same HuggingFace repository:

pip install -U "huggingface_hub[cli]"
huggingface-cli download eCityAI-Sup/eCity-Omni --local-dir ./models/eCity-Omni

4. Single-Video Inference (multimodel.py)

Given a video path and a question, a single command runs ffmpeg audio extraction → uniform frame sampling + timestamps → model inference → result printing; temporary audio files are cleaned up automatically.

Temporal grounding with the final (pruned + GRPO) model:

export PYTHONPATH=./
python multimodel.py \
    --model_path ./models/eCity-Omni \
    --native_pruned_ckpt ./models/eCity-Omni/ecity_omni_7p984b_pruned_grpo.pt \
    --video_path /path/to/video.mp4 \
    --question "In which segment does the footage show ...?"

To use the SFT-recovered variant instead, point --native_pruned_ckpt to:

    --native_pruned_ckpt ./models/eCity-Omni/ecity_omni_7p984b_pruned_sft.pt

A patch report is printed to the console during loading to confirm the pruned weights were applied successfully. Without --native_pruned_ckpt, the original unpruned base model is used directly:

python multimodel.py \
    --model_path ./models/eCity-Omni \
    --video_path /path/to/video.mp4 \
    --question "In which segment does the footage show ...?"

Temporal Grounding Output Format

By default, the script appends the same format instruction as the training data to the question:

Give the timestamps in the fromat: From second{} to second{}.

(Note: the fromat typo is intentional — the instruction must match the training data verbatim.)

The model answers in the form From second{X} to second{Y}., and the script parses and prints:

[42.0, 58.5]

That is [start, end] with one decimal place; if parsing fails, the raw model output is printed instead.

Arguments

ArgumentDefaultDescription
--model_path./models/eCity-OmniPath to the base model (HF-format directory)
--video_path(required)Input video
--question(required)Question text
--frame_num64Number of uniformly sampled frames
--max_new_tokens1024Maximum generation length
--temperature0.00 = greedy decoding (reproducible for evaluation)
--no_grounding_promptoffDo not append the format instruction; output the raw natural-language answer (for open-ended QA)
--native_pruned_ckptnonePath to a pruned .pt patch; if provided, the pruning patch is applied on top of the base model

5. FAQ

On a server without internet access: couldn't connect to huggingface.co ... openai/clip-vit-large-patch14

When loading the vision tower, eCityOmni/model/multimodal_encoder/oryx_vit.py downloads the CLIP image processor config (a few KB) from HuggingFace. Choose one of the following fixes:

  1. Set a mirror before running: export HF_ENDPOINT=https://hf-mirror.com
  2. On a machine with internet access, download preprocessor_config.json of openai/clip-vit-large-patch14, copy it to the server, and change CLIPImageProcessor.from_pretrained(...) in oryx_vit.py to the local path
  3. If another user on the same machine already has the file in their HF cache: export HF_HOME=/path/to/their/.cache/huggingface

On a server without internet access: downloading Whisper speech-encoder weights

On first run, the speech encoder downloads the Whisper weights (the model size is specified by speech_encoder in the base model's config.json) from openaipublic.azureedge.net into ~/.cache/whisper. Pre-download them on a machine with internet access and copy them to the same path on the server.

Citation

@article{chronusomni,
title={ChronusOmni: Improving Time Awareness of Omni Large Language Models},
author={Chen, Yijing and Wu, Yihan and Guan, Kaisi and Ren, Yuchen and Wang, Yuyue and Song, Ruihua and Ru, Liyun},
journal={arXiv preprint arXiv:2512.09841},
year={2025}
}

Acknowledgement

eCity-Omni is built on the open-source base model ChronusOmni — we thank its authors for releasing the model. Our code is conducted on Ola and LLaVA.

License

This project is released under the Apache-2.0 License.

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

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

GPU в ailist

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

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

Архитектура eCityOmni_qwen неизвестна transformers в образе рантайма.

Класс архитектуры
eCityOmniQwenForCausalLM
Ревизия весов
07f323d

0 моделей