DeDeckerThomas
commited on
Commit
β’
a7b7410
1
Parent(s):
fbc1877
Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,7 @@ Sahrawat, Dhruva, Debanjan Mahata, Haimin Zhang, Mayank Kulkarni, Agniv Sharma,
|
|
67 |
* Only works for English documents.
|
68 |
* For a custom model, please consult the [training notebook]() for more information.
|
69 |
|
70 |
-
### β How
|
71 |
```python
|
72 |
from transformers import (
|
73 |
TokenClassificationPipeline,
|
@@ -247,7 +247,7 @@ def extract_keyphrases(example, predictions, tokenizer, index=0):
|
|
247 |
|
248 |
```
|
249 |
|
250 |
-
## π Evaluation
|
251 |
|
252 |
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.
|
253 |
The model achieves the following results on the Inspec test set:
|
|
|
67 |
* Only works for English documents.
|
68 |
* For a custom model, please consult the [training notebook]() for more information.
|
69 |
|
70 |
+
### β How To Use
|
71 |
```python
|
72 |
from transformers import (
|
73 |
TokenClassificationPipeline,
|
|
|
247 |
|
248 |
```
|
249 |
|
250 |
+
## π Evaluation Results
|
251 |
|
252 |
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.
|
253 |
The model achieves the following results on the Inspec test set:
|