OpenGVLab__InternVL2_5-4B__gptq_int4

This is a GPTQ (4-bit) quantized version of OpenGVLab/InternVL2_5-4B.

Quantization Details

  • Method: GPTQ
  • Bits: 4
  • Base model: OpenGVLab/InternVL2_5-4B
  • Group size: 128
  • Quantized portion: LLM backbone only
  • Vision tower: FP16 (unchanged)
  • Loading: AutoModelForImageTextToText / AutoModelForCausalLM (trust_remote_code where applicable)

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 OpenGVLab/InternVL2_5-4B for the original FP16 model.

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

Model tree for Azaz666/InternVL2_5-4B-GPTQ-INT4

Quantized
(7)
this model

Collection including Azaz666/InternVL2_5-4B-GPTQ-INT4