Spaces:
Runtime error
Runtime error
Update src/leaderboard/read_evals.py
Browse files
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:
|