Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ You can load and use this model as follows.
|
|
21 |
|
22 |
from transformers import Idefics3ForConditionalGeneration, AutoProcessor
|
23 |
|
24 |
-
peft_model_id = "
|
25 |
base_model_id = "HuggingFaceM4/Idefics3-8B-Llama3"
|
26 |
processor = AutoProcessor.from_pretrained(base_model_id)
|
27 |
model = Idefics3ForConditionalGeneration.from_pretrained(base_model_id)
|
@@ -30,6 +30,7 @@ model.load_adapter(peft_model_id).to("cuda")
|
|
30 |
```
|
31 |
|
32 |
This model was conditioned on a prompt "Answer briefly.".
|
|
|
33 |
```python
|
34 |
from PIL import Image
|
35 |
import requests
|
|
|
21 |
|
22 |
from transformers import Idefics3ForConditionalGeneration, AutoProcessor
|
23 |
|
24 |
+
peft_model_id = "merve/idefics3llama-vqav2"
|
25 |
base_model_id = "HuggingFaceM4/Idefics3-8B-Llama3"
|
26 |
processor = AutoProcessor.from_pretrained(base_model_id)
|
27 |
model = Idefics3ForConditionalGeneration.from_pretrained(base_model_id)
|
|
|
30 |
```
|
31 |
|
32 |
This model was conditioned on a prompt "Answer briefly.".
|
33 |
+
|
34 |
```python
|
35 |
from PIL import Image
|
36 |
import requests
|