Sogand Salehi commited on
Update README.md
Browse files
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 |
-
|
| 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.
|