MiniCPM-V icon indicating copy to clipboard operation
MiniCPM-V copied to clipboard

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

Open moonmengmeng opened this issue 1 year ago • 0 comments

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.

moonmengmeng avatar Oct 18 '24 03:10 moonmengmeng