Skip to content

Commit

Permalink
Update monitor_md.py to fix HF space (#3521)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Sep 20, 2024
1 parent a04072e commit 3773213
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fastchat/serve/monitor/monitor_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@
def make_default_md_1(mirror=False):
link_color = "#1976D2" # This color should be clear in both light and dark mode
leaderboard_md = f"""
# 🏆 LMSYS Chatbot Arena Leaderboard
# 🏆 Chatbot Arena Leaderboard
[Blog](https://lmsys.org/blog/2023-05-03-arena/) | [GitHub](https://github.com/lm-sys/FastChat) | [Paper](https://arxiv.org/abs/2403.04132) | [Dataset](https://github.com/lm-sys/FastChat/blob/main/docs/dataset_release.md) | [Twitter](https://twitter.com/lmsysorg) | [Discord](https://discord.gg/HSWAKCrnFx) | [Kaggle Competition](https://www.kaggle.com/competitions/lmsys-chatbot-arena)
"""

return leaderboard_md


def make_default_md_2(mirror=False):
mirror_str = "<span style='color: red; font-weight: bold'>This is a mirror of the live leaderboard created and maintained by the <a href='https://lmsys.org' style='color: red; text-decoration: none;'>LMSYS Organization</a>. Please link to <a href='https://lmarena.ai/leaderboard' style='color: #B00020; text-decoration: none;'>https://lmarena.ai/leaderboard</a> for citation purposes.</span>"
mirror_str = "<span style='color: red; font-weight: bold'>This is a mirror of the live leaderboard created and maintained at <a href='https://lmarena.ai/leaderboard' style='color: #B00020; text-decoration: none;'>https://lmarena.ai/leaderboard</a>. Please link to the original URL for citation purposes.</span>"
leaderboard_md = f"""
{mirror_str if mirror else ""}
LMSYS Chatbot Arena is a crowdsourced open platform for LLM evals. We've collected over 1,000,000 human pairwise comparisons to rank LLMs with the Bradley-Terry model and display the model ratings in Elo-scale.
Chatbot Arena is a crowdsourced open platform for LLM evals. We've collected over 1,000,000 human pairwise comparisons to rank LLMs with the Bradley-Terry model and display the model ratings in Elo-scale.
You can find more details in our paper. **Chatbot arena is dependent on community participation, please contribute by casting your vote!**
{SURVEY_LINK}
Expand Down

0 comments on commit 3773213

Please sign in to comment.