Spaces:
Running
Running
Download models/shared/__init__.py from anikethans06/capstone: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/spaces/anikethans06/capstone/resolve/main/models/shared/__init__.py
- Command line
-
hf download hf://spaces/anikethans06/capstone/models/shared/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/anikethans06/capstone/resolve/main/models/shared/__init__.py
546 Bytes
| """models/shared/__init__.py""" | |
| from models.shared.metrics import ( | |
| compute_metrics, | |
| add_timing, | |
| generate_classification_report, | |
| save_classification_report, | |
| save_metrics_json, | |
| load_metrics_json, | |
| save_confusion_matrix, | |
| save_all_evaluation_artifacts, | |
| LABEL_NAMES, | |
| ) | |
| __all__ = [ | |
| "compute_metrics", "add_timing", | |
| "generate_classification_report", "save_classification_report", | |
| "save_metrics_json", "load_metrics_json", | |
| "save_confusion_matrix", "save_all_evaluation_artifacts", | |
| "LABEL_NAMES", | |
| ] | |