nielsr HF staff commited on
Commit
51405cf
1 Parent(s): f496aeb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -38,7 +38,8 @@ import torch
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")
 
38
  from PIL import Image
39
  import requests
40
 
41
+ # TODO support fast tokenizer here
42
+ processor = LlavaNextProcessor.from_pretrained("llava-hf/llava-v1.6-34b-hf", use_fast=False)
43
 
44
  model = LlavaNextForConditionalGeneration.from_pretrained("llava-hf/llava-v1.6-34b-hf", torch_dtype=torch.float16, low_cpu_mem_usage=True)
45
  model.to("cuda:0")