clefourrier HF staff commited on
Commit
1108259
•
1 Parent(s): 0ba9d60

Update src/auto_leaderboard/model_metadata_type.py

Browse files
src/auto_leaderboard/model_metadata_type.py CHANGED
@@ -587,11 +587,11 @@ def get_model_type(leaderboard_data: List[dict]):
587
  request = json.load(f)
588
  model_type = model_type_from_str(request["model_type"])
589
  model_data[AutoEvalColumn.model_type.name] = model_type.value.name
590
- model_data[AutoEvalColumn.model_type_symbol.name] = model_type.value.symbol + ("🔺" if is_delta else "")
591
  except KeyError:
592
  if model_data["model_name_for_query"] in TYPE_METADATA:
593
  model_data[AutoEvalColumn.model_type.name] = TYPE_METADATA[model_data["model_name_for_query"]].value.name
594
- model_data[AutoEvalColumn.model_type_symbol.name] = TYPE_METADATA[model_data["model_name_for_query"]].value.symbol + ("🔺" if is_delta else "")
595
  else:
596
  model_data[AutoEvalColumn.model_type.name] = ModelType.Unknown.value.name
597
  model_data[AutoEvalColumn.model_type_symbol.name] = ModelType.Unknown.value.symbol
 
587
  request = json.load(f)
588
  model_type = model_type_from_str(request["model_type"])
589
  model_data[AutoEvalColumn.model_type.name] = model_type.value.name
590
+ model_data[AutoEvalColumn.model_type_symbol.name] = model_type.value.symbol #+ ("🔺" if is_delta else "")
591
  except KeyError:
592
  if model_data["model_name_for_query"] in TYPE_METADATA:
593
  model_data[AutoEvalColumn.model_type.name] = TYPE_METADATA[model_data["model_name_for_query"]].value.name
594
+ model_data[AutoEvalColumn.model_type_symbol.name] = TYPE_METADATA[model_data["model_name_for_query"]].value.symbol #+ ("🔺" if is_delta else "")
595
  else:
596
  model_data[AutoEvalColumn.model_type.name] = ModelType.Unknown.value.name
597
  model_data[AutoEvalColumn.model_type_symbol.name] = ModelType.Unknown.value.symbol