Update README.md
Browse files
README.md
CHANGED
@@ -14,6 +14,10 @@ metrics:
|
|
14 |
- recall: 0.880
|
15 |
- f1: 0.877
|
16 |
- accuracy: 0.943
|
|
|
|
|
|
|
|
|
17 |
---
|
18 |
|
19 |
# gunghio/xlm-roberta-base-finetuned-panx-ner
|
@@ -52,6 +56,8 @@ Details:
|
|
52 |
|
53 |
## Usage
|
54 |
|
|
|
|
|
55 |
```python
|
56 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
57 |
from transformers import pipeline
|
|
|
14 |
- recall: 0.880
|
15 |
- f1: 0.877
|
16 |
- accuracy: 0.943
|
17 |
+
inference:
|
18 |
+
parameters:
|
19 |
+
aggregation_strategy: "first"
|
20 |
+
|
21 |
---
|
22 |
|
23 |
# gunghio/xlm-roberta-base-finetuned-panx-ner
|
|
|
56 |
|
57 |
## Usage
|
58 |
|
59 |
+
Set aggregation stragey according to [documentation](https://huggingface.co/docs/transformers/v4.18.0/en/main_classes/pipelines#transformers.TokenClassificationPipeline).
|
60 |
+
|
61 |
```python
|
62 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
63 |
from transformers import pipeline
|