File size: 463 Bytes
1fac449
 
 
 
 
 
 
3f1fad3
 
 
 
 
 
 
1fac449
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import streamlit as st
import pandas as pd

# Load the CSV file
file_path = "data/concat_all_subjects_EM_per_error.csv"
df = pd.read_csv(file_path)

df["Subject"] = df["Subject"].apply(lambda x: x.replace("_", " "))

for column in df.columns[2:]:
    df[column] = df[column].apply(lambda x: round(float(x) * 100, 2) if x != "-" else "-")

print(df)

# Streamlit app
st.title("Exact Match (EM) for each model on all MMLU-Redux subjects combined")

st.dataframe(df)