Skip to content

Commit 6f30384

Browse files
Fix Metrics import path in community task template file. (#309)
* Fix Metrics import path in community task template file. --------- Co-authored-by: Clémentine Fourrier <[email protected]>
1 parent ee813b1 commit 6f30384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

community_tasks/_template.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
"""
2525
Custom evaluation tasks for lighteval. Copy this file and complete it with the info for your task.
2626
27-
This file generally create just a TASKS_TABLE and TASKS_GROUPS which are then imported by LightEval.
27+
This file generally creates just a TASKS_TABLE and TASKS_GROUPS which are then imported by LightEval.
2828
2929
Author:
3030
"""
31+
3132
import numpy as np
3233
from aenum import extend_enum
3334

34-
from lighteval.metrics import Metrics
35-
from lighteval.metrics.metrics import SampleLevelMetric
35+
from lighteval.metrics.metrics import Metrics, SampleLevelMetric
3636
from lighteval.metrics.utils.metric_utils import MetricCategory, MetricUseCase
3737
from lighteval.tasks.default_prompts import LETTER_INDICES
3838
from lighteval.tasks.lighteval_task import LightevalTaskConfig

0 commit comments

Comments
 (0)