Open zhangchunjie1999 opened 6 months ago
same problem
I found a solution.
In tasks/eval/model_util.py,
remove
` # try:
# except Exception as e:
# processor = PllavaProcessor.from_pretrained('llava-hf/llava-1.5-7b-hf')`
and add:
processor = PllavaProcessor.from_pretrained(repo_id)
then:
Install the required packages
Its image_token_index problem, looks like new LlamaTokenizer image_token_index = 64000 where as pllava config image_token_index = 64002, change it to 64000.
I solved the problem, downgrad the tokenizers version
收到邮件了~ 祝安!
same problem
收到邮件了~ 祝安!
This problem occurred when I was running a demo of the 34b model. How can I fix this ?
![Uploading 截屏2024-05-11 11.17.01.png…]()