DeDeckerThomas commited on
Commit
9bac7f7
1 Parent(s): a2a1881

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -86,9 +86,9 @@ class KeyphraseExtractionPipeline(TokenClassificationPipeline):
86
  **kwargs
87
  )
88
 
89
- def postprocess(self, model_outputs):
90
  results = super().postprocess(
91
- model_outputs=model_outputs,
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])