Suqi Sun commited on
Commit
6eb17e2
1 Parent(s): c173eef

Upload 3 metrics

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. app.py +8 -4
  2. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_age.jsonl.tar.gz +0 -0
  3. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_autre.jsonl.tar.gz +0 -0
  4. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_disability.jsonl.tar.gz +0 -0
  5. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_gender.jsonl.tar.gz +0 -0
  6. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
  7. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
  8. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
  9. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_religion.jsonl.tar.gz +0 -0
  10. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
  11. eval-results/crowspairs/0/ckpt_003/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
  12. eval-results/crowspairs/0/ckpt_003/results.json.tar.gz +0 -0
  13. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_age.jsonl.tar.gz +0 -0
  14. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_autre.jsonl.tar.gz +0 -0
  15. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_disability.jsonl.tar.gz +0 -0
  16. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_gender.jsonl.tar.gz +0 -0
  17. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
  18. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
  19. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
  20. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_religion.jsonl.tar.gz +0 -0
  21. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
  22. eval-results/crowspairs/0/ckpt_006/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
  23. eval-results/crowspairs/0/ckpt_006/results.json.tar.gz +0 -0
  24. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_age.jsonl.tar.gz +0 -0
  25. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_autre.jsonl.tar.gz +0 -0
  26. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_disability.jsonl.tar.gz +0 -0
  27. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_gender.jsonl.tar.gz +0 -0
  28. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
  29. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
  30. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
  31. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_religion.jsonl.tar.gz +0 -0
  32. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
  33. eval-results/crowspairs/0/ckpt_009/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
  34. eval-results/crowspairs/0/ckpt_009/results.json.tar.gz +0 -0
  35. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_age.jsonl.tar.gz +0 -0
  36. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_autre.jsonl.tar.gz +0 -0
  37. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_disability.jsonl.tar.gz +0 -0
  38. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_gender.jsonl.tar.gz +0 -0
  39. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_nationality.jsonl.tar.gz +0 -0
  40. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_physical_appearance.jsonl.tar.gz +0 -0
  41. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_race_color.jsonl.tar.gz +0 -0
  42. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_religion.jsonl.tar.gz +0 -0
  43. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_sexual_orientation.jsonl.tar.gz +0 -0
  44. eval-results/crowspairs/0/ckpt_012/crows_pairs_english_socioeconomic.jsonl.tar.gz +0 -0
  45. eval-results/crowspairs/0/ckpt_012/results.json.tar.gz +0 -0
  46. eval-results/crowspairs/0/ckpt_015/crows_pairs_english_age.jsonl.tar.gz +0 -0
  47. eval-results/crowspairs/0/ckpt_015/crows_pairs_english_autre.jsonl.tar.gz +0 -0
  48. eval-results/crowspairs/0/ckpt_015/crows_pairs_english_disability.jsonl.tar.gz +0 -0
  49. eval-results/crowspairs/0/ckpt_015/crows_pairs_english_gender.jsonl.tar.gz +0 -0
  50. 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
- PARENT_PATH: str = os.path.join(os.path.dirname(os.path.abspath(__file__)))
9
- EVAL_DIR: str = os.path.join(PARENT_PATH, "eval-results")
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
- html = f"<img src='https://www.llm360.ai/images/logo-highres.png' width='100' /><img src='https://huggingface.co/spaces/LLM360/k2-gallery/blob/main/k2-logo.svg' width='100' />"
15
- st.markdown(html, unsafe_allow_html=True)
 
 
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