Why Trainer.predict return numpy array not torch Tensor?
I have found thatTrainer.predictreturns a prediction using NumPy arrays as output.However, I believe they likely make use of Torch tensors internally during training and evaluation.Do you have any insights into why the return value is of type NumPy instead of Torch tensors?Any help would be appreciated!huggingface.coTrainerWe’re on a journey to advance and democratize artificial intelligence through open source and open science.