From b27d617dc21169448a983b827274901499333f1b Mon Sep 17 00:00:00 2001 From: Wei-Lin Chiang Date: Wed, 23 Oct 2024 19:07:45 -0700 Subject: [PATCH] fix bug --- fastchat/serve/monitor/monitor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fastchat/serve/monitor/monitor.py b/fastchat/serve/monitor/monitor.py index e34d046a6..683a40b54 100644 --- a/fastchat/serve/monitor/monitor.py +++ b/fastchat/serve/monitor/monitor.py @@ -895,6 +895,8 @@ def get_model_name(model_key): combined_table = [] for category in elo_results.keys(): + if category not in key_to_category_name: + continue df = elo_results[category]["leaderboard_table_df"].copy() # remove deprecated models df = df.loc[~df.index.isin(deprecated_model_name)]