czczup commited on
Commit
71fc9f4
1 Parent(s): 4177355

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -202,6 +202,7 @@ model = AutoModel.from_pretrained(
202
  low_cpu_mem_usage=True,
203
  trust_remote_code=True,
204
  device_map=device_map).eval()
 
205
  tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True)
206
  # set the max number of tiles in `max_num`
207
  pixel_values = load_image('./examples/image1.jpg', max_num=6).to(torch.bfloat16).cuda()
 
202
  low_cpu_mem_usage=True,
203
  trust_remote_code=True,
204
  device_map=device_map).eval()
205
+
206
  tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True)
207
  # set the max number of tiles in `max_num`
208
  pixel_values = load_image('./examples/image1.jpg', max_num=6).to(torch.bfloat16).cuda()