Spaces:
Runtime error
Runtime error
aesthetic
Browse files
app.py
CHANGED
@@ -5,6 +5,13 @@ import pandas as pd
|
|
5 |
file_path = "data/concat_all_subjects_EM_per_error.csv"
|
6 |
df = pd.read_csv(file_path)
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
# Streamlit app
|
9 |
st.title("Exact Match (EM) for each model on all MMLU-Redux subjects combined")
|
10 |
|
|
|
5 |
file_path = "data/concat_all_subjects_EM_per_error.csv"
|
6 |
df = pd.read_csv(file_path)
|
7 |
|
8 |
+
df["Subject"] = df["Subject"].apply(lambda x: x.replace("_", " "))
|
9 |
+
|
10 |
+
for column in df.columns[2:]:
|
11 |
+
df[column] = df[column].apply(lambda x: round(float(x) * 100, 2) if x != "-" else "-")
|
12 |
+
|
13 |
+
print(df)
|
14 |
+
|
15 |
# Streamlit app
|
16 |
st.title("Exact Match (EM) for each model on all MMLU-Redux subjects combined")
|
17 |
|