sh1gechan commited on
Commit
794bc00
1 Parent(s): 514f478

Update src/leaderboard/read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +2 -2
src/leaderboard/read_evals.py CHANGED
@@ -44,11 +44,12 @@ class EvalResult:
44
 
45
  config = data.get("config")
46
  metainfo = config.get("metainfo", {})
 
47
  model_config = config.get("model", {})
48
 
49
  # Get model type from metainfo
50
  model_type_str = metainfo.get("model_type", "")
51
- print(model_type_str)
52
  model_type = ModelType.from_str(model_type_str)
53
  # model_type = metainfo.get("model_type", "Unknown")
54
 
@@ -58,7 +59,6 @@ class EvalResult:
58
  # Precision
59
  # precision = Precision.from_str(config.get("dtype"))
60
  precision = model_config.get("dtype", "Unknown")
61
- print("precision", precision)
62
 
63
  # Add Special Tokens
64
  add_special_tokens = str(config.get("pipeline_kwargs").get("add_special_tokens"))
 
44
 
45
  config = data.get("config")
46
  metainfo = config.get("metainfo", {})
47
+ print("metainfo", metainfo)
48
  model_config = config.get("model", {})
49
 
50
  # Get model type from metainfo
51
  model_type_str = metainfo.get("model_type", "")
52
+ print(f"Model type from metainfo: {model_type_str}")
53
  model_type = ModelType.from_str(model_type_str)
54
  # model_type = metainfo.get("model_type", "Unknown")
55
 
 
59
  # Precision
60
  # precision = Precision.from_str(config.get("dtype"))
61
  precision = model_config.get("dtype", "Unknown")
 
62
 
63
  # Add Special Tokens
64
  add_special_tokens = str(config.get("pipeline_kwargs").get("add_special_tokens"))