NLP#
A collection of different metrics for NLP models.
|
Computes the BLEU score for sequence generation. |
|
Computes perplexity for sequence generation. |
|
Computes macro-averaged ROUGE-L recall, precision, and F1-score. |
|
Computes macro-averaged ROUGE-N recall, precision, and F1-score. |
|
Computes Word Error Rate (WER) for speech recognition or text generation tasks. |