Commit f4b1eb0f authored by lintangsutawika's avatar lintangsutawika
Browse files

reformat

parent d97e7155
......@@ -4,10 +4,13 @@ import datasets
from importlib import import_module
def main() -> None:
dataset_path = "persona"
dataset_full_path = inspect.getfile(import_module(f"lm_eval.datasets.model_written_evals.{dataset_path}"))
dataset_full_path = inspect.getfile(
import_module(f"lm_eval.datasets.model_written_evals.{dataset_path}")
)
for task in datasets.get_dataset_infos(dataset_full_path).keys():
file_name = f"{dataset_path}/{task}.yaml"
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment