merve HF staff commited on
Commit
ef4abcf
1 Parent(s): e69afc2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -38,9 +38,9 @@ import torch
38
  from PIL import Image
39
  import requests
40
 
41
- processor = LlavaNextProcessor.from_pretrained("NousResearch/Nous-Hermes-2-Yi-34B")
42
 
43
- model = LlavaNextForConditionalGeneration.from_pretrained("NousResearch/Nous-Hermes-2-Yi-34B", torch_dtype=torch.float16, low_cpu_mem_usage=True)
44
  model.to("cuda:0")
45
 
46
  # prepare image and text prompt, using the appropriate prompt template
 
38
  from PIL import Image
39
  import requests
40
 
41
+ processor = LlavaNextProcessor.from_pretrained("llava-hf/llava-v1.6-34b-hf")
42
 
43
+ model = LlavaNextForConditionalGeneration.from_pretrained("llava-hf/llava-v1.6-34b-hf", torch_dtype=torch.float16, low_cpu_mem_usage=True)
44
  model.to("cuda:0")
45
 
46
  # prepare image and text prompt, using the appropriate prompt template