Spaces:
Sleeping
Sleeping
Download src/evaluation/__init__.py from Venkat7123/redrob-ranker: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/Venkat7123/redrob-ranker/resolve/main/src/evaluation/__init__.py
- Command line
-
hf download hf://spaces/Venkat7123/redrob-ranker/src/evaluation/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Venkat7123/redrob-ranker/resolve/main/src/evaluation/__init__.py
342 Bytes
| from __future__ import annotations | |
| from src.evaluation.metrics import ( | |
| cross_lingual_mrr, | |
| latency_stats, | |
| mean_reciprocal_rank, | |
| ndcg_at_k, | |
| precision_at_k, | |
| recall_at_k, | |
| ) | |
| __all__ = [ | |
| "precision_at_k", | |
| "recall_at_k", | |
| "mean_reciprocal_rank", | |
| "ndcg_at_k", | |
| "cross_lingual_mrr", | |
| "latency_stats", | |
| ] | |