Spaces:
Running
Running
Update constants.py
Browse files1234567891021 unmodified lines323334353637383940414243LEADERBOARD_INTRODUCTION = """# DD-Ranking Leaderboard</h3><p align="center">| <a href="https://nus-hpc-ai-lab.github.io/DD-Ranking/"><b>Documentation</b></a> | <a href="https://github.com/NUS-HPC-AI-Lab/DD-Ranking"><b>Github</b></a> | <a href=""><b>Paper </b> (Coming Soon)</a> | <a href=""><b>Twitter/X</b> (Coming Soon)</a> | <a href=""><b>Developer Slack</b> (Coming Soon)</a> |</p>🏆 Welcome to the leaderboard of the **DD-Ranking**!21 unmodified lines"""WEIGHT_ADJUSTMENT_INTRODUCTION = """The score for ranking in the following table is computed by $score = \sum w_i score_i$, where $w_i$ is the weight for the $i$-th metric.**You can specify the weights for each metric below.**"""DATASET_LIST = ["CIFAR-10", "CIFAR-100", "Tiny-ImageNet"]IPC_LIST = ["IPC-1", "IPC-10", "IPC-50"]LABEL_TYPE_LIST = ["Hard Label", "Soft Label"]METRICS = ["HLR", "IOR"]1234567891011121314151617181920212223242526272829303132333435363721 unmodified lines5960616263646566676869707172737475LEADERBOARD_HEADER = """<style>.header-gradient {top: 40%;bottom: 40%;padding: 10px 0px;font-weight: bold;font-size: 40px;font-family: Inter, Arial, Helvetica, sans-serif;background: linear-gradient(to right, #5EA2EF, #0072F5);-webkit-text-fill-color: transparent;-webkit-background-clip: text;}.header-normal {top: 40%;bottom: 40%;padding: 10px 0px;font-weight: bold;font-size: 40px;font-family: Inter, Arial, Helvetica, sans-serif;}</style><div align="center"><span class="header-gradient"> DD-Ranking </span><span class="header-normal"> Leaderboard </span></div><p align="center">| <a href="https://nus-hpc-ai-lab.github.io/DD-Ranking/"><b>Documentation</b></a> | <a href="https://github.com/NUS-HPC-AI-Lab/DD-Ranking"><b>Github</b></a> | <a href=""><b>Paper </b> (Coming Soon)</a> | <a href=""><b>Twitter/X</b> (Coming Soon)</a> | <a href=""><b>Developer Slack</b> (Coming Soon)</a> |</p>"""LEADERBOARD_INTRODUCTION = """# DD-Ranking Leaderboard🏆 Welcome to the leaderboard of the **DD-Ranking**!21 unmodified lines"""WEIGHT_ADJUSTMENT_INTRODUCTION = """The score for ranking in the following table is computed by $score = w score_{HLR} - (1 - w) score_{IOR}$, where $w$ is the weight for the HLR metric.**You can specify the weights for each metric below.**"""DATASET_LIST = ["CIFAR-10", "CIFAR-100", "Tiny-ImageNet"]IPC_LIST = ["IPC-1", "IPC-10", "IPC-50"]DATASET_IPC_LIST = {"CIFAR-10": ["IPC-1", "IPC-10", "IPC-50"],"CIFAR-100": ["IPC-1", "IPC-10", "IPC-50"],"Tiny-ImageNet": ["IPC-10", "IPC-50"],}LABEL_TYPE_LIST = ["Hard Label", "Soft Label"]METRICS = ["HLR", "IOR"]
constants.py+37-5