Spaces:
Running
Running
Update apps_metric.py
Browse files- apps_metric.py +1 -1
apps_metric.py
CHANGED
|
@@ -75,7 +75,7 @@ class apps_metric(evaluate.EvaluationModule):
|
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
-
def _compute(self, generations, k_list=[1, 10, 100], count_errors=True, level=["
|
| 79 |
"""Returns the scores"""
|
| 80 |
metrics = compute_metrics(generations, k_list=k_list, count_errors=count_errors, level=level)
|
| 81 |
return metrics
|
|
|
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
+
def _compute(self, generations, k_list=[1, 10, 100], count_errors=True, level=["introductory"]):
|
| 79 |
"""Returns the scores"""
|
| 80 |
metrics = compute_metrics(generations, k_list=k_list, count_errors=count_errors, level=level)
|
| 81 |
return metrics
|