gblazex commited on
Commit
7866f24
·
1 Parent(s): 3df2568

Update src/leaderboard/read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +2 -0
src/leaderboard/read_evals.py CHANGED
@@ -53,6 +53,8 @@ likes_for_model = array_to_dict(arr=data, key="modelId", val="likes")
53
  print("microsoft/phi-2", likes_for_model["microsoft/phi-2"])
54
 
55
 
 
 
56
  def parse_datetime(iso_datetime):
57
  """Parse an ISO datetime string to a datetime object."""
58
  try:
 
53
  print("microsoft/phi-2", likes_for_model["microsoft/phi-2"])
54
 
55
 
56
+ from datetime import datetime, timedelta, timezone
57
+
58
  def parse_datetime(iso_datetime):
59
  """Parse an ISO datetime string to a datetime object."""
60
  try: