shilinxu commited on
Commit
1a3cfbf
·
verified ·
1 Parent(s): 5ba7fec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
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`