shikiw / OPERA

[CVPR 2024 Highlight] OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation
MIT License
244 stars 22 forks source link

'MiniGPT4' object has no attribute 'embed_tokens' #4

Closed isruihu closed 8 months ago

isruihu commented 8 months ago

Thanks for the nice work!

I have a problem when runing demo.ipynb: 'MiniGPT4' object has no attribute 'embed_tokens'., when generate the output using minigpt4. How can I solve it?