Ricercar commited on
Commit
6963450
1 Parent(s): e866b70

update with new scores

Browse files
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
- from bs4 import BeautifulSoup
 
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([1, 1, 2, 0.5])
 
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
- 'modelVersion_name', 'modelVersion_id'])
136
  print(items.columns)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
 
138
  with selecters[1]:
139
- order = st.selectbox('Order', ['Ascending', 'Descending'], index=1 if sort_by == 'clip_score' or sort_by == 'model_download_count' else 0)
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'] == True].reset_index(drop=True)
159
  elif filter == 'Unchecked':
160
- items = items[items['checked'] == False].reset_index(drop=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:238cd31ed9e367cbec59e5322b83b8ea6b5ff9446c38833529ed512702c0cfd1
3
- size 483259760
 
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:08b68eabdf91ecd58ee5e141a89abc7efb7207870d76d55fd5750bb8719730d6
3
- size 477947552
 
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:385c6182abd7cdb6796361fd840aeae23ded90051bc0a1921d3c9ffc4a08355a
3
- size 477361192
 
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:c101fe055edd405a987fb8d588c55fa4ce8a57d9ed554ff8ba784a179ff7e877
3
- size 475198992
 
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:62736b46f44217fa9eb5b083bfda809c3994932969020ab844cf66aa460629a5
3
- size 482095664
 
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:cf217f6cdcff8bbebefcfee6c755cef9d852c648db89367cd19b91dd31cf4efd
3
- size 472951888
 
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:d45522102e1e774cad8751cfb47e971fc849f7721375f0c18b377c89eaf6a195
3
- size 475574808
 
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:950119ee0f7365e0d5a731b550798f4546737a658140d38fdf89fc29b52d1bd6
3
- size 479478416
 
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:f5d2cc04927322f4a68cfa3fb69601de4be23dc7c1a986cd1574515878d58e1d
3
- size 480828464
 
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:a7b60cd1d1e7b8cf7098cb2ab379cddd18775216245628fcc655c82785483bdf
3
- size 476988896
 
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:02b39a77d161c9b71f9ffb371ea58f884e4ced3531473abff734a06727dae530
3
- size 478615240
 
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:2f5e4d781061c6540446c6b84c1cddb743775e21d4d0180290a7c93d757642ce
3
- size 476469144
 
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:d5596891434388b5341dfce95a5399892a01f33434c47925f40e8f0a0362d201
3
- size 474698264
 
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:72d600670ac0f520fcf98b140a6d2c86c25e6ab39642e0e7ed51e771b8ce67dc
3
- size 477375072
 
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:2061a8fcd5daf005a3448986d7b1ec4a0c2c7e147ca7cfec2fd34289e33e1a6c
3
- size 473425648
 
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:2e24b6db2a0209ffe3d13dc1d6dde53c48b88961ccf5c460dc401c1719e7c27f
3
- size 480692128
 
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:6c9b508f0d07567e716e2e177fc05dbf409ecbb89012b5af398bdb4fc5a3e90d
3
- size 478771872
 
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:cf43d7924a6246c781ecc506ccab21dd16159c3c7c92184e83a28f5d4fc1856b
3
- size 479278904
 
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:ca8868c8fc0003373ccfc4d5983ede2469d5af28b15281df5283d15fc3271c81
3
- size 485099632
 
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:e28314c8219567d6176be61fbb7fa2dd8a899ed87f54998a95e3e2716370db90
3
- size 476424624
 
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:f10087cf66e0a969c1bb5e6c312017df4f12017613241b398d988b3ef8662669
3
- size 477275608
 
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:b6bec9ed7ce39c46b33fd7a194fd5c4ba2dfda81496348cef22c8e6a48260f1e
3
- size 476756008
 
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": 10516520295,
4
  "description": "",
5
  "download_checksums": {
6
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00000-of-00022-f39c13cf9e60182c.parquet": {
7
- "num_bytes": 483043359,
8
  "checksum": null
9
  },
10
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00001-of-00022-a2ee7ad093f3c24d.parquet": {
11
- "num_bytes": 477728840,
12
  "checksum": null
13
  },
14
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00002-of-00022-6b89004355cf83c1.parquet": {
15
- "num_bytes": 477145283,
16
  "checksum": null
17
  },
18
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00003-of-00022-2ee3ace68aa24e41.parquet": {
19
- "num_bytes": 474988403,
20
  "checksum": null
21
  },
22
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00004-of-00022-ba8c23b6001c009e.parquet": {
23
- "num_bytes": 481880185,
24
  "checksum": null
25
  },
26
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00005-of-00022-99e8000517c7851d.parquet": {
27
- "num_bytes": 472739591,
28
  "checksum": null
29
  },
30
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00006-of-00022-24d7d1938acdd1f9.parquet": {
31
- "num_bytes": 475362783,
32
  "checksum": null
33
  },
34
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00007-of-00022-c5861400c4f9101b.parquet": {
35
- "num_bytes": 479261283,
36
  "checksum": null
37
  },
38
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00008-of-00022-a0878732106bbdee.parquet": {
39
- "num_bytes": 480609852,
40
  "checksum": null
41
  },
42
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00009-of-00022-938a07ba19889270.parquet": {
43
- "num_bytes": 476774648,
44
  "checksum": null
45
  },
46
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00010-of-00022-f9e9af577a6d3d81.parquet": {
47
- "num_bytes": 478396480,
48
  "checksum": null
49
  },
50
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00011-of-00022-b310aca4bbdf51cb.parquet": {
51
- "num_bytes": 476250443,
52
  "checksum": null
53
  },
54
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00012-of-00022-67aec51527ad8f2c.parquet": {
55
- "num_bytes": 474481900,
56
  "checksum": null
57
  },
58
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00013-of-00022-d7ffb5cfa7f257f7.parquet": {
59
- "num_bytes": 477159565,
60
  "checksum": null
61
  },
62
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00014-of-00022-70d0c9054f42185a.parquet": {
63
- "num_bytes": 473212579,
64
  "checksum": null
65
  },
66
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00015-of-00022-3fdb7ad01e8d349d.parquet": {
67
- "num_bytes": 480472810,
68
  "checksum": null
69
  },
70
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00016-of-00022-6296fd601ab42aea.parquet": {
71
- "num_bytes": 478554981,
72
  "checksum": null
73
  },
74
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00017-of-00022-c1151398e45088c0.parquet": {
75
- "num_bytes": 479065739,
76
  "checksum": null
77
  },
78
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00018-of-00022-96bbea6b087962de.parquet": {
79
- "num_bytes": 484884783,
80
  "checksum": null
81
  },
82
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00019-of-00022-a93877c84fe13c9b.parquet": {
83
- "num_bytes": 476213200,
84
  "checksum": null
85
  },
86
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00020-of-00022-3bd7e362dcffb16c.parquet": {
87
- "num_bytes": 477059835,
88
  "checksum": null
89
  },
90
- "https://huggingface.co/datasets/NYUSHPRP/ModelCofferPromptBook/resolve/91ee93ea32c266598b0ab78b1a8ef37ddd5a6004/data/train-00021-of-00022-307e5feadb7c9ca6.parquet": {
91
- "num_bytes": 476540538,
92
  "checksum": null
93
  }
94
  },
95
- "download_size": 10511827080,
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": 21028347375,
156
  "splits": {
157
  "train": {
158
  "name": "train",
159
- "num_bytes": 10516520295,
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": "a8406fc6fd9de22e",
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/b8b5101a01ee02c9b335e82cefd09a8e4093408f/data/train-00000-of-00001-0fd3ef44b360ac99.parquet": {
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": "0b1da8b0faf1f47c",
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