Spaces:
Sleeping
Sleeping
Commit
·
66a40a4
1
Parent(s):
7175e5b
update scripts
Browse files
src/leaderboard/read_evals.py
CHANGED
|
@@ -34,8 +34,12 @@ class EvalResult:
|
|
| 34 |
"""Inits the result from the specific model result file"""
|
| 35 |
with open(json_filepath) as fp:
|
| 36 |
data = json.load(fp)
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
config = data.get("config")
|
|
|
|
| 39 |
|
| 40 |
# Precision
|
| 41 |
precision = utils.Precision.from_str(config.get("model_dtype"))
|
|
|
|
| 34 |
"""Inits the result from the specific model result file"""
|
| 35 |
with open(json_filepath) as fp:
|
| 36 |
data = json.load(fp)
|
| 37 |
+
print('json_filepath',json_filepath)
|
| 38 |
+
print(data)
|
| 39 |
+
|
| 40 |
|
| 41 |
config = data.get("config")
|
| 42 |
+
print(config)
|
| 43 |
|
| 44 |
# Precision
|
| 45 |
precision = utils.Precision.from_str(config.get("model_dtype"))
|