__init__.py 324 Bytes
Newer Older
1
2
3
import os

from lm_eval.api.task import register_yaml_task
&'s avatar
& committed
4

5
from .vanilla import *
&'s avatar
& committed
6

7
8
9
10
11
12
13
# we want to register all yaml tasks in our .yaml folder.
yaml_dir = os.path.dirname(os.path.abspath(__file__)) + "/" + "yaml"


for yaml in sorted(os.listdir(yaml_dir)):
    yaml = os.path.join(yaml_dir, yaml)
    register_yaml_task(yaml)