From a7b7410ee66fdc6dc8737f55b317a0a41a3f5955 Mon Sep 17 00:00:00 2001 From: Thomas De Decker Date: Thu, 16 Jun 2022 13:49:22 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d71f991..d5f7493 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Sahrawat, Dhruva, Debanjan Mahata, Haimin Zhang, Mayank Kulkarni, Agniv Sharma, * Only works for English documents. * For a custom model, please consult the [training notebook]() for more information. -### ❓ How to use +### ❓ How To Use ```python from transformers import ( TokenClassificationPipeline, @@ -247,7 +247,7 @@ def extract_keyphrases(example, predictions, tokenizer, index=0): ``` -## 📝 Evaluation results +## 📝 Evaluation Results Traditional evaluation methods are the precision, recall and F1-score @k,m where k is the number that stands for the first k predicted keyphrases and m for the average amount of predicted keyphrases. The model achieves the following results on the Inspec test set: