Skip to content

Commit

Permalink
Merge pull request #39 from hitoshizuku7/fix/showresult
Browse files Browse the repository at this point in the history
Now the result can show the entire model name no matter the length
  • Loading branch information
hkiyomaru authored Dec 1, 2023
2 parents 02aec87 + 303b9ab commit 0a2e91b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llm_judge/show_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"jp_bench": DATA_DIR / "jp_bench" / "model_judgment",
}

pd.set_option("display.max_colwidth", 1000)


def display_result_single(args):
if args.input_file is None:
Expand Down Expand Up @@ -47,7 +49,6 @@ def display_result_pairwise(args):
print(f"Input file: {input_file}")
df_all = pd.read_json(input_file, lines=True)
print(args.model_list)

list_res = []
# traverse df row by row
for index, row in df_all.iterrows():
Expand Down

0 comments on commit 0a2e91b

Please sign in to comment.