weichiang commited on
Commit
cab0061
β€’
2 Parent(s): cbcf31f 67596d5

Merge branch 'main' into pr/26

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -432,7 +432,25 @@ See Figure 3 below for visualization of the confidence intervals. Code to recrea
432
  chinese_rating.click(fn=update_chinese_rating_df, inputs=chinese_rating ,outputs=[elo_display_df, plot_1, plot_2, plot_3, plot_4, more_stats_md, leaderboard_markdown])
433
  long_context_rating.click(fn=update_long_context_rating_df, inputs=long_context_rating, outputs=[elo_display_df, plot_1, plot_2, plot_3, plot_4, more_stats_md, leaderboard_markdown])
434
 
435
- gr.Markdown(acknowledgment_md)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
436
 
437
  if show_plot:
438
  return [md_1, plot_1, plot_2, plot_3, plot_4]
 
432
  chinese_rating.click(fn=update_chinese_rating_df, inputs=chinese_rating ,outputs=[elo_display_df, plot_1, plot_2, plot_3, plot_4, more_stats_md, leaderboard_markdown])
433
  long_context_rating.click(fn=update_long_context_rating_df, inputs=long_context_rating, outputs=[elo_display_df, plot_1, plot_2, plot_3, plot_4, more_stats_md, leaderboard_markdown])
434
 
435
+ with gr.Accordion(
436
+ "πŸ“ Citation",
437
+ open=True,
438
+ ):
439
+ citation_md = """
440
+ ### Citation
441
+ Please cite the following paper if you find our leaderboard or dataset helpful.
442
+ ```
443
+ @misc{chiang2024chatbot,
444
+ title={Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference},
445
+ author={Wei-Lin Chiang and Lianmin Zheng and Ying Sheng and Anastasios Nikolas Angelopoulos and Tianle Li and Dacheng Li and Hao Zhang and Banghua Zhu and Michael Jordan and Joseph E. Gonzalez and Ion Stoica},
446
+ year={2024},
447
+ eprint={2403.04132},
448
+ archivePrefix={arXiv},
449
+ primaryClass={cs.AI}
450
+ }
451
+ """
452
+ gr.Markdown(citation_md, elem_id="leaderboard_markdown")
453
+ gr.Markdown(acknowledgment_md)
454
 
455
  if show_plot:
456
  return [md_1, plot_1, plot_2, plot_3, plot_4]