Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Trainer interface error when eval minicpm-v-2.6 #642

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

moonmengmeng
Copy link

The interface to minicpm v2.6 is data, **inputs can't reasonably get data, when the model.eval mode is turned on, there will be a problem of not finding the input data, after experimenting to pass the data in like the training process above.

def forward(self, data, **kwargs):

This interface is in modeling of minicpm v2.6, and the function in trainer does not align with it.

The interface to minicpm 2.6 is data, **inputs can't reasonably get data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant