Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronfei committed Jul 23, 2024
1 parent e7fb565 commit ba4eb7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added assets/videovista_leaderboard_20240722.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ def eval_mlvu(
A=answer,
pred=predict
))
for task_type, results in results.items():
with open(osp.join(output_dir, f'generation_{task_type}_results.json'), 'w') as f:
json.dump(results, f, indent=4, ensure_ascii=False)
for task_type, results in results.items():
with open(osp.join(output_dir, f'generation_{task_type}_results.json'), 'w') as f:
json.dump(results, f, indent=4, ensure_ascii=False)


if __name__ == '__main__':
Expand Down

0 comments on commit ba4eb7d

Please sign in to comment.