Files changed (3) hide show
  1. README.md +3 -3
  2. app.py +6 -8
  3. judgerbench/meta_data.py +6 -14
README.md CHANGED
@@ -1,16 +1,16 @@
1
  ---
2
- title: JudgerBench Leaderboard
3
  emoji: ๐ŸŒŽ
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.1.0
8
  app_file: app.py
9
  pinned: true
10
  license: apache-2.0
11
  tags:
12
  - leaderboard
13
- short_description: 'JudgerBench Leaderboard'
14
  ---
15
 
16
 
 
1
  ---
2
+ title: Open VLM Leaderboard
3
  emoji: ๐ŸŒŽ
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 4.36.1
8
  app_file: app.py
9
  pinned: true
10
  license: apache-2.0
11
  tags:
12
  - leaderboard
13
+ short_description: 'VLMEvalKit Evaluation Results Collection '
14
  ---
15
 
16
 
app.py CHANGED
@@ -41,7 +41,7 @@ with gr.Blocks() as demo:
41
  # timestamp = struct['time']
42
 
43
  # EVAL_TIME = format_timestamp(timestamp)
44
- EVAL_TIME = '20241022'
45
 
46
  # results = struct['results']
47
  # N_MODEL = len(results)
@@ -65,10 +65,10 @@ with gr.Blocks() as demo:
65
  for cur_id, (filename, filepath) in enumerate(LEADERBOARD_FILE_MAPPING.items()):
66
 
67
  tab_name = filename
68
- # if filename == "overall":
69
- # tab_name = 'OVERALL'
70
 
71
- with gr.Tab(tab_name.upper(), elem_id=f'tab_{cur_id}', id=cur_id):
72
 
73
  # gr.Markdown(LEADERBOARD_MD['MAIN'])
74
  # _, check_box = build_l1_df(MAIN_FIELDS)
@@ -283,9 +283,7 @@ with gr.Blocks() as demo:
283
  citation_button = gr.Textbox(
284
  value=CITATION_BUTTON_TEXT,
285
  label=CITATION_BUTTON_LABEL,
286
- elem_id='citation-button',
287
- lines=7,
288
- )
289
 
290
 
291
  if __name__ == '__main__':
@@ -293,7 +291,7 @@ if __name__ == '__main__':
293
 
294
  parser = argparse.ArgumentParser()
295
  parser.add_argument("--host", type=str, default="0.0.0.0")
296
- parser.add_argument("--port", type=int, default="7860")
297
  parser.add_argument(
298
  "--share",
299
  action="store_true",
 
41
  # timestamp = struct['time']
42
 
43
  # EVAL_TIME = format_timestamp(timestamp)
44
+ EVAL_TIME = '20241015'
45
 
46
  # results = struct['results']
47
  # N_MODEL = len(results)
 
65
  for cur_id, (filename, filepath) in enumerate(LEADERBOARD_FILE_MAPPING.items()):
66
 
67
  tab_name = filename
68
+ if filename == "overall":
69
+ tab_name = '๐Ÿ… JudgerBench Main Leaderboard'
70
 
71
+ with gr.Tab(tab_name, elem_id=f'tab_{cur_id}', id=cur_id):
72
 
73
  # gr.Markdown(LEADERBOARD_MD['MAIN'])
74
  # _, check_box = build_l1_df(MAIN_FIELDS)
 
283
  citation_button = gr.Textbox(
284
  value=CITATION_BUTTON_TEXT,
285
  label=CITATION_BUTTON_LABEL,
286
+ elem_id='citation-button')
 
 
287
 
288
 
289
  if __name__ == '__main__':
 
291
 
292
  parser = argparse.ArgumentParser()
293
  parser.add_argument("--host", type=str, default="0.0.0.0")
294
+ parser.add_argument("--port", type=int)
295
  parser.add_argument(
296
  "--share",
297
  action="store_true",
judgerbench/meta_data.py CHANGED
@@ -24,14 +24,12 @@ STYLE_CLASS_MAPPING = {
24
  URL = "http://opencompass.openxlab.space/assets/OpenVLM.json"
25
  VLMEVALKIT_README = 'https://raw.githubusercontent.com/open-compass/VLMEvalKit/main/README.md'
26
  # CONSTANTS-CITATION
27
- CITATION_BUTTON_TEXT = r"""@article{cao2024compass,
28
- title={CompassJudger-1: All-in-one Judge Model Helps Model Evaluation and Evolution},
29
- author={Maosong Cao, Alexander Lam, Haodong Duan, Hongwei Liu, Songyang Zhang, Kai Chen},
30
- journal={arXiv preprint arXiv:2410.16256},
31
- year={2024}
32
- }
33
- """
34
-
35
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
36
 
37
  # CONSTANTS-TEXT
@@ -39,12 +37,6 @@ LEADERBORAD_INTRODUCTION = """# JudgerBench Leaderboard
39
 
40
  ### Welcome to the JudgerBench Leaderboard!
41
 
42
- Model Link: https://huggingface.co/opencompass/CompassJudger-1-7B-Instruct
43
-
44
- Code Link: https://github.com/open-compass/CompassJudger
45
-
46
- Paper Link: https://arxiv.org/pdf/2410.16256
47
-
48
  This leaderboard was last updated: {}.
49
  """
50
 
 
24
  URL = "http://opencompass.openxlab.space/assets/OpenVLM.json"
25
  VLMEVALKIT_README = 'https://raw.githubusercontent.com/open-compass/VLMEvalKit/main/README.md'
26
  # CONSTANTS-CITATION
27
+ CITATION_BUTTON_TEXT = r"""@misc{2023opencompass,
28
+ title={OpenCompass: A Universal Evaluation Platform for Foundation Models},
29
+ author={OpenCompass Contributors},
30
+ howpublished = {\url{https://github.com/open-compass/opencompass}},
31
+ year={2023}
32
+ }"""
 
 
33
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
34
 
35
  # CONSTANTS-TEXT
 
37
 
38
  ### Welcome to the JudgerBench Leaderboard!
39
 
 
 
 
 
 
 
40
  This leaderboard was last updated: {}.
41
  """
42