Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Move logo images to the bottom
Browse files- app.py +2 -0
- src/about.py +13 -10
app.py
CHANGED
@@ -12,6 +12,7 @@ from src.about import (
|
|
12 |
INTRODUCTION_TEXT,
|
13 |
LLM_BENCHMARKS_TEXT,
|
14 |
TITLE,
|
|
|
15 |
)
|
16 |
from src.display.css_html_js import custom_css
|
17 |
from src.display.utils import (
|
@@ -509,6 +510,7 @@ with demo:
|
|
509 |
elem_id="citation-button",
|
510 |
show_copy_button=True,
|
511 |
)
|
|
|
512 |
|
513 |
scheduler = BackgroundScheduler()
|
514 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
|
|
12 |
INTRODUCTION_TEXT,
|
13 |
LLM_BENCHMARKS_TEXT,
|
14 |
TITLE,
|
15 |
+
BOTTOM_LOGO,
|
16 |
)
|
17 |
from src.display.css_html_js import custom_css
|
18 |
from src.display.utils import (
|
|
|
510 |
elem_id="citation-button",
|
511 |
show_copy_button=True,
|
512 |
)
|
513 |
+
gr.HTML(BOTTOM_LOGO)
|
514 |
|
515 |
scheduler = BackgroundScheduler()
|
516 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
src/about.py
CHANGED
@@ -76,16 +76,6 @@ INTRODUCTION_TEXT = """
|
|
76 |
The __Open Japanese LLM Leaderboard__ by __[LLM-Jp](https://llm-jp.nii.ac.jp/en/)__ evaluates the performance of Japanese Large Language Models (LLMs) with more than 16 tasks from classical to modern NLP tasks. The __Open Japanese LLM Leaderboard__ was built by open-source contributors of __[LLM-Jp](https://llm-jp.nii.ac.jp/en/)__, a cross-organizational project for the research and development of Japanese LLMs supported by the _National Institute of Informatics_ in Tokyo, Japan.
|
77 |
|
78 |
On the __"LLM Benchmark"__ page, the question mark **"?"** refers to the parameters that are unknown in the model card on Hugging Face. For more information about datasets, please consult the __"About"__ page or refer to the website of __[LLM-Jp](https://llm-jp.nii.ac.jp/en/)__. And on the __"Submit here!"__ page, you can evaluate the performance of your model, and be part of the leaderboard.
|
79 |
-
<div style="display: flex; flex-direction: row; justify-content: space-around; align-items: center" dir="ltr">
|
80 |
-
<a href="https://llm-jp.nii.ac.jp/en/">
|
81 |
-
<img src="https://raw.githubusercontent.com/AkimfromParis/akimfromparis/refs/heads/main/images/LLM-jp-Logo-Oct-2024.png" alt="LLM-jp" style="max-height: 100px">
|
82 |
-
</a>
|
83 |
-
<a href="https://mdx.jp/">
|
84 |
-
<img src="https://raw.githubusercontent.com/AkimfromParis/akimfromparis/refs/heads/main/images/MDX-Logo-Oct-2024.jpg" alt="MDX" style="max-height: 100px">
|
85 |
-
</a>
|
86 |
-
<a href="https://huggingface.co/">
|
87 |
-
<img src="https://raw.githubusercontent.com/AkimfromParis/akimfromparis/refs/heads/main/images/HuggingFace-Logo-Oct-2024.png" alt="HuggingFace" style="max-height: 100px">
|
88 |
-
</a>
|
89 |
"""
|
90 |
|
91 |
# Which evaluations are you running? how can people reproduce what you have?
|
@@ -202,6 +192,19 @@ If your model is displayed in the `FAILED` category, its execution stopped.
|
|
202 |
Make sure you have followed the above steps first.
|
203 |
If everything is done, check you can launch the EleutherAIHarness on your model locally, using the above command without modifications (you can add `--limit` to limit the number of examples per task).
|
204 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
206 |
CITATION_BUTTON_TEXT = r"""@misc{OJLL,
|
207 |
author = {Miyao, Yusuke and Ishida, Shigeki and Okamoto, Takumi and Han, Namgi and Mousterou, Akim and Fourrier, Clémentine and Hayashi, Toshihiro and Tachibana, Yuichiro},
|
|
|
76 |
The __Open Japanese LLM Leaderboard__ by __[LLM-Jp](https://llm-jp.nii.ac.jp/en/)__ evaluates the performance of Japanese Large Language Models (LLMs) with more than 16 tasks from classical to modern NLP tasks. The __Open Japanese LLM Leaderboard__ was built by open-source contributors of __[LLM-Jp](https://llm-jp.nii.ac.jp/en/)__, a cross-organizational project for the research and development of Japanese LLMs supported by the _National Institute of Informatics_ in Tokyo, Japan.
|
77 |
|
78 |
On the __"LLM Benchmark"__ page, the question mark **"?"** refers to the parameters that are unknown in the model card on Hugging Face. For more information about datasets, please consult the __"About"__ page or refer to the website of __[LLM-Jp](https://llm-jp.nii.ac.jp/en/)__. And on the __"Submit here!"__ page, you can evaluate the performance of your model, and be part of the leaderboard.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
"""
|
80 |
|
81 |
# Which evaluations are you running? how can people reproduce what you have?
|
|
|
192 |
Make sure you have followed the above steps first.
|
193 |
If everything is done, check you can launch the EleutherAIHarness on your model locally, using the above command without modifications (you can add `--limit` to limit the number of examples per task).
|
194 |
"""
|
195 |
+
BOTTOM_LOGO = """
|
196 |
+
<div style="display: flex; flex-direction: row; justify-content">
|
197 |
+
<a href="https://llm-jp.nii.ac.jp/en/">
|
198 |
+
<img src="https://raw.githubusercontent.com/AkimfromParis/akimfromparis/refs/heads/main/images/LLM-jp-Logo-Oct-2024.png" alt="LLM-jp" style="max-height: 100px">
|
199 |
+
</a>
|
200 |
+
<a href="https://mdx.jp/">
|
201 |
+
<img src="https://raw.githubusercontent.com/AkimfromParis/akimfromparis/refs/heads/main/images/MDX-Logo-Oct-2024.jpg" alt="MDX" style="max-height: 100px">
|
202 |
+
</a>
|
203 |
+
<a href="https://huggingface.co/">
|
204 |
+
<img src="https://raw.githubusercontent.com/AkimfromParis/akimfromparis/refs/heads/main/images/HuggingFace-Logo-Oct-2024.png" alt="HuggingFace" style="max-height: 100px">
|
205 |
+
</a>
|
206 |
+
</div>
|
207 |
+
"""
|
208 |
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
209 |
CITATION_BUTTON_TEXT = r"""@misc{OJLL,
|
210 |
author = {Miyao, Yusuke and Ishida, Shigeki and Okamoto, Takumi and Han, Namgi and Mousterou, Akim and Fourrier, Clémentine and Hayashi, Toshihiro and Tachibana, Yuichiro},
|