Spaces:
Runtime error
Runtime error
changing the default model (linked on space too)
Browse files- ShaderEval.py +1 -1
ShaderEval.py
CHANGED
|
@@ -212,7 +212,7 @@ class Suite(evaluate.EvaluationSuite):
|
|
| 212 |
|
| 213 |
# from: https://github.com/huggingface/evaluate/blob/v0.4.0/src/evaluate/evaluation_suite/__init__.py#LL103C5-L129C27
|
| 214 |
def run(
|
| 215 |
-
self, model_or_pipeline: Union[str, "Pipeline", Callable, "PreTrainedModel", "TFPreTrainedModel"] = "Vipitis/
|
| 216 |
snippet: int = "" # noqa: F821
|
| 217 |
) -> Dict[str, float]:
|
| 218 |
|
|
|
|
| 212 |
|
| 213 |
# from: https://github.com/huggingface/evaluate/blob/v0.4.0/src/evaluate/evaluation_suite/__init__.py#LL103C5-L129C27
|
| 214 |
def run(
|
| 215 |
+
self, model_or_pipeline: Union[str, "Pipeline", Callable, "PreTrainedModel", "TFPreTrainedModel"] = "Vipitis/santacoder-finetuned-Shadertoys-fine", #not so useful default model?
|
| 216 |
snippet: int = "" # noqa: F821
|
| 217 |
) -> Dict[str, float]:
|
| 218 |
|