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

questions in vicuna_bench with reference_answer cannot run #2508

Closed
toslunar opened this issue Oct 3, 2023 · 0 comments · Fixed by #2509
Closed

questions in vicuna_bench with reference_answer cannot run #2508

toslunar opened this issue Oct 3, 2023 · 0 comments · Fixed by #2509

Comments

@toslunar
Copy link
Contributor

toslunar commented Oct 3, 2023

I'd like to use vicuna_bench. After python gen_api_answer.py --bench-name vicuna_bench --model gpt-3.5-turbo succeeds, python gen_judgment.py --bench-name vicuna_bench --model-list gpt-3.5-turbo failed with

88%|█████████████████████████████████████████████████████████████████████████████████████████▎            | 70/80 [17:27<02:29, 14.97s/it]
Traceback (most recent call last):
  File ".../FastChat/fastchat/llm_judge/gen_judgment.py", line 309, in <module>
    play_a_match_func(match, output_file=output_file)
  File ".../FastChat/fastchat/llm_judge/common.py", line 203, in play_a_match_single
    score, user_prompt, judgment = run_judge_single(
  File ".../FastChat/fastchat/llm_judge/common.py", line 141, in run_judge_single
    kwargs["ref_answer_2"] = ref_answer["choices"][0]["turns"][1]
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant