After debugging step by step, I found that

If I remove the compute_metrics=compute_metrics in Trainer, the evaluation went well.
Even if I use a quite simple compute_metrics, the evaluation became slow and stopped eventually (without finishing progress) .def compute_metrics(eval_pred): 
      return {'f1': 1}



Please give me some helps. Thanks a lot!!!