updated logo and logs
Browse files- src/about.py +1 -1
- src/leaderboard/read_evals.py +5 -4
src/about.py
CHANGED
@@ -45,7 +45,7 @@ NUM_FEWSHOT = 0 # Change with your few shot
|
|
45 |
# Your leaderboard name
|
46 |
TITLE = """""" #<h1 align="center" id="space-title"> NER Leaderboard</h1>"""
|
47 |
# LOGO = """<img src="file/assets/image.png" alt="Clinical X HF" width="500" height="333">"""
|
48 |
-
LOGO = """<img src="https://
|
49 |
|
50 |
# What does your leaderboard evaluate?
|
51 |
INTRODUCTION_TEXT = """
|
|
|
45 |
# Your leaderboard name
|
46 |
TITLE = """""" #<h1 align="center" id="space-title"> NER Leaderboard</h1>"""
|
47 |
# LOGO = """<img src="file/assets/image.png" alt="Clinical X HF" width="500" height="333">"""
|
48 |
+
LOGO = """<img src="https://huggingface.co/spaces/m42-health/clinical_ner_leaderboard/resolve/main/assets/image.png" alt="Clinical X HF" width="500" height="333">"""
|
49 |
|
50 |
# What does your leaderboard evaluate?
|
51 |
INTRODUCTION_TEXT = """
|
src/leaderboard/read_evals.py
CHANGED
@@ -134,10 +134,11 @@ class EvalResult:
|
|
134 |
self.date = request.get("submitted_time", "")
|
135 |
# self.precision = request.get("precision", "float32")
|
136 |
except Exception:
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
|
|
141 |
|
142 |
def to_dict(self, subset):
|
143 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|
|
|
134 |
self.date = request.get("submitted_time", "")
|
135 |
# self.precision = request.get("precision", "float32")
|
136 |
except Exception:
|
137 |
+
pass
|
138 |
+
# print(
|
139 |
+
# f"Could not find request file for {self.org}/{self.model} with precision {self.precision.value.name}"
|
140 |
+
# )
|
141 |
+
# print(f" Args used were - {request_file=}, {requests_path=}, {self.full_model=},")
|
142 |
|
143 |
def to_dict(self, subset):
|
144 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|