Spaces:
Sleeping
Sleeping
update with new scores
Browse files- app.py +56 -17
- data/promptbook/data-00000-of-00022.arrow +2 -2
- data/promptbook/data-00001-of-00022.arrow +2 -2
- data/promptbook/data-00002-of-00022.arrow +2 -2
- data/promptbook/data-00003-of-00022.arrow +2 -2
- data/promptbook/data-00004-of-00022.arrow +2 -2
- data/promptbook/data-00005-of-00022.arrow +2 -2
- data/promptbook/data-00006-of-00022.arrow +2 -2
- data/promptbook/data-00007-of-00022.arrow +2 -2
- data/promptbook/data-00008-of-00022.arrow +2 -2
- data/promptbook/data-00009-of-00022.arrow +2 -2
- data/promptbook/data-00010-of-00022.arrow +2 -2
- data/promptbook/data-00011-of-00022.arrow +2 -2
- data/promptbook/data-00012-of-00022.arrow +2 -2
- data/promptbook/data-00013-of-00022.arrow +2 -2
- data/promptbook/data-00014-of-00022.arrow +2 -2
- data/promptbook/data-00015-of-00022.arrow +2 -2
- data/promptbook/data-00016-of-00022.arrow +2 -2
- data/promptbook/data-00017-of-00022.arrow +2 -2
- data/promptbook/data-00018-of-00022.arrow +2 -2
- data/promptbook/data-00019-of-00022.arrow +2 -2
- data/promptbook/data-00020-of-00022.arrow +2 -2
- data/promptbook/data-00021-of-00022.arrow +2 -2
- data/promptbook/dataset_info.json +72 -48
- data/promptbook/state.json +1 -1
- data/roster/dataset_info.json +1 -1
- data/roster/state.json +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -5,12 +5,13 @@ import pandas as pd
|
|
5 |
import glob
|
6 |
import csv
|
7 |
from PIL import Image
|
|
|
8 |
from datasets import load_dataset, Dataset, load_from_disk
|
9 |
from huggingface_hub import login
|
10 |
import os
|
11 |
-
import datasets
|
12 |
import requests
|
13 |
-
|
|
|
14 |
|
15 |
|
16 |
class GalleryApp:
|
@@ -127,16 +128,42 @@ class GalleryApp:
|
|
127 |
# st.image(image_url, use_column_width=True)
|
128 |
|
129 |
# with images:
|
130 |
-
selecters = st.columns([
|
|
|
131 |
|
132 |
with selecters[0]:
|
133 |
-
# sort_by = st.selectbox('Sort by', items.columns[11: -1])
|
134 |
-
sort_by = st.selectbox('Sort by', ['model_download_count', 'clip_score', 'avg_rank', 'model_name', 'model_id',
|
135 |
-
|
136 |
print(items.columns)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
|
138 |
with selecters[1]:
|
139 |
-
order = st.selectbox('Order', ['Ascending', 'Descending'], index=1 if
|
140 |
if order == 'Ascending':
|
141 |
order = True
|
142 |
else:
|
@@ -145,19 +172,31 @@ class GalleryApp:
|
|
145 |
items = items.sort_values(by=[sort_by], ascending=order).reset_index(drop=True)
|
146 |
|
147 |
with selecters[2]:
|
148 |
-
info = st.multiselect('Show Info',
|
149 |
-
['model_download_count', 'clip_score', 'avg_rank', 'model_name', 'model_id',
|
150 |
-
'modelVersion_name', 'modelVersion_id'],
|
151 |
-
default=sort_by)
|
152 |
-
|
153 |
-
col_num = st.slider('Number of columns', min_value=1, max_value=9, value=4, step=1, key='col_num')
|
154 |
-
|
155 |
-
with selecters[3]:
|
156 |
filter = st.selectbox('Filter', ['All', 'Checked', 'Unchecked'])
|
157 |
if filter == 'Checked':
|
158 |
-
items = items[items['checked']
|
159 |
elif filter == 'Unchecked':
|
160 |
-
items = items[items['checked']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
with st.form(key=f'{prompt_id}', clear_on_submit=False):
|
163 |
buttons = st.columns([1, 1, 1])
|
|
|
5 |
import glob
|
6 |
import csv
|
7 |
from PIL import Image
|
8 |
+
import datasets
|
9 |
from datasets import load_dataset, Dataset, load_from_disk
|
10 |
from huggingface_hub import login
|
11 |
import os
|
|
|
12 |
import requests
|
13 |
+
|
14 |
+
SCORE_NAME_MAPPING = {'clip': 'clip_score', 'rank': 'avg_rank', 'pop': 'model_download_count'}
|
15 |
|
16 |
|
17 |
class GalleryApp:
|
|
|
128 |
# st.image(image_url, use_column_width=True)
|
129 |
|
130 |
# with images:
|
131 |
+
# selecters = st.columns([2, 1, 2, 0.5])
|
132 |
+
selecters = st.columns([4, 1, 1])
|
133 |
|
134 |
with selecters[0]:
|
135 |
+
# # sort_by = st.selectbox('Sort by', items.columns[11: -1])
|
136 |
+
# sort_by = st.selectbox('Sort by', ['model_download_count', 'clip_score', 'avg_rank', 'model_name', 'model_id',
|
137 |
+
# 'modelVersion_name', 'modelVersion_id'])
|
138 |
print(items.columns)
|
139 |
+
types = st.columns([1, 3])
|
140 |
+
with types[0]:
|
141 |
+
sort_type = st.selectbox('Sort by', ['IDs and Names', 'Scores'])
|
142 |
+
with types[1]:
|
143 |
+
if sort_type == 'IDs and Names':
|
144 |
+
sort_by = st.selectbox('Sort by', ['model_name', 'model_id', 'modelVersion_name', 'modelVersion_id'], label_visibility='hidden')
|
145 |
+
elif sort_type == 'Scores':
|
146 |
+
sort_by = st.multiselect('Sort by', ['clip_score', 'avg_rank', 'popularity'], label_visibility='hidden', default=['clip_score', 'avg_rank', 'popularity'])
|
147 |
+
# process sort_by to map to the column name
|
148 |
+
|
149 |
+
if len(sort_by) == 3:
|
150 |
+
sort_by = 'clip+rank+pop'
|
151 |
+
elif len(sort_by) == 2:
|
152 |
+
if 'clip_score' in sort_by and 'avg_rank' in sort_by:
|
153 |
+
sort_by = 'clip+rank'
|
154 |
+
elif 'clip_score' in sort_by and 'popularity' in sort_by:
|
155 |
+
sort_by = 'clip+pop'
|
156 |
+
elif 'avg_rank' in sort_by and 'popularity' in sort_by:
|
157 |
+
sort_by = 'rank+pop'
|
158 |
+
elif len(sort_by) == 1:
|
159 |
+
if 'popularity' in sort_by:
|
160 |
+
sort_by = 'model_download_count'
|
161 |
+
else:
|
162 |
+
sort_by = sort_by[0]
|
163 |
+
print(sort_by)
|
164 |
|
165 |
with selecters[1]:
|
166 |
+
order = st.selectbox('Order', ['Ascending', 'Descending'], index=1 if sort_type == 'Scores' else 0)
|
167 |
if order == 'Ascending':
|
168 |
order = True
|
169 |
else:
|
|
|
172 |
items = items.sort_values(by=[sort_by], ascending=order).reset_index(drop=True)
|
173 |
|
174 |
with selecters[2]:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
filter = st.selectbox('Filter', ['All', 'Checked', 'Unchecked'])
|
176 |
if filter == 'Checked':
|
177 |
+
items = items[items['checked'] is True].reset_index(drop=True)
|
178 |
elif filter == 'Unchecked':
|
179 |
+
items = items[items['checked'] is False].reset_index(drop=True)
|
180 |
+
|
181 |
+
info = st.multiselect('Show Info',
|
182 |
+
['model_download_count', 'clip_score', 'avg_rank', 'model_name', 'model_id',
|
183 |
+
'modelVersion_name', 'modelVersion_id', 'clip+rank', 'clip+pop', 'rank+pop', 'clip+rank+pop'],
|
184 |
+
default=sort_by)
|
185 |
+
|
186 |
+
print('info', info)
|
187 |
+
# add one annotation
|
188 |
+
mentioned_scores = []
|
189 |
+
for i in info:
|
190 |
+
if '+' in i:
|
191 |
+
mentioned = i.split('+')
|
192 |
+
for m in mentioned:
|
193 |
+
if SCORE_NAME_MAPPING[m] not in mentioned_scores:
|
194 |
+
mentioned_scores.append(SCORE_NAME_MAPPING[m])
|
195 |
+
if len(mentioned_scores) > 0:
|
196 |
+
st.write(f"**Note: ** The scores {mentioned_scores} are normalized to [0, 1] for each score type, and then added together. The higher the score, the better the model.")
|
197 |
+
|
198 |
+
|
199 |
+
col_num = st.slider('Number of columns', min_value=1, max_value=9, value=4, step=1, key='col_num')
|
200 |
|
201 |
with st.form(key=f'{prompt_id}', clear_on_submit=False):
|
202 |
buttons = st.columns([1, 1, 1])
|
data/promptbook/data-00000-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f0f9eb728dda350ed100e7bdabd475a4a50c36d5a4d9357243df73dd4a9ab32
|
3 |
+
size 483295624
|
data/promptbook/data-00001-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6004989021ba5a47d2c8e4e7ff9ebc22dcd0ab0a66e7c08f9c185707b5adf482
|
3 |
+
size 477983416
|
data/promptbook/data-00002-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db9aa2195aae4f0eec4b9c33eb301e507c0c0c3c6d28cce230a49cea3cd142c8
|
3 |
+
size 477397056
|
data/promptbook/data-00003-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa488ad7c12eff4d3ea83c4af4d13935be58c79fadf605a90a506c4ec895205e
|
3 |
+
size 475234856
|
data/promptbook/data-00004-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:913f5f2d1a1b4f43af7ee3a445fd95b7be131632c8fe6ebc4e62043f11d8993c
|
3 |
+
size 482131528
|
data/promptbook/data-00005-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09dc3cd5f200fcb9b51ce5b1f765e64fbd2a1e874baf94786e1b4be9f6603fb1
|
3 |
+
size 472987752
|
data/promptbook/data-00006-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7e54194316d71d22cd6a4d85e3b40224398ad59e7eb0a6f100df81ec2b24525
|
3 |
+
size 475610624
|
data/promptbook/data-00007-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59d63c0724cb6d1a92c927e7b50451298a2da0e3026749f1e0407bfef6428a0b
|
3 |
+
size 479514232
|
data/promptbook/data-00008-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed5fb44739c7a19a3def2a73bc517ce5ee61d8c5264476d8ee15f58707086c65
|
3 |
+
size 480864280
|
data/promptbook/data-00009-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:185a7a3d7bc290ac3885d60258a87a39b2e1e4b5c9b37c28bdc26a7b9216a63b
|
3 |
+
size 477024712
|
data/promptbook/data-00010-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:274c1c6ffa42ecc90a429e1c291120e980e4b2f41a94dc6370eeac07fc2b60da
|
3 |
+
size 478651056
|
data/promptbook/data-00011-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6027ca4f2e1271ac592b9f7e4d8468c12faa35e4c80f1a4389d32a683d5eb945
|
3 |
+
size 476504960
|
data/promptbook/data-00012-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37c314075c4646441e93f8e1da51b2fba28d07f78c874758db049f59a8ea96f8
|
3 |
+
size 474734080
|
data/promptbook/data-00013-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57ed55fd2e9fbef61ce2ce33cb1a0db2c2b1e95c398008b9a5b3ef6f2c8191fd
|
3 |
+
size 477410888
|
data/promptbook/data-00014-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d220f7a0dbec186769fe0d914e2e5833e82f983e7174a5662eb20f521c301d0
|
3 |
+
size 473461464
|
data/promptbook/data-00015-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4abf3685722d1d81ff9cb1782d16af41d7423326d349329ee60c21d1b38d73b3
|
3 |
+
size 480727944
|
data/promptbook/data-00016-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34aa9bb1d7a4f36e16b51892452df8e50e354593107925e230137b303e768241
|
3 |
+
size 478807688
|
data/promptbook/data-00017-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62b0341bdedb2e85c62f695c7a8fa245a887d7f9b7a37ffb2716a5af41073095
|
3 |
+
size 479314720
|
data/promptbook/data-00018-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ecf897a49f9f0bd934e2d17fb71929117a8cfe65db4fc5b440cd9a9c7a69494
|
3 |
+
size 485135448
|
data/promptbook/data-00019-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e324a22f2d4b80294c89972873e21f8ae1755963cdeb3dad7186fd566c170af0
|
3 |
+
size 476460440
|
data/promptbook/data-00020-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92089da7f6c5dd153a110841205f350ed3e5e560073f62a793715e9e5e5ec285
|
3 |
+
size 477311424
|
data/promptbook/data-00021-of-00022.arrow
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c37ce094513f350ee1b3953c3f5a27e7108ec723b95351f1c9b95a8e739b315c
|
3 |
+
size 476791824
|
data/promptbook/dataset_info.json
CHANGED
@@ -1,98 +1,98 @@
|
|
1 |
{
|
2 |
"citation": "",
|
3 |
-
"dataset_size":
|
4 |
"description": "",
|
5 |
"download_checksums": {
|
6 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
7 |
-
"num_bytes":
|
8 |
"checksum": null
|
9 |
},
|
10 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
11 |
-
"num_bytes":
|
12 |
"checksum": null
|
13 |
},
|
14 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
15 |
-
"num_bytes":
|
16 |
"checksum": null
|
17 |
},
|
18 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
19 |
-
"num_bytes":
|
20 |
"checksum": null
|
21 |
},
|
22 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
23 |
-
"num_bytes":
|
24 |
"checksum": null
|
25 |
},
|
26 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
27 |
-
"num_bytes":
|
28 |
"checksum": null
|
29 |
},
|
30 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
31 |
-
"num_bytes":
|
32 |
"checksum": null
|
33 |
},
|
34 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
35 |
-
"num_bytes":
|
36 |
"checksum": null
|
37 |
},
|
38 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
39 |
-
"num_bytes":
|
40 |
"checksum": null
|
41 |
},
|
42 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
43 |
-
"num_bytes":
|
44 |
"checksum": null
|
45 |
},
|
46 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
47 |
-
"num_bytes":
|
48 |
"checksum": null
|
49 |
},
|
50 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
51 |
-
"num_bytes":
|
52 |
"checksum": null
|
53 |
},
|
54 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
55 |
-
"num_bytes":
|
56 |
"checksum": null
|
57 |
},
|
58 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
59 |
-
"num_bytes":
|
60 |
"checksum": null
|
61 |
},
|
62 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
63 |
-
"num_bytes":
|
64 |
"checksum": null
|
65 |
},
|
66 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
67 |
-
"num_bytes":
|
68 |
"checksum": null
|
69 |
},
|
70 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
71 |
-
"num_bytes":
|
72 |
"checksum": null
|
73 |
},
|
74 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
75 |
-
"num_bytes":
|
76 |
"checksum": null
|
77 |
},
|
78 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
79 |
-
"num_bytes":
|
80 |
"checksum": null
|
81 |
},
|
82 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
83 |
-
"num_bytes":
|
84 |
"checksum": null
|
85 |
},
|
86 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
87 |
-
"num_bytes":
|
88 |
"checksum": null
|
89 |
},
|
90 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/
|
91 |
-
"num_bytes":
|
92 |
"checksum": null
|
93 |
}
|
94 |
},
|
95 |
-
"download_size":
|
96 |
"features": {
|
97 |
"image": {
|
98 |
"_type": "Image"
|
@@ -148,15 +148,39 @@
|
|
148 |
"avg_rank": {
|
149 |
"dtype": "float64",
|
150 |
"_type": "Value"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
},
|
153 |
"homepage": "",
|
154 |
"license": "",
|
155 |
-
"size_in_bytes":
|
156 |
"splits": {
|
157 |
"train": {
|
158 |
"name": "train",
|
159 |
-
"num_bytes":
|
160 |
"num_examples": 16000,
|
161 |
"shard_lengths": [
|
162 |
1456,
|
|
|
1 |
{
|
2 |
"citation": "",
|
3 |
+
"dataset_size": 10517300307,
|
4 |
"description": "",
|
5 |
"download_checksums": {
|
6 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00000-of-00022-db7ed305115f3cb9.parquet": {
|
7 |
+
"num_bytes": 483075826,
|
8 |
"checksum": null
|
9 |
},
|
10 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00001-of-00022-845dae41ec2ab1fa.parquet": {
|
11 |
+
"num_bytes": 477762861,
|
12 |
"checksum": null
|
13 |
},
|
14 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00002-of-00022-5e322676c173a266.parquet": {
|
15 |
+
"num_bytes": 477177953,
|
16 |
"checksum": null
|
17 |
},
|
18 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00003-of-00022-50de8db55f1a0b8e.parquet": {
|
19 |
+
"num_bytes": 475022921,
|
20 |
"checksum": null
|
21 |
},
|
22 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00004-of-00022-ef01abfc9d458a62.parquet": {
|
23 |
+
"num_bytes": 481912877,
|
24 |
"checksum": null
|
25 |
},
|
26 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00005-of-00022-ba777230941afea0.parquet": {
|
27 |
+
"num_bytes": 472775360,
|
28 |
"checksum": null
|
29 |
},
|
30 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00006-of-00022-69a4b56a22bc287d.parquet": {
|
31 |
+
"num_bytes": 475395684,
|
32 |
"checksum": null
|
33 |
},
|
34 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00007-of-00022-b4a75e01be2ae794.parquet": {
|
35 |
+
"num_bytes": 479294189,
|
36 |
"checksum": null
|
37 |
},
|
38 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00008-of-00022-f83fddf0f10be42d.parquet": {
|
39 |
+
"num_bytes": 480642402,
|
40 |
"checksum": null
|
41 |
},
|
42 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00009-of-00022-08188f8a025a3f46.parquet": {
|
43 |
+
"num_bytes": 476808138,
|
44 |
"checksum": null
|
45 |
},
|
46 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00010-of-00022-1a1aa0f04aeb11fb.parquet": {
|
47 |
+
"num_bytes": 478429350,
|
48 |
"checksum": null
|
49 |
},
|
50 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00011-of-00022-3d664509d194568c.parquet": {
|
51 |
+
"num_bytes": 476283059,
|
52 |
"checksum": null
|
53 |
},
|
54 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00012-of-00022-8303ad8493c4744b.parquet": {
|
55 |
+
"num_bytes": 474514543,
|
56 |
"checksum": null
|
57 |
},
|
58 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00013-of-00022-6767a389f1309f8d.parquet": {
|
59 |
+
"num_bytes": 477192184,
|
60 |
"checksum": null
|
61 |
},
|
62 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00014-of-00022-5ede5c4cbbe329b3.parquet": {
|
63 |
+
"num_bytes": 473245152,
|
64 |
"checksum": null
|
65 |
},
|
66 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00015-of-00022-bf1cd54c3a1910ec.parquet": {
|
67 |
+
"num_bytes": 480506353,
|
68 |
"checksum": null
|
69 |
},
|
70 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00016-of-00022-ce47fe50aa1ba900.parquet": {
|
71 |
+
"num_bytes": 478587881,
|
72 |
"checksum": null
|
73 |
},
|
74 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00017-of-00022-d66aeaf6eae64479.parquet": {
|
75 |
+
"num_bytes": 479099221,
|
76 |
"checksum": null
|
77 |
},
|
78 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00018-of-00022-07436ca459c527b4.parquet": {
|
79 |
+
"num_bytes": 484918335,
|
80 |
"checksum": null
|
81 |
},
|
82 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00019-of-00022-409bfea998c296dd.parquet": {
|
83 |
+
"num_bytes": 476245370,
|
84 |
"checksum": null
|
85 |
},
|
86 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00020-of-00022-03c16c0058c5d083.parquet": {
|
87 |
+
"num_bytes": 477093198,
|
88 |
"checksum": null
|
89 |
},
|
90 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/784dc12ec8b5191524bb8ae145dd2a41658cb5ec/data/train-00021-of-00022-663fb7b32c13cf84.parquet": {
|
91 |
+
"num_bytes": 476572989,
|
92 |
"checksum": null
|
93 |
}
|
94 |
},
|
95 |
+
"download_size": 10512555846,
|
96 |
"features": {
|
97 |
"image": {
|
98 |
"_type": "Image"
|
|
|
148 |
"avg_rank": {
|
149 |
"dtype": "float64",
|
150 |
"_type": "Value"
|
151 |
+
},
|
152 |
+
"norm_pop": {
|
153 |
+
"dtype": "float64",
|
154 |
+
"_type": "Value"
|
155 |
+
},
|
156 |
+
"norm_clip": {
|
157 |
+
"dtype": "float64",
|
158 |
+
"_type": "Value"
|
159 |
+
},
|
160 |
+
"clip+rank+pop": {
|
161 |
+
"dtype": "float64",
|
162 |
+
"_type": "Value"
|
163 |
+
},
|
164 |
+
"clip+rank": {
|
165 |
+
"dtype": "float64",
|
166 |
+
"_type": "Value"
|
167 |
+
},
|
168 |
+
"clip+pop": {
|
169 |
+
"dtype": "float64",
|
170 |
+
"_type": "Value"
|
171 |
+
},
|
172 |
+
"rank+pop": {
|
173 |
+
"dtype": "float64",
|
174 |
+
"_type": "Value"
|
175 |
}
|
176 |
},
|
177 |
"homepage": "",
|
178 |
"license": "",
|
179 |
+
"size_in_bytes": 21029856153,
|
180 |
"splits": {
|
181 |
"train": {
|
182 |
"name": "train",
|
183 |
+
"num_bytes": 10517300307,
|
184 |
"num_examples": 16000,
|
185 |
"shard_lengths": [
|
186 |
1456,
|
data/promptbook/state.json
CHANGED
@@ -67,7 +67,7 @@
|
|
67 |
"filename": "data-00021-of-00022.arrow"
|
68 |
}
|
69 |
],
|
70 |
-
"_fingerprint": "
|
71 |
"_format_columns": null,
|
72 |
"_format_kwargs": {},
|
73 |
"_format_type": null,
|
|
|
67 |
"filename": "data-00021-of-00022.arrow"
|
68 |
}
|
69 |
],
|
70 |
+
"_fingerprint": "c573a12f4a0f0965",
|
71 |
"_format_columns": null,
|
72 |
"_format_kwargs": {},
|
73 |
"_format_type": null,
|
data/roster/dataset_info.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
"dataset_size": 145934,
|
4 |
"description": "",
|
5 |
"download_checksums": {
|
6 |
-
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferRoster/resolve/
|
7 |
"num_bytes": 27979,
|
8 |
"checksum": null
|
9 |
}
|
|
|
3 |
"dataset_size": 145934,
|
4 |
"description": "",
|
5 |
"download_checksums": {
|
6 |
+
"https://huggingface.co/datasets/NYUSHPRP/ModelCofferRoster/resolve/ca9efb0b73c3383dfb5bc9fff380b068d468bfde/data/train-00000-of-00001-0fd3ef44b360ac99.parquet": {
|
7 |
"num_bytes": 27979,
|
8 |
"checksum": null
|
9 |
}
|
data/roster/state.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"filename": "data-00000-of-00001.arrow"
|
5 |
}
|
6 |
],
|
7 |
-
"_fingerprint": "
|
8 |
"_format_columns": null,
|
9 |
"_format_kwargs": {},
|
10 |
"_format_type": null,
|
|
|
4 |
"filename": "data-00000-of-00001.arrow"
|
5 |
}
|
6 |
],
|
7 |
+
"_fingerprint": "9508df8b007debc4",
|
8 |
"_format_columns": null,
|
9 |
"_format_kwargs": {},
|
10 |
"_format_type": null,
|
requirements.txt
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
huggingface_hub
|
2 |
streamlit-elements==0.1.0
|
3 |
streamlit-extras
|
4 |
-
altair<5
|
|
|
|
1 |
huggingface_hub
|
2 |
streamlit-elements==0.1.0
|
3 |
streamlit-extras
|
4 |
+
altair<5
|
5 |
+
streamlit-plotly-events
|