MMLU-Redux-EDA / app.py
aryopg's picture
aesthetic
3f1fad3
raw
history blame contribute delete
463 Bytes
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)