Model scores

Report a typo

The underlying pre-trained model has an effect on the computed BERTScore. The choice can depend on the domain (e.g., SciBERT for scientific papers or BioBERT for biomedical texts), the language, the model size, or the specific changes made to the BERT architecture.

You have the following reference-prediction pair:

reference = ["The capital of France is Paris."]
prediction = ["Paris is the capital of France."]

Compute the BERTScore with 3 pre-trained models (it might take a while):

  • bert-base-uncased
  • microsoft/deberta-xlarge-mnli
  • roberta-base

What is the difference between the maximum and the minimum F1 score, rounded up to the second decimal?

Enter a number

Create a free account to access the full topic