Update modeling_minicpmv.py
#45
by
BUAADreamer
- opened
add _generate func to support inference of LLaMAFactory
Otherwise dir(model) appears as two generate functions when model.generate is called, and thus inference fails
yuzaa
changed pull request status to
merged