czczup commited on
Commit
05d2f27
·
verified ·
1 Parent(s): 8376215

Upload folder using huggingface_hub

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