google__gemma-3-4b-it__gptq_int4

This is a GPTQ (4-bit) quantized version of google/gemma-3-4b-it.

Quantization Details

  • Method: GPTQ
  • Bits: 4
  • Base model: google/gemma-3-4b-it
  • 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 google/gemma-3-4b-it for the original FP16 model.

Downloads last month
41
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/gemma-3-4b-it-GPTQ-INT4

Quantized
(221)
this model

Collection including Azaz666/gemma-3-4b-it-GPTQ-INT4