Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ widget:
|
|
| 20 |
pipeline_tag: token-classification
|
| 21 |
inference:
|
| 22 |
parameters:
|
| 23 |
-
|
| 24 |
base_model: numind/NuNER-v1.0
|
| 25 |
model-index:
|
| 26 |
- name: numind/NuNER-v1.0 fine-tuned on FewNERD-fine-supervised
|
|
@@ -135,7 +135,7 @@ The model was fine-tuned as a regular BERT-based model for NER task using Huggin
|
|
| 135 |
>>> classifier = pipeline(
|
| 136 |
"ner",
|
| 137 |
model="guishe/nuner-v1_fewnerd_fine_super",
|
| 138 |
-
|
| 139 |
)
|
| 140 |
>>> classifier(text)
|
| 141 |
|
|
|
|
| 20 |
pipeline_tag: token-classification
|
| 21 |
inference:
|
| 22 |
parameters:
|
| 23 |
+
aggregation_strategy: "simple"
|
| 24 |
base_model: numind/NuNER-v1.0
|
| 25 |
model-index:
|
| 26 |
- name: numind/NuNER-v1.0 fine-tuned on FewNERD-fine-supervised
|
|
|
|
| 135 |
>>> classifier = pipeline(
|
| 136 |
"ner",
|
| 137 |
model="guishe/nuner-v1_fewnerd_fine_super",
|
| 138 |
+
aggregation_strategy="simple",
|
| 139 |
)
|
| 140 |
>>> classifier(text)
|
| 141 |
|