File size: 903 Bytes
bfeafb5
 
 
a8f0607
bfeafb5
a8f0607
 
5ecf27f
fa80ee2
b012910
 
 
 
a8f0607
bfeafb5
 
 
 
 
 
 
 
 
a8f0607
bfeafb5
 
a8f0607
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
import gradio as gr
import pandas as pd

df = pd.read_csv('FuseReviews_leaderboard.csv')

headline = """# FuseReviews Leaderboard

This is the Leaderboard for the [FuseReview](https://fusereviews.github.io/) Benchmark. 

To submit your results to the leaderboard, Please send your predictions to [this mail](mailto:lovodkin93@gmail.com).

Please make sure you send your results is in a csv file with a single column "predictions", and that the predictions align to the testset order. 

Please include in your email 1) a name for your model, 2) your team name (including your affiliation), and optionally, 3) a github repo or paper link.
"""
demo = gr.Blocks()
with demo:
    with gr.Row():
        gr.Markdown(headline)

    with gr.Column():
        leaderboard_df = gr.components.DataFrame(
            value=df,
            datatype=["markdown", "number", "number", "number"]
        )

demo.launch()