Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
b5c28bd
1
Parent(s):
aeb9d60
minor cleanup
Browse files- app.py +3 -2
- config.yaml +1 -1
- model_meta.yaml +2 -1
app.py
CHANGED
|
@@ -19,7 +19,8 @@ BOARDS_CONFIG = LEADERBOARD_CONFIG["boards"]
|
|
| 19 |
TASKS = list(TASKS_CONFIG.keys())
|
| 20 |
PRETTY_NAMES = {
|
| 21 |
"InstructionRetrieval": "Retrieval w/Instructions",
|
| 22 |
-
"PairClassification": "Pair Classification"
|
|
|
|
| 23 |
}
|
| 24 |
|
| 25 |
TASK_TO_METRIC = {k:v["metric"] for k,v in TASKS_CONFIG.items()}
|
|
@@ -563,7 +564,7 @@ with gr.Blocks(css=css) as block:
|
|
| 563 |
task_tab_id = task.lower().replace(" ", "-")
|
| 564 |
|
| 565 |
# Overall, Bitext Mining, Classification, etc.
|
| 566 |
-
pretty_task_name = task if task not in
|
| 567 |
with gr.Tab(pretty_task_name, id=task_tab_id) as task_tab:
|
| 568 |
# For updating the 'task' in the URL
|
| 569 |
task_tab.select(update_url_task, [current_task_language, language_per_task], [current_task_language, language_per_task]).then(None, [current_task_language], [], js=set_window_url_params)
|
|
|
|
| 19 |
TASKS = list(TASKS_CONFIG.keys())
|
| 20 |
PRETTY_NAMES = {
|
| 21 |
"InstructionRetrieval": "Retrieval w/Instructions",
|
| 22 |
+
"PairClassification": "Pair Classification",
|
| 23 |
+
"BitextMining": "Bitext Mining",
|
| 24 |
}
|
| 25 |
|
| 26 |
TASK_TO_METRIC = {k:v["metric"] for k,v in TASKS_CONFIG.items()}
|
|
|
|
| 564 |
task_tab_id = task.lower().replace(" ", "-")
|
| 565 |
|
| 566 |
# Overall, Bitext Mining, Classification, etc.
|
| 567 |
+
pretty_task_name = task if task not in PRETTY_NAMES.keys() else PRETTY_NAMES[task]
|
| 568 |
with gr.Tab(pretty_task_name, id=task_tab_id) as task_tab:
|
| 569 |
# For updating the 'task' in the URL
|
| 570 |
task_tab.select(update_url_task, [current_task_language, language_per_task], [current_task_language, language_per_task]).then(None, [current_task_language], [], js=set_window_url_params)
|
config.yaml
CHANGED
|
@@ -266,7 +266,7 @@ boards:
|
|
| 266 |
instructions:
|
| 267 |
title: English
|
| 268 |
language_long: "English"
|
| 269 |
-
has_overall:
|
| 270 |
acronym: null
|
| 271 |
icon: null
|
| 272 |
credits: "[Orion Weller, FollowIR](https://arxiv.org/abs/2403.15246)"
|
|
|
|
| 266 |
instructions:
|
| 267 |
title: English
|
| 268 |
language_long: "English"
|
| 269 |
+
has_overall: false
|
| 270 |
acronym: null
|
| 271 |
icon: null
|
| 272 |
credits: "[Orion Weller, FollowIR](https://arxiv.org/abs/2403.15246)"
|
model_meta.yaml
CHANGED
|
@@ -49,6 +49,7 @@ model_meta:
|
|
| 49 |
GritLM-7B:
|
| 50 |
link: https://huggingface.co/GritLM/GritLM-7B
|
| 51 |
seq_len: 4096
|
|
|
|
| 52 |
is_external: true
|
| 53 |
is_propietary: false
|
| 54 |
is_sentence_transformer_compatible: false
|
|
@@ -637,7 +638,7 @@ model_meta:
|
|
| 637 |
mistral-7b-instruct-v0.2:
|
| 638 |
link: https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2
|
| 639 |
seq_len: 4096
|
| 640 |
-
size:
|
| 641 |
dim: -1
|
| 642 |
is_external: true
|
| 643 |
is_proprietary: false
|
|
|
|
| 49 |
GritLM-7B:
|
| 50 |
link: https://huggingface.co/GritLM/GritLM-7B
|
| 51 |
seq_len: 4096
|
| 52 |
+
size: 7240
|
| 53 |
is_external: true
|
| 54 |
is_propietary: false
|
| 55 |
is_sentence_transformer_compatible: false
|
|
|
|
| 638 |
mistral-7b-instruct-v0.2:
|
| 639 |
link: https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2
|
| 640 |
seq_len: 4096
|
| 641 |
+
size: 7240
|
| 642 |
dim: -1
|
| 643 |
is_external: true
|
| 644 |
is_proprietary: false
|