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

Sign up or log in to comment