Run this model with HF Jobs

Run ovis-community/Ovis2.5-2B 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/ovis-community/Ovis2.5-2B. 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/ovis-community/Ovis2.5-2B 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/ovis-community/Ovis2.5-2B. 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/ovis-community/Ovis2.5-2B. 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

This is the community-maintained Transformers version of ATH-MaaS/Ovis2.5-2B. It provides native Ovis2.5 configuration, tokenizer, image processor, and video processor metadata so the standard Transformers Auto classes can load the model without trust_remote_code=True.

The model weights are copied unchanged from source revision 393c932b2a03e28eb9aaa503e3c4ab3ad384d958. Transformers applies the registered Ovis2.5 weight-name mapping while loading them.

Native support is being added in huggingface/transformers#47659. Until that support is available in a Transformers release, use a checkout that contains the PR.

from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "ovis-community/Ovis2.5-2B"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
    model_id,
    device_map="auto",
)

Provenance

  • Original checkpoint: ATH-MaaS/Ovis2.5-2B
  • Original revision: 393c932b2a03e28eb9aaa503e3c4ab3ad384d958
  • Weight shards, weight index, BPE vocabulary, LICENSE, and NOTICE are copied unchanged from that revision.
  • Native config, processor, and tokenizer metadata are regenerated for the Transformers Ovis2.5 implementation.

Please refer to the original model card for model details, intended use, limitations, and attribution.

Downloads last month
653
Safetensors
Model size
3B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ovis-community/Ovis2.5-2B

Finetuned
(4)
this model