File size: 766 Bytes
08ae6c5
 
 
 
 
 
 
 
7798457
 
5f1bc85
fe84b5e
098b102
08ae6c5
 
 
 
098b102
08ae6c5
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 *
from src.custom_tasks.translation_task import *
from src.custom_tasks.snli_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, translation_task, snli_task]]

if __name__ == "__main__":
    print(t["name"] for t in TASKS_TABLE)
    print(len(TASKS_TABLE))