Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make FastChat work with LMSYS-Chat-1M Code #2551

Merged
merged 12 commits into from
Oct 12, 2023
3 changes: 2 additions & 1 deletion fastchat/llm_judge/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
TIE_DELTA = 0.1

# Categories that need reference answers
NEED_REF_CATS = ["math", "reasoning", "coding"]
NEED_REF_CATS = ["math", "reasoning", "coding", "arena-hard-200"]

# Extract scores from judgments
two_score_pattern = re.compile("\[\[(\d+\.?\d*),\s?(\d+\.?\d*)\]\]")
Expand All @@ -42,6 +42,7 @@
"reasoning": 0.0,
"stem": 0.1,
"humanities": 0.1,
"arena-hard-200": 0.0,
}

reverse_model_map = {
Expand Down