Run prediction and returns predictions and potential metrics. Depending on the dataset and your use case, your test dataset may contain labels. In that case, this method will also return metrics, like in evaluate().
[!NOTE] 🤗 Trainer 的
predict()
方法的功能为?flashcard
执行 test