Transformers4Rec
Transformers4Rec copied to clipboard
Improve performance of ranking metrics calculation
- The current implementation of ranking metrics computes the top k scores within each metric class using the method extract_topk which is computationally expensive.
- A possible solution is to Include the extraction of the top-k scores within the
NextItemPredictionTaskclass and provide the ranked scores to the ranking metrics.
@sararb I would like to take this issue. Is that ok?