merve HF staff commited on
Commit
dc08186
·
verified ·
1 Parent(s): 9fd9218

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
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 = "idefics3-llama-vqav2/checkpoint-535"
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