xiangan commited on
Commit
f9f51fe
·
verified ·
1 Parent(s): bd417f2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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