Run this model with HF Jobs

Run ViFortune-AI/VOVis2.5-2B-pt on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/ViFortune-AI/VOVis2.5-2B-pt. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ViFortune-AI/VOVis2.5-2B-pt on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ViFortune-AI/VOVis2.5-2B-pt. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ViFortune-AI/VOVis2.5-2B-pt. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Ovis2.5-2B-Pretrained (Qwen3-1.7B + SigLIP2) - Final Version For Pretraining

technical report code models


Ovis2.5-2B-Pretrained (Qwen3-1.7B + SigLIP2)

Ovis2.5-2B-Pretrained is a merged version combining:

  • Vision Encoder: siglip2-so400m-patch16-512 (from Ovis2.5)
  • Language Model (LLM): Qwen3-1.7B (lightweight, efficient, supports Vietnamese)

Note: This is a base/pretrained model, only merged weights, not instruction-tuned. For best conversational performance, further fine-tuning is required.

Architecture Details

Ovis MLLM Vision Encoder Language Model (LLM) Status
VOvis2.5-2B-Pretrained(Final Version) siglip2-so400m-patch16-512 Qwen3-1.7B Base PT Model (Needs SFT)
Ovis2.5-2B (Official) siglip2-so400m-patch16-512 Qwen3-1.7B Instruction-Tuned
Ovis2.5-9B (Official) siglip2-so400m-patch16-512 Qwen3-8B Instruction-Tuned

Supported languages: Vietnamese 🇻🇳, English, Chinese

🚀 Quick Start

Cài đặt

pip install torch==2.8.0 transformers==4.51.3 numpy==1.26.4
pip install flash-attn==2.7.4.post1 --no-build-isolation

Quick Start

import torch
from PIL import Image
from transformers import AutoModelForCausalLM
import requests

model = AutoModelForCausalLM.from_pretrained(
    "AIDC-AI/VOvis2.5-2B-pt",
    torch_dtype=torch.bfloat16,
    trust_remote_code=True
).cuda()

messages = [{
    "role": "user",
    "content": [
        {"type": "image", "image": Image.open(requests.get("https://cdn-uploads.huggingface.co/production/uploads/658a8a837959448ef5500ce5/TIlymOb86R6_Mez3bpmcB.png", stream=True).raw)},
        {"type": "text", "text": "Describe the image in detail."},
    ],
}]

input_ids, pixel_values, grid_thws = model.preprocess_inputs(
    messages=messages,
    add_generation_prompt=True,
    enable_thinking=True
)
input_ids = input_ids.cuda()
pixel_values = pixel_values.cuda() if pixel_values is not None else None
grid_thws = grid_thws.cuda() if grid_thws is not None else None

outputs = model.generate(
    inputs=input_ids,
    pixel_values=pixel_values,
    grid_thws=grid_thws,
    enable_thinking=True,
    enable_thinking_budget=True,
    max_new_tokens=3072,
    thinking_budget=1024,
)

response = model.text_tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
Downloads last month
17
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including ViFortune-AI/VOVis2.5-2B-pt

Paper for ViFortune-AI/VOVis2.5-2B-pt