Spaces:
Paused
Paused
File size: 648 Bytes
08ae6c5 7798457 5f1bc85 08ae6c5 5f1bc85 08ae6c5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# ruff: noqa: F405, F403, F401
"""
Custom evaluation tasks for lighteval. Copy this file and complete it with the info for your task.
This file generally create just a TASKS_TABLE and TASKS_GROUPS which are then imported by LightEval.
Author:
"""
from src.custom_tasks.heq_task import *
from src.custom_tasks.sentiment_task import *
from src.custom_tasks.winograd_task import *
## MODULE LOGIC
# You should not need to touch this
# Convert to dict for lighteval
TASKS_TABLE = [task.as_dict() for task in [heq_task, sentiment_task, winograd_task]]
if __name__ == "__main__":
print(t["name"] for t in TASKS_TABLE)
print(len(TASKS_TABLE))
|