Update README.md
Browse files
README.md
CHANGED
|
@@ -36,13 +36,13 @@ import torch
|
|
| 36 |
|
| 37 |
# Load model and preprocessor
|
| 38 |
model = AutoModel.from_pretrained(
|
| 39 |
-
"lmms-lab-encoder/onevision-encoder-large",
|
| 40 |
trust_remote_code=True,
|
| 41 |
attn_implementation="flash_attention_2"
|
| 42 |
).to("cuda").eval()
|
| 43 |
|
| 44 |
preprocessor = AutoImageProcessor.from_pretrained(
|
| 45 |
-
"lmms-lab-encoder/onevision-encoder-large",
|
| 46 |
trust_remote_code=True
|
| 47 |
)
|
| 48 |
|
|
|
|
| 36 |
|
| 37 |
# Load model and preprocessor
|
| 38 |
model = AutoModel.from_pretrained(
|
| 39 |
+
"lmms-lab-encoder/onevision-encoder-large-lang",
|
| 40 |
trust_remote_code=True,
|
| 41 |
attn_implementation="flash_attention_2"
|
| 42 |
).to("cuda").eval()
|
| 43 |
|
| 44 |
preprocessor = AutoImageProcessor.from_pretrained(
|
| 45 |
+
"lmms-lab-encoder/onevision-encoder-large-lang",
|
| 46 |
trust_remote_code=True
|
| 47 |
)
|
| 48 |
|