diff --git a/spacy/cli/find_threshold.py b/spacy/cli/find_threshold.py index df2e99017..bfb15f39a 100644 --- a/spacy/cli/find_threshold.py +++ b/spacy/cli/find_threshold.py @@ -207,7 +207,7 @@ def find_threshold( else: if not silent: print( - f"\nBest threshold: {round(best_threshold, ndigits=4)} with value of {scores[best_threshold]}." + f"\nBest threshold: {round(best_threshold, ndigits=4)} with {scores_key} value of {scores[best_threshold]}." ) return best_threshold, scores[best_threshold], scores