transformer_rankers.eval.results_analyses_tools

Functions

evaluate(preds, labels)

evaluate_and_aggregate(preds, labels, metrics)

Calculate evaluation metrics for a pair of preds and labels.