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

Could you provide the 'model.generate_output' function? #28

Closed huofushuo closed 3 months ago

huofushuo commented 3 months ago

Thanks for sharing the nice work! It seems that there is no 'generate_output' for visulization? Could you provide the source code?

Many thanks!

shikiw commented 3 months ago

Hi,

Thanks for your interest! I have discarded generate_output and updated the codebase just now. You can try the new vis.ipynb for visualization.

huofushuo commented 3 months ago

Thanks for the reply! Best!