Upload folder using huggingface_hub
Browse files
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()
|