Commit
β’
3d89639
1
Parent(s):
d1e562c
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ ds = load_dataset("CohereForAI/mmlu-translations-results", split="train", token=
|
|
24 |
|
25 |
df = ds.to_pandas()
|
26 |
|
27 |
-
st.title("MMLU
|
28 |
|
29 |
st.markdown(f"**Total tasks completed:** {len(ds)}")
|
30 |
|
@@ -61,7 +61,6 @@ st.table(language_counts_df)
|
|
61 |
# Display the plot in the Streamlit app
|
62 |
st.pyplot(fig)
|
63 |
|
64 |
-
|
65 |
# Extract user_id from the is_edit_required field in the response column and count occurrences
|
66 |
user_ids = df['responses'].apply(lambda x: x['is_edit_required']).explode().apply(lambda x: x['user_id'])
|
67 |
user_id_counts = user_ids.value_counts()
|
|
|
24 |
|
25 |
df = ds.to_pandas()
|
26 |
|
27 |
+
st.title("π MMLU Translation Review Progress π")
|
28 |
|
29 |
st.markdown(f"**Total tasks completed:** {len(ds)}")
|
30 |
|
|
|
61 |
# Display the plot in the Streamlit app
|
62 |
st.pyplot(fig)
|
63 |
|
|
|
64 |
# Extract user_id from the is_edit_required field in the response column and count occurrences
|
65 |
user_ids = df['responses'].apply(lambda x: x['is_edit_required']).explode().apply(lambda x: x['user_id'])
|
66 |
user_id_counts = user_ids.value_counts()
|