Update modeling_minicpmv.py

#45

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
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment