Update README.md
Browse files
README.md
CHANGED
@@ -92,6 +92,8 @@ model = AutoModel.from_pretrained(
|
|
92 |
low_cpu_mem_usage=True,
|
93 |
use_flash_attn=False,
|
94 |
trust_remote_code=True).eval().cuda()
|
|
|
|
|
95 |
tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True, use_fast=False)
|
96 |
|
97 |
# set the max number of tiles in `max_num`
|
|
|
92 |
low_cpu_mem_usage=True,
|
93 |
use_flash_attn=False,
|
94 |
trust_remote_code=True).eval().cuda()
|
95 |
+
|
96 |
+
model.num_image_token = 150
|
97 |
tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True, use_fast=False)
|
98 |
|
99 |
# set the max number of tiles in `max_num`
|