open llm leaderboard is changed so have to update this :)
Browse files- openllm.py +2 -2
openllm.py
CHANGED
@@ -23,11 +23,11 @@ def get_datas(data):
|
|
23 |
i = 0
|
24 |
while True:
|
25 |
try:
|
26 |
-
results = data['components'][component_index]['props']['value']['data'][i]
|
27 |
type_of_emoji = data['components'][component_index]['props']['value']['data'][i][0]
|
28 |
|
29 |
try:
|
30 |
-
results_json = {"T": type_of_emoji, "Model": results[-1], "Average ⬆️": results[
|
31 |
except IndexError: # Wrong component index, so breaking loop to try next component index. (NOTE: More than one component index can give you some results but we must find the right component index to get all results we want.)
|
32 |
break
|
33 |
result_list.append(results_json)
|
|
|
23 |
i = 0
|
24 |
while True:
|
25 |
try:
|
26 |
+
results = data['components'][component_index]['props']['value']['data'][i]
|
27 |
type_of_emoji = data['components'][component_index]['props']['value']['data'][i][0]
|
28 |
|
29 |
try:
|
30 |
+
results_json = {"T": type_of_emoji, "Model": results[-1], "Average ⬆️": results[2], "ARC": results[3], "HellaSwag": results[4], "MMLU": results[5], "TruthfulQA": results[6], "Winogrande": results[7], "GSM8K": results[8], "DROP": results[9], "Type": results[10], "Precision": results[11], "Hub License": results[12], "#Params (B)": results[13], "Hub ❤️": results[14], "Model Sha": results[16]}
|
31 |
except IndexError: # Wrong component index, so breaking loop to try next component index. (NOTE: More than one component index can give you some results but we must find the right component index to get all results we want.)
|
32 |
break
|
33 |
result_list.append(results_json)
|