huggingface.co
Total runs: 13
24-hour runs: 0
7-day runs: 2
30-day runs: 9
Model's Last Updated: June 12 2025

Introduction of ViMUL

Model Details of ViMUL

ViMUL: A Culturally-diverse Multilingual Multimodal Video Model

🤗 Hugging Face 📄 Paper 🌐 Project Page 📊 Benchmark

Overview

ViMUL is a multilingual video Large Multimodal Model (LMM) designed to provide better tradeoffs between high and low-resource languages for video understanding. The model is trained on a machine-translated multilingual video training set comprising 1.2 million samples and demonstrates improved performance across culturally diverse video content in multiple languages.

Key Features
  • 🌍 Multilingual Support: Optimized for 14 languages including both high and low-resource languages
  • 🎥 Video Understanding: Specialized for multimodal video analysis and description
  • 🎭 Cultural Awareness: Enhanced understanding of culturally diverse content
  • ⚖️ Balanced Performance: Better tradeoff between high and low-resource language performance
Model Details
  • Base Architecture: LLaVA-NeXT with Qwen backbone
  • Training Data: 1.2M machine-translated multilingual video samples
  • Supported Languages: English, Chinese, Spanish, French, German, Hindi, Arabic, Russian, Bengali, Urdu, Sinhala, Tamil, Swedish, Japanese
  • Input Modalities: Video | Image | Text
  • Output: Text descriptions and analysis
Requires
git clone https://github.com/LLaVA-VL/LLaVA-NeXT.git
pip install LLaVA-NeXT
Inference

Example video inference:

import torch
import numpy as np
from llava.model.builder import load_pretrained_model
from llava.mm_utils import process_anyres_image, tokenizer_image_token, get_model_name_from_path, KeywordsStoppingCriteria
from llava.constants import IMAGE_TOKEN_INDEX, DEFAULT_IMAGE_TOKEN, DEFAULT_IM_START_TOKEN, DEFAULT_IM_END_TOKEN
from llava.conversation import conv_templates, SeparatorStyle
from transformers import AutoConfig
from decord import VideoReader, cpu

def load_video(video_path, num_frames=32, force_sample=False):
    vr = VideoReader(video_path, ctx=cpu(0), num_threads=1)
    total_frame_num = len(vr)
    fps = round(vr.get_avg_fps())
    frame_idx = [i for i in range(0, len(vr), fps)]
    if len(frame_idx) > num_frames or force_sample:
        uniform_sampled_frames = np.linspace(0, total_frame_num - 1, num_frames, dtype=int)
        frame_idx = uniform_sampled_frames.tolist()
    frames = vr.get_batch(frame_idx).asnumpy()
    return frames

def infer(
    model_path,
    video_path,
    prompt,
    model_base=None,
    conv_mode=None,
    num_frames=32,
    force_sample=False,
    load_8bit=False,
    device="cuda"
):
    model_name = get_model_name_from_path(model_path)+"llava_qwen" # For llava internal checks and proper loading
    tokenizer, model, image_processor, context_len = load_pretrained_model(
        model_path, model_base, model_name, load_8bit=load_8bit
    )
    frames = load_video(video_path, num_frames=num_frames, force_sample=force_sample)
    video = image_processor.preprocess(frames, return_tensors="pt")["pixel_values"].half().to(device)
    video = [video]

    qs = DEFAULT_IMAGE_TOKEN + "\n" + prompt
    conv = conv_templates[conv_mode].copy() if conv_mode else conv_templates["default"].copy()
    conv.append_message(conv.roles[0], qs)
    conv.append_message(conv.roles[1], None)
    prompt_str = conv.get_prompt()

    input_ids = tokenizer_image_token(prompt_str, tokenizer, IMAGE_TOKEN_INDEX, return_tensors="pt").unsqueeze(0).to(device)
    if tokenizer.pad_token_id is None:
        tokenizer.pad_token_id = tokenizer.eos_token_id

    attention_masks = input_ids.ne(tokenizer.pad_token_id).long().to(device)
    stop_str = conv.sep if conv.sep_style != SeparatorStyle.TWO else conv.sep2
    keywords = [stop_str]
    stopping_criteria = KeywordsStoppingCriteria(keywords, tokenizer, input_ids)

    with torch.inference_mode():
        output_ids = model.generate(
            inputs=input_ids,
            images=video,
            attention_mask=attention_masks,
            modalities="video",
            do_sample=False,
            temperature=0.0,
            max_new_tokens=1024,
            top_p=0.1,
            num_beams=1,
            use_cache=True,
            stopping_criteria=[stopping_criteria]
        )
    outputs = tokenizer.batch_decode(output_ids, skip_special_tokens=True)[0].strip()
    if outputs.endswith(stop_str):
        outputs = outputs[:-len(stop_str)]
    return outputs.strip()

if __name__ == "__main__":
    model_path = "MBZUAI/ViMUL"
    video_path = "LLaVA-NeXT/playground/demo/xU25MMA2N4aVtYay.mp4"
    prompt = "Describe what happens in the video."
    conv_mode = "qwen_1_5"
    output = infer(model_path, video_path, prompt, conv_mode=conv_mode)
    print("\n")
    print("="*40)
    print("Output:", output)
    print("="*40)
Citation
@misc{shafique2025culturallydiversemultilingualmultimodalvideo,
      title={A Culturally-diverse Multilingual Multimodal Video Benchmark & Model}, 
      author={Bhuiyan Sanjid Shafique and Ashmal Vayani and Muhammad Maaz and Hanoona Abdul Rasheed and Dinura Dissanayake and Mohammed Irfan Kurpath and Yahya Hmaiti and Go Inoue and Jean Lahoud and Md. Safirur Rashid and Shadid Intisar Quasem and Maheen Fatima and Franco Vidal and Mykola Maslych and Ketan Pravin More and Sanoojan Baliah and Hasindri Watawana and Yuhao Li and Fabian Farestam and Leon Schaller and Roman Tymtsiv and Simon Weber and Hisham Cholakkal and Ivan Laptev and Shin'ichi Satoh and Michael Felsberg and Mubarak Shah and Salman Khan and Fahad Shahbaz Khan},
      year={2025},
      eprint={2506.07032},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2506.07032}, 
}

Runs of MBZUAI ViMUL on huggingface.co

13
Total runs
0
24-hour runs
0
3-day runs
2
7-day runs
9
30-day runs

More Information About ViMUL huggingface.co Model

ViMUL huggingface.co

ViMUL huggingface.co is an AI model on huggingface.co that provides ViMUL's model effect (), which can be used instantly with this MBZUAI ViMUL model. huggingface.co supports a free trial of the ViMUL model, and also provides paid use of the ViMUL. Support call ViMUL model through api, including Node.js, Python, http.

MBZUAI ViMUL online free

ViMUL huggingface.co is an online trial and call api platform, which integrates ViMUL's modeling effects, including api services, and provides a free online trial of ViMUL, you can try ViMUL online for free by clicking the link below.

MBZUAI ViMUL online free url in huggingface.co:

https://huggingface.co/MBZUAI/ViMUL

ViMUL install

ViMUL is an open source model from GitHub that offers a free installation service, and any user can find ViMUL on GitHub to install. At the same time, huggingface.co provides the effect of ViMUL install, users can directly use ViMUL installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ViMUL install url in huggingface.co:

https://huggingface.co/MBZUAI/ViMUL

Url of ViMUL

ViMUL huggingface.co Url

Provider of ViMUL huggingface.co

MBZUAI
ORGANIZATIONS

Other API from MBZUAI

huggingface.co

Total runs: 76.6K
Run Growth: 1.1K
Growth Rate: 1.49%
Updated:February 20 2025
huggingface.co

Total runs: 5.5K
Run Growth: 4.4K
Growth Rate: 80.18%
Updated:March 01 2024
huggingface.co

Total runs: 5.3K
Run Growth: -1.2K
Growth Rate: -23.60%
Updated:April 08 2026
huggingface.co

Total runs: 4.6K
Run Growth: -1.3K
Growth Rate: -27.43%
Updated:April 08 2026
huggingface.co

Total runs: 3.0K
Run Growth: -1.0K
Growth Rate: -35.01%
Updated:April 08 2026
huggingface.co

Total runs: 2.5K
Run Growth: -424
Growth Rate: -17.00%
Updated:April 08 2026
huggingface.co

Total runs: 1.2K
Run Growth: -1.2K
Growth Rate: -99.49%
Updated:April 28 2023
huggingface.co

Total runs: 1.1K
Run Growth: -1.2K
Growth Rate: -110.15%
Updated:April 28 2023
huggingface.co

Total runs: 935
Run Growth: -1.2K
Growth Rate: -125.13%
Updated:April 28 2023
huggingface.co

Total runs: 916
Run Growth: 242
Growth Rate: 26.42%
Updated:February 28 2024
huggingface.co

Total runs: 915
Run Growth: -856
Growth Rate: -92.84%
Updated:March 13 2025
huggingface.co

Total runs: 732
Run Growth: 689
Growth Rate: 94.13%
Updated:March 25 2024
huggingface.co

Total runs: 406
Run Growth: 0
Growth Rate: 0.00%
Updated:December 26 2024
huggingface.co

Total runs: 262
Run Growth: 78
Growth Rate: 29.77%
Updated:February 27 2026
huggingface.co

Total runs: 158
Run Growth: -1.6K
Growth Rate: -1019.87%
Updated:December 27 2023
huggingface.co

Total runs: 137
Run Growth: 31
Growth Rate: 22.63%
Updated:February 28 2024
huggingface.co

Total runs: 119
Run Growth: 103
Growth Rate: 88.03%
Updated:December 16 2024
huggingface.co

Total runs: 116
Run Growth: -179
Growth Rate: -154.31%
Updated:February 27 2026
huggingface.co

Total runs: 93
Run Growth: -112
Growth Rate: -120.43%
Updated:February 27 2026
huggingface.co

Total runs: 80
Run Growth: 42
Growth Rate: 52.50%
Updated:December 18 2024
huggingface.co

Total runs: 68
Run Growth: 31
Growth Rate: 46.27%
Updated:September 10 2025
huggingface.co

Total runs: 57
Run Growth: 51
Growth Rate: 89.47%
Updated:January 20 2026
huggingface.co

Total runs: 29
Run Growth: -5
Growth Rate: -17.24%
Updated:September 10 2025
huggingface.co

Total runs: 29
Run Growth: 0
Growth Rate: 0.00%
Updated:July 11 2026
huggingface.co

Total runs: 25
Run Growth: 11
Growth Rate: 45.83%
Updated:December 27 2023
huggingface.co

Total runs: 25
Run Growth: 17
Growth Rate: 68.00%
Updated:March 16 2025
huggingface.co

Total runs: 24
Run Growth: 8
Growth Rate: 34.78%
Updated:December 16 2024
huggingface.co

Total runs: 23
Run Growth: -28
Growth Rate: -127.27%
Updated:September 10 2025
huggingface.co

Total runs: 20
Run Growth: 13
Growth Rate: 65.00%
Updated:February 28 2024
huggingface.co

Total runs: 20
Run Growth: 2
Growth Rate: 9.52%
Updated:December 16 2024
huggingface.co

Total runs: 14
Run Growth: 14
Growth Rate: 100.00%
Updated:November 28 2025
huggingface.co

Total runs: 9
Run Growth: -3
Growth Rate: -33.33%
Updated:March 25 2024
huggingface.co

Total runs: 8
Run Growth: 1
Growth Rate: 12.50%
Updated:April 13 2026
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:January 19 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 05 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 09 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025