minigpt-4
https://github.com/vision-cair/minigpt-4
Python
Open-sourced codes for MiniGPT-4 and MiniGPT-v2 (https://minigpt-4.github.io, https://minigpt-v2.github.io/)
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to minigpt-4
Help out
- Issues
- Can MiniGPT-4 be used commercially?
- demo is broken not working
- OOM
- Llama 2 Integration
- RuntimeError: shape '[-1, 86]' is invalid for input of size 87
- Verify the accuracy of generated text.
- Ok, I fixed this. So, apparently, you have to use an absolute path to your the vicuna checkpoint (starting with "/"), otherwise it gets interpreted as a hosted huggingface model.
- What about with v1.5 - LLAMA2 13B OR 13B-16k ?
- MiniGPT-4/minigpt4/models/modeling_llama.py", line 517, in forward position_ids = position_ids.view(-1, seq_length).long() RuntimeError: shape '[-1, 87]' is invalid for input of size 88
- GPU memory cleanup
- Docs
- Python not yet supported