How to calculate BLUE score, precision, recall, calibration, confusion matrix for transformer?

how to calculate BLUE score, precision, recall, calibration, confusion matrix for transformer example presented in (Neural machine translation with a Transformer and Keras)( Modelo de transformador para compreensão da linguagem  |  Text  |  TensorFlow )

Hi @Nada_Nasef ,

You can use libraries like NLTK or sacrebleu for BLEU score, scikit-learn for precision and recall, and custom implementations or specialized libraries for calibration and confusion matrix.

Thank You