We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a6f68e commit de84c11Copy full SHA for de84c11
1 file changed
src/unitxt/metrics.py
@@ -28,7 +28,6 @@
28
Union,
29
)
30
31
-import evaluate
32
import numpy
33
import numpy as np
34
import pandas as pd
@@ -82,6 +81,8 @@
82
81
83
@retry_connection_with_exponential_backoff(backoff_factor=2)
84
def hf_evaluate_load(path: str, *args, **kwargs):
+ import evaluate
85
+
86
if settings.hf_offline_metrics_path is not None:
87
path = os.path.join(settings.hf_offline_metrics_path, path)
88
return evaluate.load(
0 commit comments