Spaces:
Restarting
on
CPU Upgrade
Restarting
on
CPU Upgrade
File size: 621 Bytes
e8d974b 4f7320b e8d974b 4f7320b e8d974b 4f7320b e8d974b 4f7320b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import gradio as gr
import pandas as pd
csv_filename = 'leaderboard.csv'
def create_interface_blocks(csv_filename):
with gr.Blocks() as demo:
df = pd.read_csv(csv_filename, sep=';')
gr.Markdown("# Classifica dei LLM italiani")
link = "https://forms.gle/Gc9Dfu52xSBhQPpAA"
gr.Markdown(f"I modelli sono testati su SQuAD-it e ordinati per F1 Score e EM (Exact Match).Si ringrazia il @galatolo per il codice dell'eval. Se volete aggiungere il vostro modello compilate il form {link}")
gr.Dataframe(df)
return demo
demo = create_interface_blocks(csv_filename)
demo.launch() |