Spaces:
Paused
Paused
Fix patch
Browse files
main_backend_lighteval.py
CHANGED
@@ -14,7 +14,7 @@ lighteval.models.endpoint_model.InferenceEndpointModel = GoodInferenceEndpointMo
|
|
14 |
orig_init = lighteval.models.endpoint_model.InferenceEndpointModelConfig.__init__
|
15 |
def patched_init(self, *args, **kwargs):
|
16 |
orig_init(self, *args, **kwargs)
|
17 |
-
self.name = self.name.replace('.', '
|
18 |
lighteval.models.endpoint_model.InferenceEndpointModelConfig.__init__ = patched_init
|
19 |
|
20 |
from src.backend.run_eval_suite_lighteval import run_evaluation
|
|
|
14 |
orig_init = lighteval.models.endpoint_model.InferenceEndpointModelConfig.__init__
|
15 |
def patched_init(self, *args, **kwargs):
|
16 |
orig_init(self, *args, **kwargs)
|
17 |
+
self.name = self.name.replace('.', '-')
|
18 |
lighteval.models.endpoint_model.InferenceEndpointModelConfig.__init__ = patched_init
|
19 |
|
20 |
from src.backend.run_eval_suite_lighteval import run_evaluation
|