AIDC-AI__Ovis2-2B__awq_w4

This is a AWQ (4-bit) quantized version of AIDC-AI/Ovis2-2B.

Quantization Details

  • Method: AWQ
  • Bits: 4
  • Base model: AIDC-AI/Ovis2-2B
  • Group size: 128

Usage

from transformers import AutoProcessor, AutoModelForImageTextToText
import torch

model = AutoModelForImageTextToText.from_pretrained(
    "{REPO_ID}",
    torch_dtype=torch.float16,
    device_map="auto",
    trust_remote_code=True,
)
processor = AutoProcessor.from_pretrained("{REPO_ID}", trust_remote_code=True)

Replace {REPO_ID} with the repo ID of this model.

Original Model

See AIDC-AI/Ovis2-2B for the original FP16 model.

Downloads last month
19
Safetensors
Model size
2B params
Tensor type
I32
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Azaz666/Ovis2-2B-AWQ-INT4

Base model

AIDC-AI/Ovis2-2B
Quantized
(2)
this model

Collection including Azaz666/Ovis2-2B-AWQ-INT4