Weyaxi commited on
Commit
522e956
1 Parent(s): 007681b

Update openllm.py

Browse files
Files changed (1) hide show
  1. openllm.py +1 -1
openllm.py CHANGED
@@ -28,7 +28,7 @@ def get_datas(data):
28
  type_of_emoji = data['components'][component_index]['props']['value']['data'][i][0]
29
 
30
  try:
31
- 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]}
32
  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.)
33
  break
34
  result_list.append(results_json)
 
28
  type_of_emoji = data['components'][component_index]['props']['value']['data'][i][0]
29
 
30
  try:
31
+ 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], "Type": results[9], "Architecture": results[10], "Precision": results[11], "Hub License": results[12], "#Params (B)": results[13], "Hub ❤️": results[14], "Available on the Hub": results[15], "Model Sha": results[16]}
32
  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.)
33
  break
34
  result_list.append(results_json)