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 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.
This interface is in modeling of minicpm v2.6, and the function in trainer does not align with it.