merve / paligemma_vqav2

huggingface.co
Total runs: 8
24-hour runs: 0
7-day runs: -12
30-day runs: -22
Model's Last Updated: December 18 2024
image-text-to-text

Introduction of paligemma_vqav2

Model Details of paligemma_vqav2

paligemma_vqav2

This model is a fine-tuned version of google/paligemma-3b-pt-224 on a small chunk of vq_av2 dataset. Fine-tuning code is here .

How to Use

Below is the code to use this model. Also see inference notebook .

from transformers import AutoProcessor, PaliGemmaForConditionalGeneration
from PIL import Image
import requests

model_id = "merve/paligemma_vqav2"
model = PaliGemmaForConditionalGeneration.from_pretrained(model_id)
processor = AutoProcessor.from_pretrained("google/paligemma-3b-pt-224")

prompt = "What is behind the cat?"
image_file = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cat.png?download=true"
raw_image = Image.open(requests.get(image_file, stream=True).raw)

inputs = processor(prompt, raw_image.convert("RGB"), return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=20)

print(processor.decode(output[0], skip_special_tokens=True)[len(prompt):])
# gramophone
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 4
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 2
  • num_epochs: 2
Training results
Framework versions
  • Transformers 4.42.0.dev0
  • Pytorch 2.3.0+cu121
  • Datasets 2.19.1
  • Tokenizers 0.19.1

Runs of merve paligemma_vqav2 on huggingface.co

8
Total runs
0
24-hour runs
-1
3-day runs
-12
7-day runs
-22
30-day runs

More Information About paligemma_vqav2 huggingface.co Model

More paligemma_vqav2 license Visit here:

https://choosealicense.com/licenses/gemma

paligemma_vqav2 huggingface.co

paligemma_vqav2 huggingface.co is an AI model on huggingface.co that provides paligemma_vqav2's model effect (), which can be used instantly with this merve paligemma_vqav2 model. huggingface.co supports a free trial of the paligemma_vqav2 model, and also provides paid use of the paligemma_vqav2. Support call paligemma_vqav2 model through api, including Node.js, Python, http.

paligemma_vqav2 huggingface.co Url

https://huggingface.co/merve/paligemma_vqav2

merve paligemma_vqav2 online free

paligemma_vqav2 huggingface.co is an online trial and call api platform, which integrates paligemma_vqav2's modeling effects, including api services, and provides a free online trial of paligemma_vqav2, you can try paligemma_vqav2 online for free by clicking the link below.

merve paligemma_vqav2 online free url in huggingface.co:

https://huggingface.co/merve/paligemma_vqav2

paligemma_vqav2 install

paligemma_vqav2 is an open source model from GitHub that offers a free installation service, and any user can find paligemma_vqav2 on GitHub to install. At the same time, huggingface.co provides the effect of paligemma_vqav2 install, users can directly use paligemma_vqav2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

paligemma_vqav2 install url in huggingface.co:

https://huggingface.co/merve/paligemma_vqav2

Url of paligemma_vqav2

paligemma_vqav2 huggingface.co Url

Provider of paligemma_vqav2 huggingface.co

merve
ORGANIZATIONS

Other API from merve

huggingface.co

Total runs: 38
Run Growth: 6
Growth Rate: 15.79%
Updated:February 26 2024
huggingface.co

Total runs: 34
Run Growth: -24
Growth Rate: -70.59%
Updated:January 06 2024
huggingface.co

Total runs: 21
Run Growth: -192
Growth Rate: -960.00%
Updated:October 12 2023
huggingface.co

Total runs: 15
Run Growth: 9
Growth Rate: 60.00%
Updated:September 19 2025
huggingface.co

Total runs: 14
Run Growth: 7
Growth Rate: 50.00%
Updated:July 18 2024
huggingface.co

Total runs: 14
Run Growth: 8
Growth Rate: 57.14%
Updated:February 22 2024
huggingface.co

Total runs: 13
Run Growth: -16
Growth Rate: -123.08%
Updated:January 28 2026
huggingface.co

Total runs: 11
Run Growth: -2
Growth Rate: -18.18%
Updated:September 11 2025
huggingface.co

Total runs: 10
Run Growth: 9
Growth Rate: 90.00%
Updated:November 25 2023
huggingface.co

Total runs: 10
Run Growth: 5
Growth Rate: 50.00%
Updated:January 28 2023
huggingface.co

Total runs: 9
Run Growth: 6
Growth Rate: 66.67%
Updated:February 10 2023
huggingface.co

Total runs: 8
Run Growth: 4
Growth Rate: 50.00%
Updated:July 11 2023
huggingface.co

Total runs: 7
Run Growth: 4
Growth Rate: 57.14%
Updated:March 26 2024
huggingface.co

Total runs: 6
Run Growth: 2
Growth Rate: 33.33%
Updated:March 26 2024
huggingface.co

Total runs: 5
Run Growth: 3
Growth Rate: 60.00%
Updated:April 02 2023
huggingface.co

Total runs: 5
Run Growth: -6
Growth Rate: -100.00%
Updated:October 04 2023
huggingface.co

Total runs: 5
Run Growth: 3
Growth Rate: 60.00%
Updated:April 02 2023
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:June 14 2023
huggingface.co

Total runs: 1
Run Growth: 1
Growth Rate: 100.00%
Updated:December 20 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 25 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 22 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 30 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 30 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 04 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 22 2024