Corey Morris
commited on
Commit
•
b601bef
1
Parent(s):
383dc16
Updated
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
import plotly.express as px
|
4 |
-
from result_data_processor import ResultDataProcessor
|
5 |
import matplotlib.pyplot as plt
|
6 |
import numpy as np
|
7 |
import plotly.graph_objects as go
|
@@ -111,8 +110,6 @@ def find_top_differences_table(df, target_model, closest_models, num_differences
|
|
111 |
unique_top_differences_tasks = list(set(top_differences_table['Task'].tolist()))
|
112 |
return top_differences_table, unique_top_differences_tasks
|
113 |
|
114 |
-
# data_provider = ResultDataProcessor()
|
115 |
-
|
116 |
# st.title('Model Evaluation Results including MMLU by task')
|
117 |
st.title('Interactive Portal for Analyzing Open Source Large Language Models')
|
118 |
st.markdown("""***Last updated September 30th***""")
|
@@ -135,7 +132,6 @@ data_df.set_index("Model Name", inplace=True)
|
|
135 |
filters = st.checkbox('Select Models and/or Evaluations')
|
136 |
|
137 |
# Initialize selected columns with "Parameters" and "MMLU_average" if filters are checked
|
138 |
-
# selected_columns = ['Parameters', 'MMLU_average'] if filters else data_provider.data.columns.tolist()
|
139 |
selected_columns = ['Parameters', 'MMLU_average'] if filters else data_df.columns.tolist()
|
140 |
|
141 |
# Initialize selected models as empty if filters are checked
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
import plotly.express as px
|
|
|
4 |
import matplotlib.pyplot as plt
|
5 |
import numpy as np
|
6 |
import plotly.graph_objects as go
|
|
|
110 |
unique_top_differences_tasks = list(set(top_differences_table['Task'].tolist()))
|
111 |
return top_differences_table, unique_top_differences_tasks
|
112 |
|
|
|
|
|
113 |
# st.title('Model Evaluation Results including MMLU by task')
|
114 |
st.title('Interactive Portal for Analyzing Open Source Large Language Models')
|
115 |
st.markdown("""***Last updated September 30th***""")
|
|
|
132 |
filters = st.checkbox('Select Models and/or Evaluations')
|
133 |
|
134 |
# Initialize selected columns with "Parameters" and "MMLU_average" if filters are checked
|
|
|
135 |
selected_columns = ['Parameters', 'MMLU_average'] if filters else data_df.columns.tolist()
|
136 |
|
137 |
# Initialize selected models as empty if filters are checked
|