Update README.md
This commit is contained in:
parent
fbc1877414
commit
a7b7410ee6
|
@ -67,7 +67,7 @@ Sahrawat, Dhruva, Debanjan Mahata, Haimin Zhang, Mayank Kulkarni, Agniv Sharma,
|
||||||
* Only works for English documents.
|
* Only works for English documents.
|
||||||
* For a custom model, please consult the [training notebook]() for more information.
|
* For a custom model, please consult the [training notebook]() for more information.
|
||||||
|
|
||||||
### ❓ How to use
|
### ❓ How To Use
|
||||||
```python
|
```python
|
||||||
from transformers import (
|
from transformers import (
|
||||||
TokenClassificationPipeline,
|
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.
|
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:
|
The model achieves the following results on the Inspec test set:
|
||||||
|
|
Loading…
Reference in New Issue