Image-Text-to-Text
PEFT
Safetensors
Sogand Salehi commited on
Commit
8fddf3d
·
verified ·
1 Parent(s): 156100b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -28,7 +28,7 @@ from transformers import AutoProcessor, BitsAndBytesConfig, AutoModelForVision2S
28
  from peft import PeftModel
29
 
30
  model = AutoModelForVision2Seq.from_pretrained("HuggingFaceM4/idefics2-8b").to(device)
31
- model = PeftModel.from_pretrained(model, "EPFL-VILAB/Metric-ViPer").to(device)
32
  ```
33
 
34
  Please see https://github.com/EPFL-VILAB/ViPer for more detailed instructions.
 
28
  from peft import PeftModel
29
 
30
  model = AutoModelForVision2Seq.from_pretrained("HuggingFaceM4/idefics2-8b").to(device)
31
+ model = PeftModel.from_pretrained(model, "EPFL-VILAB/Metric-ViPer").to(device)
32
  ```
33
 
34
  Please see https://github.com/EPFL-VILAB/ViPer for more detailed instructions.