DeDeckerThomas commited on
Commit
a40e3bd
1 Parent(s): eb8888e

Update README.md

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