DeDeckerThomas
commited on
Commit
•
9bac7f7
1
Parent(s):
a2a1881
Update README.md
Browse files
README.md
CHANGED
@@ -86,9 +86,9 @@ class KeyphraseExtractionPipeline(TokenClassificationPipeline):
|
|
86 |
**kwargs
|
87 |
)
|
88 |
|
89 |
-
def postprocess(self,
|
90 |
results = super().postprocess(
|
91 |
-
|
92 |
aggregation_strategy=AggregationStrategy.FIRST,
|
93 |
)
|
94 |
return np.unique([result.get("word").strip() for result in results])
|
|
|
86 |
**kwargs
|
87 |
)
|
88 |
|
89 |
+
def postprocess(self, all_outputs):
|
90 |
results = super().postprocess(
|
91 |
+
all_outputs=all_outputs,
|
92 |
aggregation_strategy=AggregationStrategy.FIRST,
|
93 |
)
|
94 |
return np.unique([result.get("word").strip() for result in results])
|