Spaces:
Running
Running
update
Browse files- src/about.py +1 -1
- src/display/formatting.py +3 -1
- src/envs.py +1 -1
src/about.py
CHANGED
@@ -43,7 +43,7 @@ Metrics Implementations
|
|
43 |
|
44 |
Reproducibility
|
45 |
|
46 |
-
To learn more about the evaluation pipeline and reproduce our results, check out the repository <a href="https://github.com/
|
47 |
|
48 |
Acknowledgements
|
49 |
|
|
|
43 |
|
44 |
Reproducibility
|
45 |
|
46 |
+
To learn more about the evaluation pipeline and reproduce our results, check out the repository <a href="https://github.com/scb-10x/seacrowd-eval">seacrowd-experiments</a>.
|
47 |
|
48 |
Acknowledgements
|
49 |
|
src/display/formatting.py
CHANGED
@@ -2,7 +2,9 @@ def model_hyperlink(link, model_name):
|
|
2 |
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
|
3 |
|
4 |
|
5 |
-
def make_clickable_model(model_name):
|
|
|
|
|
6 |
link = f"https://huggingface.co/{model_name}"
|
7 |
return model_hyperlink(link, model_name)
|
8 |
|
|
|
2 |
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
|
3 |
|
4 |
|
5 |
+
def make_clickable_model(model_name: str):
|
6 |
+
if model_name.startswith('api/'):
|
7 |
+
return model_name
|
8 |
link = f"https://huggingface.co/{model_name}"
|
9 |
return model_hyperlink(link, model_name)
|
10 |
|
src/envs.py
CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import HfApi
|
|
7 |
# ----------------------------------
|
8 |
TOKEN = os.environ.get("TOKEN") # A read/write token for your org
|
9 |
|
10 |
-
OWNER = "
|
11 |
# ----------------------------------
|
12 |
|
13 |
REPO_ID = f"{OWNER}/leaderboard"
|
|
|
7 |
# ----------------------------------
|
8 |
TOKEN = os.environ.get("TOKEN") # A read/write token for your org
|
9 |
|
10 |
+
OWNER = "kunato-lab" # Change to your org - don't forget to create a results and request dataset, with the correct format!
|
11 |
# ----------------------------------
|
12 |
|
13 |
REPO_ID = f"{OWNER}/leaderboard"
|