File size: 1,915 Bytes
8dc4b22
c8763bd
 
67cbded
bee5389
67cbded
 
 
c8763bd
9dc4521
8e8c463
e747f4e
 
 
 
 
 
bee5389
b869fcb
9dc4521
 
 
 
bee5389
9dc4521
67cbded
00642fb
67cbded
9dc4521
bee5389
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TITLE = """<h1 align="center" id="space-title">πŸ€— Open LLM-Perf Leaderboard πŸ‹οΈ</h1>"""

INTRODUCTION_TEXT = f"""
The πŸ€— Open LLM-Perf Leaderboard πŸ‹οΈ aims to benchmark the performance (latency & throughput) of Large Language Models (LLMs) with different hardwares, backends and optimizations using [Optimum-Benchmark](https://github.com/huggingface/optimum-benchmark) and [Optimum](https://github.com/huggingface/optimum) flavors.

Anyone from the community can request a model or a hardware+backend+optimization configuration for automated benchmarking:
- Model requests should be made in the [πŸ€— Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) and will be added to the πŸ€— Open LLM-Perf Leaderboard πŸ‹οΈ automatically once they're publicly available. That's mostly because we don't want to benchmark models that don't have an evaluation score yet.
- Hardware+Backend+Optimization requests should be made in the πŸ€— Open LLM-Perf Leaderboard πŸ‹οΈ [community discussions](https://huggingface.co/spaces/optimum/llm-perf-leaderboard/discussions) for open discussion about their relevance and feasibility.
"""

SINGLE_A100_TEXT = """<h3>Single-GPU Benchmark (1xA100):</h3>
<ul>
    <li>Singleton Batch (1)</li>
    <li>Thousand Tokens (1000)</li>
</ul>
"""

CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results."
CITATION_BUTTON_TEXT = r"""@misc{open-llm-perf-leaderboard,
  author = {Ilyas Moutawwakil},
  title = {Open LLM-Perf Leaderboard},
  year = {2023},
  publisher = {Hugging Face},
  howpublished = "\url{https://huggingface.co/spaces/optimum/llm-perf-leaderboard}",
@software{optimum-benchmark,
  author    = {Ilyas Moutawwakil},
  publisher = {Hugging Face},
  title     = {Optimum-Benchmark: A framework for benchmarking the performance of Transformers models with different hardwares, backends and optimizations.},
}
"""