Spaces:
Sleeping
Sleeping
Suqi Sun
commited on
Commit
•
6eb17e2
1
Parent(s):
c173eef
Upload 3 metrics
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- app.py +8 -4
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_age.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_autre.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_disability.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_gender.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_religion.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_003/results.json.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_age.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_autre.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_disability.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_gender.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_religion.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_006/results.json.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_age.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_autre.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_disability.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_gender.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_religion.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_009/results.json.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_age.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_autre.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_disability.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_gender.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_religion.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_012/results.json.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_015/crows_pairs_english_age.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_015/crows_pairs_english_autre.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_015/crows_pairs_english_disability.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_015/crows_pairs_english_gender.jsonl.tar.gz +0 -0
- eval-results/crowspairs/0/ckpt_015/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
app.py
CHANGED
@@ -2,17 +2,21 @@ import os
|
|
2 |
import streamlit as st
|
3 |
import json
|
4 |
import tarfile
|
|
|
5 |
|
6 |
st.set_page_config(layout="wide")
|
7 |
|
8 |
-
|
9 |
-
EVAL_DIR: str = os.path.join(
|
10 |
st.title("K2 Evaluation Gallery")
|
11 |
st.markdown("""The K2 gallery allows one to browse the output of various evaluations on intermediate K2 checkpoints, which provides an intuitive understanding on how the model develops and improves over time.""")
|
12 |
|
|
|
13 |
with st.sidebar:
|
14 |
-
|
15 |
-
|
|
|
|
|
16 |
|
17 |
metric = st.radio(
|
18 |
"Choose a metric", options=os.listdir(os.path.join(EVAL_DIR))
|
|
|
2 |
import streamlit as st
|
3 |
import json
|
4 |
import tarfile
|
5 |
+
from base64 import b64encode
|
6 |
|
7 |
st.set_page_config(layout="wide")
|
8 |
|
9 |
+
PARENT_DIR: str = os.path.join(os.path.dirname(os.path.abspath(__file__)))
|
10 |
+
EVAL_DIR: str = os.path.join(PARENT_DIR, "eval-results")
|
11 |
st.title("K2 Evaluation Gallery")
|
12 |
st.markdown("""The K2 gallery allows one to browse the output of various evaluations on intermediate K2 checkpoints, which provides an intuitive understanding on how the model develops and improves over time.""")
|
13 |
|
14 |
+
|
15 |
with st.sidebar:
|
16 |
+
with open(os.path.join(PARENT_DIR, "k2-logo.svg"), 'r') as f:
|
17 |
+
b64 = b64encode(f.read().encode('utf-8')).decode("utf-8")
|
18 |
+
html = f"<img src='https://www.llm360.ai/images/logo-highres.png' width='100' /><img src='data:image/svg+xml;base64,{b64}' width='100' />"
|
19 |
+
st.markdown(html, unsafe_allow_html=True)
|
20 |
|
21 |
metric = st.radio(
|
22 |
"Choose a metric", options=os.listdir(os.path.join(EVAL_DIR))
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_age.jsonl.tar.gz
ADDED
Binary file (10.6 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_autre.jsonl.tar.gz
ADDED
Binary file (1.58 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_disability.jsonl.tar.gz
ADDED
Binary file (7.92 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_gender.jsonl.tar.gz
ADDED
Binary file (35.8 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_nationality.jsonl.tar.gz
ADDED
Binary file (24.5 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_physical_appearance.jsonl.tar.gz
ADDED
Binary file (8.57 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_race_color.jsonl.tar.gz
ADDED
Binary file (58.3 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_religion.jsonl.tar.gz
ADDED
Binary file (13 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_sexual_orientation.jsonl.tar.gz
ADDED
Binary file (11 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/crows_pairs_english_socioeconomic.jsonl.tar.gz
ADDED
Binary file (21.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_003/results.json.tar.gz
ADDED
Binary file (4 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_age.jsonl.tar.gz
ADDED
Binary file (10.6 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_autre.jsonl.tar.gz
ADDED
Binary file (1.56 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_disability.jsonl.tar.gz
ADDED
Binary file (7.91 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_gender.jsonl.tar.gz
ADDED
Binary file (35.8 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_nationality.jsonl.tar.gz
ADDED
Binary file (24.5 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_physical_appearance.jsonl.tar.gz
ADDED
Binary file (8.57 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_race_color.jsonl.tar.gz
ADDED
Binary file (58.3 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_religion.jsonl.tar.gz
ADDED
Binary file (13 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_sexual_orientation.jsonl.tar.gz
ADDED
Binary file (11 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/crows_pairs_english_socioeconomic.jsonl.tar.gz
ADDED
Binary file (21.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_006/results.json.tar.gz
ADDED
Binary file (4.01 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_age.jsonl.tar.gz
ADDED
Binary file (10.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_autre.jsonl.tar.gz
ADDED
Binary file (1.57 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_disability.jsonl.tar.gz
ADDED
Binary file (7.93 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_gender.jsonl.tar.gz
ADDED
Binary file (35.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_nationality.jsonl.tar.gz
ADDED
Binary file (24.5 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_physical_appearance.jsonl.tar.gz
ADDED
Binary file (8.57 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_race_color.jsonl.tar.gz
ADDED
Binary file (58.3 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_religion.jsonl.tar.gz
ADDED
Binary file (13 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_sexual_orientation.jsonl.tar.gz
ADDED
Binary file (11 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/crows_pairs_english_socioeconomic.jsonl.tar.gz
ADDED
Binary file (21.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_009/results.json.tar.gz
ADDED
Binary file (4.02 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_age.jsonl.tar.gz
ADDED
Binary file (10.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_autre.jsonl.tar.gz
ADDED
Binary file (1.57 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_disability.jsonl.tar.gz
ADDED
Binary file (7.94 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_gender.jsonl.tar.gz
ADDED
Binary file (35.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_nationality.jsonl.tar.gz
ADDED
Binary file (24.5 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_physical_appearance.jsonl.tar.gz
ADDED
Binary file (8.57 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_race_color.jsonl.tar.gz
ADDED
Binary file (58.2 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_religion.jsonl.tar.gz
ADDED
Binary file (13 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_sexual_orientation.jsonl.tar.gz
ADDED
Binary file (11 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/crows_pairs_english_socioeconomic.jsonl.tar.gz
ADDED
Binary file (21.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_012/results.json.tar.gz
ADDED
Binary file (3.99 kB). View file
|
|
eval-results/crowspairs/0/ckpt_015/crows_pairs_english_age.jsonl.tar.gz
ADDED
Binary file (10.7 kB). View file
|
|
eval-results/crowspairs/0/ckpt_015/crows_pairs_english_autre.jsonl.tar.gz
ADDED
Binary file (1.57 kB). View file
|
|
eval-results/crowspairs/0/ckpt_015/crows_pairs_english_disability.jsonl.tar.gz
ADDED
Binary file (7.92 kB). View file
|
|
eval-results/crowspairs/0/ckpt_015/crows_pairs_english_gender.jsonl.tar.gz
ADDED
Binary file (35.8 kB). View file
|
|
eval-results/crowspairs/0/ckpt_015/crows_pairs_english_nationality.jsonl.tar.gz
ADDED
Binary file (24.5 kB). View file
|
|