Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fewshot_as_multiturn
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -79,8 +79,8 @@ class EvalResult:
|
|
79 |
|
80 |
if chat_template:
|
81 |
org_and_model += ",chat"
|
82 |
-
if
|
83 |
-
org_and_model += ",
|
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(',
|
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)
|