felix commited on
Commit
7411847
1 Parent(s): 358b71c
.gitignore ADDED
File without changes
app.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # app.py
2
+ import streamlit as st
3
+ import glob
4
+ import os
5
+ from datetime import datetime
6
+
7
+ st.set_page_config(layout="wide")
8
+ st.title('Meta Open LLM leaderboard')
9
+
10
+ data_path = './data/20230820_0354/'
11
+
12
+ # Extracting date and time information from the path
13
+ date_str = data_path.split('/')[-2]
14
+ parsed_date = datetime.strptime(date_str, "%Y%m%d_%H%M")
15
+
16
+ # Formatting the parsed date
17
+ formatted_date = parsed_date.strftime("%b %d, %Y %H:%M")
18
+
19
+ st.subheader("Generated on: " + formatted_date)
20
+ imgs = glob.glob(os.path.join(data_path, '*.png'))
21
+
22
+ cols = st.columns(2)
23
+
24
+ for i, img in enumerate(imgs):
25
+ cols[i % 2].image(img, width=None)
data/20230820_0354/hf_llm_diagramv2.png ADDED
data/20230820_0354/hg_average_to_agentbench_compare.png ADDED
data/20230820_0354/hg_average_to_alpacaeval_compare.png ADDED
data/20230820_0354/hg_average_to_mosaic_compare.png ADDED
data/20230820_0354/hg_average_to_mt_bench_compare.png ADDED
data/20230820_0354/hg_average_to_opencompass_compare.png ADDED
requirements.txt ADDED
File without changes