Skip to content

Commit

Permalink
fix: sort models in eval output, change N/A emoji to questionmark
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Sep 28, 2024
1 parent a36b8b5 commit ab63900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gptme/eval/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def get_status_emoji(passed, total):
else:
return "❌"

for model, results in all_results.items():
for model, results in sorted(all_results.items()):
row = [model]
for test in headers[1:]:
if test in results:
Expand All @@ -160,7 +160,7 @@ def get_status_emoji(passed, total):
status_emoji = get_status_emoji(passed, total)
row.append(f"{status_emoji} {passed}/{total} {tokens}tok")
else:
row.append(" N/A")
row.append(" N/A")
table_data.append(row)

# Print the table
Expand Down

0 comments on commit ab63900

Please sign in to comment.