Upload folder using huggingface_hub
Browse files- outputs/data/prompt_clusters_from_cluster/analysis_report.md +19 -0
- outputs/data/prompt_clusters_from_cluster/cluster_representatives.csv +25 -0
- outputs/data/prompt_clusters_from_cluster/failure_by_semantic_category_heatmap_data.csv +21 -0
- outputs/data/prompt_clusters_from_cluster/failure_by_semantic_category_level_hm_iogt.csv +21 -0
- outputs/data/prompt_clusters_from_cluster/failure_by_semantic_category_top20_data.csv +1 -0
- outputs/data/prompt_clusters_from_cluster/iogt_by_semantic_category_and_prompt.csv +0 -0
- outputs/data/prompt_clusters_from_cluster/iogt_by_semantic_category_prompt_level.csv +0 -0
- outputs/data/prompt_clusters_from_cluster/largest_cluster_top_prompts.csv +51 -0
- outputs/data/prompt_clusters_from_cluster/largest_clusters_summary.csv +6 -0
- outputs/data/prompt_clusters_from_cluster/largest_clusters_summary.parquet +3 -0
- outputs/data/prompt_clusters_from_cluster/low_hanging_fruit_ranked.csv +6 -0
outputs/data/prompt_clusters_from_cluster/analysis_report.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Prompt Cluster Analysis
|
| 2 |
+
|
| 3 |
+
## Low-Hanging-Fruit Ranking
|
| 4 |
+
|
| 5 |
+
Rows are ranked by `priority_score = largest_cluster_fraction * log(1 + n_rows)`.
|
| 6 |
+
|
| 7 |
+
| rank | prompt_index | n_rows | largest_cluster_fraction | description |
|
| 8 |
+
|---:|---:|---:|---:|---|
|
| 9 |
+
| 1 | 2 | 11734 | 0.287 | Christian denomination, currency, United States currency, dog breed, board game |
|
| 10 |
+
| 2 | 3 | 11734 | 0.228 | field, pattern, stone, action, dog |
|
| 11 |
+
| 3 | 1 | 11734 | 0.192 | light-emitting component, Canon EF system, a refreshable braille display, videocassette, MiniDV |
|
| 12 |
+
| 4 | 0 | 11734 | 0.169 | a refreshable braille display, a videocassette, a reel-to-reel audio tape, Canon EF system, the X-Ray Specs |
|
| 13 |
+
| 5 | 4 | 11633 | 0.168 | design, Saxifragales, visual media, image, plant part |
|
| 14 |
+
|
| 15 |
+
## Interpretation
|
| 16 |
+
|
| 17 |
+
- High `largest_cluster_fraction` means prompts in that segment collapse into one dominant semantic pattern.
|
| 18 |
+
- High `n_rows` means this pattern appears often, so improving it should yield larger gains.
|
| 19 |
+
- These top-ranked rows are the best first candidates for targeted prompt templates and robustness checks.
|
outputs/data/prompt_clusters_from_cluster/cluster_representatives.csv
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
semantic_category,representative_prompt,n_rows,mean_iogt
|
| 2 |
+
cluster_00,tree,52,1.0
|
| 3 |
+
cluster_01,vehicle part,13,0.0
|
| 4 |
+
cluster_02,image,28,0.1952672995958338
|
| 5 |
+
cluster_03,vegetated area,63,0.8175193531539507
|
| 6 |
+
cluster_04,border,17,0.673678917667189
|
| 7 |
+
cluster_05,body part,5,0.0
|
| 8 |
+
cluster_06,mineral,17,0.0
|
| 9 |
+
cluster_07,geographical feature,45,0.0
|
| 10 |
+
cluster_08,furniture,14,0.996181570456731
|
| 11 |
+
cluster_09,landform,15,0.0
|
| 12 |
+
cluster_10,plant part,10,0.398299458472049
|
| 13 |
+
cluster_11,path,13,0.2297229531096284
|
| 14 |
+
cluster_12,book,9,0.6656981521022457
|
| 15 |
+
cluster_13,design,22,0.1802867817306939
|
| 16 |
+
cluster_14,sky,60,0.999727807642212
|
| 17 |
+
cluster_15,collection,32,0.0
|
| 18 |
+
cluster_16,hair,38,0.9960605955342958
|
| 19 |
+
cluster_17,illumination,33,0.9086989242882888
|
| 20 |
+
cluster_18,professional,37,0.0807999614886844
|
| 21 |
+
cluster_19,shadow,9,0.9931070250790772
|
| 22 |
+
cluster_20,visual media,21,0.0
|
| 23 |
+
cluster_21,forest,16,0.748212668548989
|
| 24 |
+
cluster_22,group,20,0.0996168627660945
|
| 25 |
+
cluster_23,group of people,9,0.9977267005175652
|
outputs/data/prompt_clusters_from_cluster/failure_by_semantic_category_heatmap_data.csv
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
semantic_category,1,2,3,4,5,n_rows
|
| 2 |
+
cluster_00,0.09579017944499756,0.49768906960426507,0.7253521141722803,0.7273002585022944,0.8303774826655582,1026
|
| 3 |
+
cluster_03,0.0018089717486919658,0.22334821132438926,0.3973911140674636,0.6021414555399967,0.814615463186477,670
|
| 4 |
+
cluster_02,0.05061990936530843,0.32228389316020833,0.3828534610647508,0.7214164872945457,0.8913598975717358,518
|
| 5 |
+
cluster_01,0.06891171145091479,0.20798728303158912,0.4966885926737574,0.8456406533522207,0.8854078543306313,485
|
| 6 |
+
cluster_14,0.026668841890215355,0.09799353301245617,0.4444164947600227,0.8751212082359,0.9560473421661962,475
|
| 7 |
+
cluster_07,0.12260715682514328,0.18615265997024183,0.519408905298475,0.7661612652760608,0.8971266314202502,435
|
| 8 |
+
cluster_04,0.01889527243093377,0.19622499734428703,0.44550350999616734,0.7603387619057901,0.8962997618174466,400
|
| 9 |
+
cluster_08,0.00790546240439449,0.2678736104957953,0.3660463521723555,0.7238950399386306,0.7948468882017585,365
|
| 10 |
+
cluster_15,0.05467948167343631,0.18917396183814483,0.6117278154955872,0.8026471667567474,0.9052274111660282,360
|
| 11 |
+
cluster_06,0.06513569494108906,0.30041732421540673,0.4414086736702273,0.497156985598812,0.8586440224765577,330
|
| 12 |
+
cluster_05,0.08019282738198528,0.3513237634215025,0.5022000951937223,0.726809854696085,0.8318291177268952,315
|
| 13 |
+
cluster_18,0.05487035786986441,0.6746867803097021,0.6787395586652336,0.7791335860198049,0.9277818824784757,315
|
| 14 |
+
cluster_10,0.1288050579577702,0.4246244519174875,0.623423052413684,0.727094223545323,0.7271738023850448,314
|
| 15 |
+
cluster_09,0.11643266562476787,0.31368586610529337,0.5303746824428595,0.6145366170693443,0.8303873346877554,300
|
| 16 |
+
cluster_12,0.06741995672482805,0.4649759371889964,0.43493766680845636,0.7641240560390355,0.8989893027968168,300
|
| 17 |
+
cluster_16,0.004186045992398313,0.19421795052845942,0.26171449084840537,0.4841839947216529,0.9138744382347558,290
|
| 18 |
+
cluster_11,0.020284418851340025,0.25492606682613256,0.4845284179188592,0.6760356671735303,0.783889934583207,275
|
| 19 |
+
cluster_13,0.00281866270984636,0.3094958518495313,0.6682566357926776,0.7450350313225654,0.869953310993507,265
|
| 20 |
+
cluster_17,0.05510287571555342,0.19661531940092922,0.2943001170356057,0.43649870560261284,0.8459932259268436,255
|
| 21 |
+
cluster_22,0.0037809871420535976,0.10073726701595788,0.31137981476112225,0.7811889217686621,0.8299052355296065,205
|
outputs/data/prompt_clusters_from_cluster/failure_by_semantic_category_level_hm_iogt.csv
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
semantic_category,representative_prompt,1,2,3,4
|
| 2 |
+
cluster_00,tree,0.0957901794449975,0.497689069604265,0.7253521141722803,0.7273002585022944
|
| 3 |
+
cluster_03,vegetated area,0.0018089717486919,0.2233482113243892,0.3973911140674636,0.6021414555399967
|
| 4 |
+
cluster_02,image,0.0506199093653084,0.3222838931602083,0.3828534610647508,0.7214164872945457
|
| 5 |
+
cluster_01,vehicle part,0.0689117114509147,0.2079872830315891,0.4966885926737574,0.8456406533522207
|
| 6 |
+
cluster_14,sky,0.0266688418902153,0.0979935330124561,0.4444164947600227,0.8751212082359
|
| 7 |
+
cluster_07,geographical feature,0.1226071568251432,0.1861526599702418,0.519408905298475,0.7661612652760608
|
| 8 |
+
cluster_04,border,0.0188952724309337,0.196224997344287,0.4455035099961673,0.7603387619057901
|
| 9 |
+
cluster_08,furniture,0.0079054624043944,0.2678736104957953,0.3660463521723555,0.7238950399386306
|
| 10 |
+
cluster_15,collection,0.0546794816734363,0.1891739618381448,0.6117278154955872,0.8026471667567474
|
| 11 |
+
cluster_06,mineral,0.065135694941089,0.3004173242154067,0.4414086736702273,0.497156985598812
|
| 12 |
+
cluster_05,body part,0.0801928273819852,0.3513237634215025,0.5022000951937223,0.726809854696085
|
| 13 |
+
cluster_18,professional,0.0548703578698644,0.6746867803097021,0.6787395586652336,0.7791335860198049
|
| 14 |
+
cluster_10,plant part,0.1288050579577702,0.4246244519174875,0.623423052413684,0.727094223545323
|
| 15 |
+
cluster_09,landform,0.1164326656247678,0.3136858661052933,0.5303746824428595,0.6145366170693443
|
| 16 |
+
cluster_12,book,0.067419956724828,0.4649759371889964,0.4349376668084563,0.7641240560390355
|
| 17 |
+
cluster_16,hair,0.0041860459923983,0.1942179505284594,0.2617144908484053,0.4841839947216529
|
| 18 |
+
cluster_11,path,0.02028441885134,0.2549260668261325,0.4845284179188592,0.6760356671735303
|
| 19 |
+
cluster_13,design,0.0028186627098463,0.3094958518495313,0.6682566357926776,0.7450350313225654
|
| 20 |
+
cluster_17,illumination,0.0551028757155534,0.1966153194009292,0.2943001170356057,0.4364987056026128
|
| 21 |
+
cluster_22,group,0.0037809871420535,0.1007372670159578,0.3113798147611222,0.7811889217686621
|
outputs/data/prompt_clusters_from_cluster/failure_by_semantic_category_top20_data.csv
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
semantic_category,mean_failure,mean_iogt,n_rows
|
outputs/data/prompt_clusters_from_cluster/iogt_by_semantic_category_and_prompt.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
outputs/data/prompt_clusters_from_cluster/iogt_by_semantic_category_prompt_level.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
outputs/data/prompt_clusters_from_cluster/largest_cluster_top_prompts.csv
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prompt,count,prompt_index,cluster_id,cluster_size,cluster_fraction
|
| 2 |
+
a refreshable braille display,47,0,7,1978,0.1685699676154764
|
| 3 |
+
a videocassette,36,0,7,1978,0.1685699676154764
|
| 4 |
+
a reel-to-reel audio tape,28,0,7,1978,0.1685699676154764
|
| 5 |
+
Canon EF system,25,0,7,1978,0.1685699676154764
|
| 6 |
+
the X-Ray Specs,24,0,7,1978,0.1685699676154764
|
| 7 |
+
the reel-to-reel audio tape,24,0,7,1978,0.1685699676154764
|
| 8 |
+
gridiron,22,0,7,1978,0.1685699676154764
|
| 9 |
+
the Canon EF system,22,0,7,1978,0.1685699676154764
|
| 10 |
+
the medical product,21,0,7,1978,0.1685699676154764
|
| 11 |
+
primary mirror,20,0,7,1978,0.1685699676154764
|
| 12 |
+
light-emitting component,54,1,9,2248,0.19158002386228054
|
| 13 |
+
Canon EF system,47,1,9,2248,0.19158002386228054
|
| 14 |
+
a refreshable braille display,47,1,9,2248,0.19158002386228054
|
| 15 |
+
videocassette,36,1,9,2248,0.19158002386228054
|
| 16 |
+
MiniDV,36,1,9,2248,0.19158002386228054
|
| 17 |
+
kneepad tactic,33,1,9,2248,0.19158002386228054
|
| 18 |
+
window opening,30,1,9,2248,0.19158002386228054
|
| 19 |
+
MRI scanner,29,1,9,2248,0.19158002386228054
|
| 20 |
+
jigsaw puzzle,28,1,9,2248,0.19158002386228054
|
| 21 |
+
literary device,27,1,9,2248,0.19158002386228054
|
| 22 |
+
Christian denomination,53,2,2,3365,0.2867734787796148
|
| 23 |
+
currency,47,2,2,3365,0.2867734787796148
|
| 24 |
+
United States currency,34,2,2,3365,0.2867734787796148
|
| 25 |
+
dog breed,33,2,2,3365,0.2867734787796148
|
| 26 |
+
board game,31,2,2,3365,0.2867734787796148
|
| 27 |
+
pen,29,2,2,3365,0.2867734787796148
|
| 28 |
+
professional,28,2,2,3365,0.2867734787796148
|
| 29 |
+
United States banknote,28,2,2,3365,0.2867734787796148
|
| 30 |
+
puzzle,28,2,2,3365,0.2867734787796148
|
| 31 |
+
banknote,28,2,2,3365,0.2867734787796148
|
| 32 |
+
field,60,3,5,2680,0.2283961138571672
|
| 33 |
+
pattern,59,3,5,2680,0.2283961138571672
|
| 34 |
+
stone,41,3,5,2680,0.2283961138571672
|
| 35 |
+
action,39,3,5,2680,0.2283961138571672
|
| 36 |
+
dog,37,3,5,2680,0.2283961138571672
|
| 37 |
+
structural element,36,3,5,2680,0.2283961138571672
|
| 38 |
+
structural component,31,3,5,2680,0.2283961138571672
|
| 39 |
+
writing instrument,31,3,5,2680,0.2283961138571672
|
| 40 |
+
gemstone,30,3,5,2680,0.2283961138571672
|
| 41 |
+
oil,29,3,5,2680,0.2283961138571672
|
| 42 |
+
design,92,4,7,1956,0.16814235364910168
|
| 43 |
+
Saxifragales,72,4,7,1956,0.16814235364910168
|
| 44 |
+
visual media,61,4,7,1956,0.16814235364910168
|
| 45 |
+
image,58,4,7,1956,0.16814235364910168
|
| 46 |
+
plant part,52,4,7,1956,0.16814235364910168
|
| 47 |
+
visual representation,50,4,7,1956,0.16814235364910168
|
| 48 |
+
canine,37,4,7,1956,0.16814235364910168
|
| 49 |
+
physical feature,37,4,7,1956,0.16814235364910168
|
| 50 |
+
creative work,32,4,7,1956,0.16814235364910168
|
| 51 |
+
medical condition,31,4,7,1956,0.16814235364910168
|
outputs/data/prompt_clusters_from_cluster/largest_clusters_summary.csv
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prompt_index,n_rows,n_clusters,largest_cluster_id,largest_cluster_size,largest_cluster_fraction,representative_prompts,largest_cluster_description
|
| 2 |
+
0,11734,10,7,1978,0.1685699676154764,"['gel pen', 'the square', 'panela', 'pillar', 'the cassette tape']","a refreshable braille display, a videocassette, a reel-to-reel audio tape, Canon EF system, the X-Ray Specs"
|
| 3 |
+
1,11734,10,9,2248,0.19158002386228054,"['ore', 'illustration', 'panela', 'background', 'opal']","light-emitting component, Canon EF system, a refreshable braille display, videocassette, MiniDV"
|
| 4 |
+
2,11734,10,2,3365,0.2867734787796148,"['instance', 'pile', 'mane', 'cord', 'den']","Christian denomination, currency, United States currency, dog breed, board game"
|
| 5 |
+
3,11734,10,5,2680,0.2283961138571672,"['tie', 'orientation', 'field', 'stem', 'vent']","field, pattern, stone, action, dog"
|
| 6 |
+
4,11633,10,7,1956,0.16814235364910168,"['illustration', 'shape', 'icon', 'appearance', 'shapes']","design, Saxifragales, visual media, image, plant part"
|
outputs/data/prompt_clusters_from_cluster/largest_clusters_summary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93cbae0b6109dd497137906b75d318ab74ba7e467277ebda55414728f8cb43cf
|
| 3 |
+
size 5430
|
outputs/data/prompt_clusters_from_cluster/low_hanging_fruit_ranked.csv
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prompt_index,n_rows,n_clusters,largest_cluster_id,largest_cluster_size,largest_cluster_fraction,representative_prompts,largest_cluster_description,priority_score
|
| 2 |
+
2,11734.0,10,2,3365,0.2867734787796148,['instance' 'pile' 'mane' 'cord' 'den'],"Christian denomination, currency, United States currency, dog breed, board game",2.6871624492397683
|
| 3 |
+
3,11734.0,10,5,2680,0.2283961138571672,['tie' 'orientation' 'field' 'stem' 'vent'],"field, pattern, stone, action, dog",2.140147210687245
|
| 4 |
+
1,11734.0,10,9,2248,0.19158002386228054,['ore' 'illustration' 'panela' 'background' 'opal'],"light-emitting component, Canon EF system, a refreshable braille display, videocassette, MiniDV",1.7951682573227337
|
| 5 |
+
0,11734.0,10,7,1978,0.1685699676154764,['gel pen' 'the square' 'panela' 'pillar' 'the cassette tape'],"a refreshable braille display, a videocassette, a reel-to-reel audio tape, Canon EF system, the X-Ray Specs",1.5795564114699143
|
| 6 |
+
4,11633.0,10,7,1956,0.16814235364910168,['illustration' 'shape' 'icon' 'appearance' 'shapes'],"design, Saxifragales, visual media, image, plant part",1.5740961072349955
|