Jellyfish042 commited on
Commit
341d45d
Β·
1 Parent(s): 8f22cbd

update readme

Browse files
Files changed (4) hide show
  1. __pycache__/title.cpython-311.pyc +0 -0
  2. app.py +2 -1
  3. longctx_about.md +1 -1
  4. title.py +10 -0
__pycache__/title.cpython-311.pyc CHANGED
Binary files a/__pycache__/title.cpython-311.pyc and b/__pycache__/title.cpython-311.pyc differ
 
app.py CHANGED
@@ -11,7 +11,7 @@ from huggingface_hub.hf_api import HTTPError
11
  from huggingface_hub.utils import GatedRepoError
12
  from gradio_rangeslider import RangeSlider
13
  import datetime
14
- from title import css, TITLE_HTML, SUBTITLE_HTML
15
  from data_manager import DataManager, LongContextDataManager
16
  import matplotlib.pyplot as plt
17
  from matplotlib.ticker import ScalarFormatter
@@ -335,6 +335,7 @@ if __name__ == "__main__":
335
  with gr.Blocks(theme=theme, css=css) as demo:
336
  gr.HTML(TITLE_HTML)
337
  gr.HTML(SUBTITLE_HTML)
 
338
  with gr.Tabs() as tabs:
339
  with gr.Tab("πŸ† Leaderboard"):
340
  with gr.Row():
 
11
  from huggingface_hub.utils import GatedRepoError
12
  from gradio_rangeslider import RangeSlider
13
  import datetime
14
+ from title import css, TITLE_HTML, SUBTITLE_HTML, LINKS_HTML
15
  from data_manager import DataManager, LongContextDataManager
16
  import matplotlib.pyplot as plt
17
  from matplotlib.ticker import ScalarFormatter
 
335
  with gr.Blocks(theme=theme, css=css) as demo:
336
  gr.HTML(TITLE_HTML)
337
  gr.HTML(SUBTITLE_HTML)
338
+ gr.HTML(LINKS_HTML)
339
  with gr.Tabs() as tabs:
340
  with gr.Tab("πŸ† Leaderboard"):
341
  with gr.Row():
longctx_about.md CHANGED
@@ -2,4 +2,4 @@ This page presents the average per-position byte compression rate, demonstrating
2
 
3
  Calculated at the byte level, these metrics allow for direct comparison across different tokenizers.
4
 
5
- Benchmarks utilize the UncheatableEval-Long dataset series, with sequence lengths extending up to 32k characters.
 
2
 
3
  Calculated at the byte level, these metrics allow for direct comparison across different tokenizers.
4
 
5
+ Benchmarks utilize the [UncheatableEval-Long dataset series](https://huggingface.co/collections/Jellyfish042/uncheatableeval), with sequence lengths extending up to 32k characters.
title.py CHANGED
@@ -18,3 +18,13 @@ table {
18
  """
19
  TITLE_HTML = '<h1 style="text-align:center"><span style="font-size:1.3em">πŸ† LLM Compression Leaderboard</span></h1>'
20
  SUBTITLE_HTML = "<h1 style='text-align:center'><span style='font-size:0.8em'>Welcome to Uncheatable Eval LLM Compression Leaderboard, where fancy fine-tuning and cheating won't work 🚫; only compute πŸ’», data πŸ“Š, and real innovation πŸ”₯ can prevail!</span></h1>"
 
 
 
 
 
 
 
 
 
 
 
18
  """
19
  TITLE_HTML = '<h1 style="text-align:center"><span style="font-size:1.3em">πŸ† LLM Compression Leaderboard</span></h1>'
20
  SUBTITLE_HTML = "<h1 style='text-align:center'><span style='font-size:0.8em'>Welcome to Uncheatable Eval LLM Compression Leaderboard, where fancy fine-tuning and cheating won't work 🚫; only compute πŸ’», data πŸ“Š, and real innovation πŸ”₯ can prevail!</span></h1>"
21
+ LINKS_HTML = """
22
+ <div style="display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 20px; margin: 10px 0;">
23
+ <a href="https://github.com/Jellyfish042/uncheatable_eval" target="_blank" style="text-decoration: none;">
24
+ <img src="https://img.shields.io/badge/GitHub-Project-181717?logo=github" alt="GitHub Project">
25
+ </a>
26
+ <a href="https://huggingface.co/collections/Jellyfish042/uncheatableeval" target="_blank" style="text-decoration: none;">
27
+ <img src="https://img.shields.io/badge/%F0%9F%A4%97%20HuggingFace-Dataset-FFD21E" alt="HuggingFace Dataset">
28
+ </a>
29
+ </div>
30
+ """