File size: 582 Bytes
8717d0d
 
bd54dfb
 
 
 
 
8717d0d
bd54dfb
b756a48
bd54dfb
 
b756a48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
library_name: transformers
datasets:
- HuggingFaceM4/VQAv2
language:
- en
pipeline_tag: image-text-to-text
---

## Base model : 
- google/paligemma-3b-pt-224

## Dataset : 
- HuggingFaceM4/VQAv2


## Getting started : 

```python
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM

config = PeftConfig.from_pretrained("ayoubkirouane/PaliGemma-VQAv2-Lora-finetuned")
base_model = AutoModelForCausalLM.from_pretrained("google/paligemma-3b-pt-224")
model = PeftModel.from_pretrained(base_model, "ayoubkirouane/PaliGemma-VQAv2-Lora-finetuned")

```