Skip to content

Commit

Permalink
In argument parts, all the sentence should be used uniformly as model…
Browse files Browse the repository at this point in the history
…-list.
  • Loading branch information
hitoshizuku7 committed Dec 1, 2023
2 parents bd0208d + 303b9ab commit 8dcb70e
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)
pd.set_option("display.max_colwidth", 1000)
list_res = []
# traverse df row by row
for index, row in df_all.iterrows():
Expand Down

0 comments on commit 8dcb70e

Please sign in to comment.