DeDeckerThomas commited on
Commit
ab6c566
1 Parent(s): a83aa55

Update README.md

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