Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
clefourrier committed Jul 9, 2024
1 parent 440e9fd commit ba4a8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lighteval/logging/evaluation_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def recreate_metadata_card(self, repo_id: str) -> None: # noqa: C901
# to be able to parse the filename as iso dates, we need to re-replace the `-` with `:`
# iso_date[13] = iso_date[16] = ':'
dir_name = os.path.dirname(sub_file)
iso_date = ':'.join(dir_name.rsplit('-', 2))
iso_date = ":".join(dir_name.rsplit("-", 2))
eval_date = datetime.fromisoformat(iso_date)

last_eval_date_results[task_name] = (
Expand Down

0 comments on commit ba4a8c4

Please sign in to comment.