from dataclasses import dataclass from enum import Enum @dataclass class Task: benchmark: str metric: str col_name: str # Select your tasks here # --------------------------------------------------- class Tasks(Enum): # task_key in the json file, metric_key in the json file, name to display in the leaderboard Persian_MMLU = Task("Persian MMLU", "Exact Match", "Persian MMLU") Persian_Math = Task("Persian Math", "Math Equivalence", "Persian Math") ParsiNLUŮ€Entailment = Task("ParsiNLU Entailment", "Exact Match", "ParsiNLU Entailment") FarsTail_Entailment = Task("FarsTail Entailment", "Exact Match", "FarsTail Entailment") ParsiNLU_Machine_Translation_Fa_En = Task("ParsiNLU Machine Translation Fa En", "English Sentence Bleu", "ParsiNLU Machine Translation Fa-En") ParsiNLU_Machine_Translation_En_Fa = Task("ParsiNLU Machine Translation En Fa", "Persian Sentence Bleu", "ParsiNLU Machine Translation En-Fa") ParsiNLU_Reading_Comprehension = Task("ParsiNLU Reading Comprehension", "Common Tokens", "ParsiNLU Reading Comprehension") Persian_News_Summary = Task("Persian News Summary", "Persian Rouge", "Persian News Summary") # Your leaderboard name TITLE = """