DeDeckerThomas commited on
Commit
8f7bbd4
1 Parent(s): 8a837e5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -84,9 +84,9 @@ class KeyphraseExtractionPipeline(TokenClassificationPipeline):
84
  **kwargs
85
  )
86
 
87
- def postprocess(self, model_outputs):
88
  results = super().postprocess(
89
- model_outputs=model_outputs,
90
  aggregation_strategy=AggregationStrategy.SIMPLE,
91
  )
92
  return np.unique([result.get("word").strip() for result in results])
 
84
  **kwargs
85
  )
86
 
87
+ def postprocess(self, all_outputs):
88
  results = super().postprocess(
89
+ all_outputs=all_outputs,
90
  aggregation_strategy=AggregationStrategy.SIMPLE,
91
  )
92
  return np.unique([result.get("word").strip() for result in results])