Shaltiel commited on
Commit
fa2a7fa
·
1 Parent(s): c911bc5
Files changed (1) hide show
  1. main_backend_lighteval.py +1 -1
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