Update README.md
Browse files
README.md
CHANGED
@@ -115,7 +115,7 @@ import torch
|
|
115 |
from PIL import Image
|
116 |
from transformers import AutoModel, AutoTokenizer
|
117 |
|
118 |
-
model = AutoModel.from_pretrained('openbmb/MiniCPM-V
|
119 |
tokenizer = AutoTokenizer.from_pretrained('openbmb/MiniCPM-V', trust_remote_code=True)
|
120 |
model.eval().cuda()
|
121 |
|
|
|
115 |
from PIL import Image
|
116 |
from transformers import AutoModel, AutoTokenizer
|
117 |
|
118 |
+
model = AutoModel.from_pretrained('openbmb/MiniCPM-V', trust_remote_code=True)
|
119 |
tokenizer = AutoTokenizer.from_pretrained('openbmb/MiniCPM-V', trust_remote_code=True)
|
120 |
model.eval().cuda()
|
121 |
|