djstrong commited on
Commit
aa391c7
1 Parent(s): e22058f

fewshot_as_multiturn

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +3 -3
src/leaderboard/read_evals.py CHANGED
@@ -79,8 +79,8 @@ class EvalResult:
79
 
80
  if chat_template:
81
  org_and_model += ",chat"
82
- if not fewshot_as_multiturn:
83
- org_and_model += ",no-multiturn"
84
 
85
  org_and_model = org_and_model.split("/", 1)
86
 
@@ -154,7 +154,7 @@ class EvalResult:
154
  def update_with_metadata(self, metadata):
155
  # print('UPDATE', self.full_model, self.model, self.eval_name)
156
  try:
157
- k = self.full_model.replace(',chat', '').replace(',no-multiturn', '')
158
  meta = metadata[k]
159
  self.model_type = ModelType.from_str(meta.get("type", "?"))
160
  self.num_params = meta.get("params", 0)
 
79
 
80
  if chat_template:
81
  org_and_model += ",chat"
82
+ if fewshot_as_multiturn:
83
+ org_and_model += ",multiturn"
84
 
85
  org_and_model = org_and_model.split("/", 1)
86
 
 
154
  def update_with_metadata(self, metadata):
155
  # print('UPDATE', self.full_model, self.model, self.eval_name)
156
  try:
157
+ k = self.full_model.replace(',chat', '').replace(',multiturn', '')
158
  meta = metadata[k]
159
  self.model_type = ModelType.from_str(meta.get("type", "?"))
160
  self.num_params = meta.get("params", 0)