[Feature] Support for decoding method that reduce Hallucinations
- Dominant language
- Python
- Stars
- 8.1k
- Forks
- 748
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 54
Description
### Motivation
Recently,there are many good paper that try to alleviating hallucinations for large vision-language models **during the decode process**,like:
OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation (CVPR 2024 Highlight)(code:https://github.com/shikiw/OPERA)
Paying More Attention to Image: A Training-Free Method for Alleviating Hallucination in LVLMs (ECCV 2024)(code:https://github.com/LALBJ/PAI)
Self-Introspective Decoding: Alleviating Hallucinations for Large Vision-Language Models (code:https://github.com/huofushuo/SID)
All these method and code were implemented during inference process.
Is it possible to integrate one or more these method into InternVL2.0 series model decode in lmdeploy?
Thank you!
### Related resources
OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation (CVPR 2024 Highlight)(code:https://github.com/shikiw/OPERA)
Paying More Attention to Image: A Training-Free Method for Alleviating Hallucination in LVLMs (ECCV 2024)(code:https://github.com/LALBJ/PAI)
Self-Introspective Decoding: Alleviating Hallucinations for Large Vision-Language Models (code:https://github.com/huofushuo/SID)
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.