Spaces:
Running
Running
Update src/__init__.py
Browse files- src/__init__.py +43 -1
src/__init__.py
CHANGED
@@ -2,6 +2,48 @@
|
|
2 |
"""
|
3 |
SALT Translation Leaderboard
|
4 |
Sunbird AI - 2025
|
|
|
|
|
5 |
"""
|
6 |
|
7 |
-
__version__ = "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"""
|
3 |
SALT Translation Leaderboard
|
4 |
Sunbird AI - 2025
|
5 |
+
|
6 |
+
A rigorous evaluation framework for translation models on Ugandan languages.
|
7 |
"""
|
8 |
|
9 |
+
__version__ = "2.0.0"
|
10 |
+
__author__ = "Sunbird AI"
|
11 |
+
__email__ = "[email protected]"
|
12 |
+
__description__ = "SALT Translation Leaderboard - Rigorous evaluation of translation models on Ugandan languages"
|
13 |
+
|
14 |
+
# Package imports for easier access
|
15 |
+
from .evaluation import evaluate_predictions, generate_evaluation_report
|
16 |
+
from .leaderboard import load_leaderboard, add_model_to_leaderboard, get_track_leaderboard
|
17 |
+
from .plotting import create_leaderboard_plot, create_language_pair_heatmap, create_performance_comparison_plot
|
18 |
+
from .test_set import get_public_test_set, get_complete_test_set, create_test_set_download
|
19 |
+
from .utils import sanitize_model_name, get_all_language_pairs, format_language_pair
|
20 |
+
from .validation import validate_submission
|
21 |
+
|
22 |
+
__all__ = [
|
23 |
+
# Evaluation
|
24 |
+
"evaluate_predictions",
|
25 |
+
"generate_evaluation_report",
|
26 |
+
|
27 |
+
# Leaderboard
|
28 |
+
"load_leaderboard",
|
29 |
+
"add_model_to_leaderboard",
|
30 |
+
"get_track_leaderboard",
|
31 |
+
|
32 |
+
# Plotting
|
33 |
+
"create_leaderboard_plot",
|
34 |
+
"create_language_pair_heatmap",
|
35 |
+
"create_performance_comparison_plot",
|
36 |
+
|
37 |
+
# Test set
|
38 |
+
"get_public_test_set",
|
39 |
+
"get_complete_test_set",
|
40 |
+
"create_test_set_download",
|
41 |
+
|
42 |
+
# Utils
|
43 |
+
"sanitize_model_name",
|
44 |
+
"get_all_language_pairs",
|
45 |
+
"format_language_pair",
|
46 |
+
|
47 |
+
# Validation
|
48 |
+
"validate_submission",
|
49 |
+
]
|