AIDC-AI / Ovis1.5-Gemma2-9B

huggingface.co
Total runs: 61
24-hour runs: 0
7-day runs: 32
30-day runs: 39
Model's Last Updated: February 26 2025
image-text-to-text

Introduction of Ovis1.5-Gemma2-9B

Model Details of Ovis1.5-Gemma2-9B

Introduction

Ovis is a novel Multimodal Large Language Model (MLLM) architecture, designed to structurally align visual and textual embeddings. For a comprehensive introduction, please refer to Ovis paper and Ovis GitHub .

Model

As always, Ovis1.5 remains fully open-source: we release the training datasets, training & inference codes, and model weights for reproducible transparency and community collaboration.

Ovis MLLMs ViT LLM Training Datasets Code Model Weights
Ovis1.5-Llama3-8B Siglip-400M Llama3-8B-Instruct Huggingface Github Huggingface
Ovis1.5-Gemma2-9B Siglip-400M Gemma2-9B-It Huggingface Github Huggingface
Performance

We evaluate Ovis1.5 across various multimodal benchmarks using VLMEvalKit and compare its performance to leading MLLMs with similar parameter scales.

MiniCPM-Llama3-V2.5 GLM-4V-9B Ovis1.5-Llama3-8B Ovis1.5-Gemma2-9B
Open Weights ✅ ✅ ✅ ✅
Open Datasets ❌ ❌ ✅ ✅
MMTBench-VAL 57.6 48.8 60.7 62.7
MMBench-EN-V1.1 74 68.7 78.2 78.0
MMBench-CN-V1.1 70.1 67.1 75.2 75.1
MMStar 51.8 54.8 57.2 58.7
MMMU-Val 45.8 46.9 48.6 49.8
MathVista-Mini 54.3 51.1 62.4 65.7
HallusionBenchAvg 42.4 45 44.5 48.0
AI2D 78.4 71.2 82.5 84.7
OCRBench 725 776 743 756
MMVet 52.8 58 52.2 56.5
RealWorldQA 63.5 66 64.6 66.9
CharXiv Reasoning 24.9 - 28.2 28.4
CharXiv Descriptive 59.3 - 60.2 62.6
Usage

Below is a code snippet to run Ovis with multimodal inputs. For additional usage instructions, including inference wrapper and Gradio UI, please refer to Ovis GitHub .

pip install torch==2.1.2 transformers==4.43.2 pillow==10.3.0
import torch
from PIL import Image
from transformers import AutoModelForCausalLM

# load model
model = AutoModelForCausalLM.from_pretrained("AIDC-AI/Ovis1.5-Gemma2-9B",
                                             torch_dtype=torch.bfloat16,
                                             multimodal_max_length=8192,
                                             trust_remote_code=True).cuda()
text_tokenizer = model.get_text_tokenizer()
visual_tokenizer = model.get_visual_tokenizer()
conversation_formatter = model.get_conversation_formatter()

# enter image path and prompt
image_path = input("Enter image path: ")
image = Image.open(image_path)
text = input("Enter prompt: ")
query = f'<image>\n{text}'
prompt, input_ids = conversation_formatter.format_query(query)
input_ids = torch.unsqueeze(input_ids, dim=0).to(device=model.device)
attention_mask = torch.ne(input_ids, text_tokenizer.pad_token_id).to(device=model.device)
pixel_values = [visual_tokenizer.preprocess_image(image).to(
    dtype=visual_tokenizer.dtype, device=visual_tokenizer.device)]

# generate output
with torch.inference_mode():
    gen_kwargs = dict(
        max_new_tokens=1024,
        do_sample=False,
        top_p=None,
        top_k=None,
        temperature=None,
        repetition_penalty=None,
        eos_token_id=model.generation_config.eos_token_id,
        pad_token_id=text_tokenizer.pad_token_id,
        use_cache=True
    )
    output_ids = model.generate(input_ids, pixel_values=pixel_values, attention_mask=attention_mask, **gen_kwargs)[0]
    output = text_tokenizer.decode(output_ids, skip_special_tokens=True)
    print(f'Output: {output}')
Citation

If you find Ovis useful, please cite the paper

@article{lu2024ovis,
  title={Ovis: Structural Embedding Alignment for Multimodal Large Language Model}, 
  author={Shiyin Lu and Yang Li and Qing-Guo Chen and Zhao Xu and Weihua Luo and Kaifu Zhang and Han-Jia Ye},
  year={2024},
  journal={arXiv:2405.20797}
}
License

The project is licensed under the Apache 2.0 License and is restricted to uses that comply with the license agreements of Qwen, Llama3, Clip, and Siglip.

Runs of AIDC-AI Ovis1.5-Gemma2-9B on huggingface.co

61
Total runs
0
24-hour runs
2
3-day runs
32
7-day runs
39
30-day runs

More Information About Ovis1.5-Gemma2-9B huggingface.co Model

More Ovis1.5-Gemma2-9B license Visit here:

https://choosealicense.com/licenses/apache-2.0

Ovis1.5-Gemma2-9B huggingface.co

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

Ovis1.5-Gemma2-9B huggingface.co Url

https://huggingface.co/AIDC-AI/Ovis1.5-Gemma2-9B

AIDC-AI Ovis1.5-Gemma2-9B online free

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

AIDC-AI Ovis1.5-Gemma2-9B online free url in huggingface.co:

https://huggingface.co/AIDC-AI/Ovis1.5-Gemma2-9B

Ovis1.5-Gemma2-9B install

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

Ovis1.5-Gemma2-9B install url in huggingface.co:

https://huggingface.co/AIDC-AI/Ovis1.5-Gemma2-9B

Url of Ovis1.5-Gemma2-9B

Ovis1.5-Gemma2-9B huggingface.co Url

Provider of Ovis1.5-Gemma2-9B huggingface.co

AIDC-AI
ORGANIZATIONS

Other API from AIDC-AI

huggingface.co

Total runs: 117.5K
Run Growth: 4.7K
Growth Rate: 3.98%
Updated:August 15 2025
huggingface.co

Total runs: 18.8K
Run Growth: 14.3K
Growth Rate: 76.35%
Updated:February 13 2026
huggingface.co

Total runs: 12.5K
Run Growth: -13.7K
Growth Rate: -109.21%
Updated:February 13 2026
huggingface.co

Total runs: 11.3K
Run Growth: -35.3K
Growth Rate: -312.00%
Updated:August 15 2025
huggingface.co

Total runs: 1.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 26 2025
huggingface.co

Total runs: 1.4K
Run Growth: 270
Growth Rate: 19.58%
Updated:March 04 2025
huggingface.co

Total runs: 982
Run Growth: -45.0K
Growth Rate: -4582.28%
Updated:August 15 2025
huggingface.co

Total runs: 688
Run Growth: 387
Growth Rate: 56.25%
Updated:August 15 2025
huggingface.co

Total runs: 426
Run Growth: -476
Growth Rate: -111.74%
Updated:July 03 2025
huggingface.co

Total runs: 398
Run Growth: -7
Growth Rate: -1.76%
Updated:November 23 2024
huggingface.co

Total runs: 326
Run Growth: 320
Growth Rate: 98.16%
Updated:June 09 2026
huggingface.co

Total runs: 300
Run Growth: -37
Growth Rate: -12.33%
Updated:August 15 2025
huggingface.co

Total runs: 59
Run Growth: -898
Growth Rate: -1522.03%
Updated:February 28 2025
huggingface.co

Total runs: 39
Run Growth: 28
Growth Rate: 71.79%
Updated:May 29 2025
huggingface.co

Total runs: 38
Run Growth: -6
Growth Rate: -15.79%
Updated:August 15 2025
huggingface.co

Total runs: 27
Run Growth: 9
Growth Rate: 33.33%
Updated:November 21 2024
huggingface.co

Total runs: 13
Run Growth: 8
Growth Rate: 61.54%
Updated:July 30 2025
huggingface.co

Total runs: 11
Run Growth: -14
Growth Rate: -127.27%
Updated:November 21 2024
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 16.67%
Updated:August 19 2025
huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:November 14 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 19 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 03 2025