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3 |
+
"s1_table": "t1",
|
| 4 |
+
"pool_tables": [
|
| 5 |
+
"t2",
|
| 6 |
+
"t3"
|
| 7 |
+
],
|
| 8 |
+
"variants": [
|
| 9 |
+
"full",
|
| 10 |
+
"name"
|
| 11 |
+
],
|
| 12 |
+
"k": {
|
| 13 |
+
"full": 30,
|
| 14 |
+
"name": 10
|
| 15 |
+
},
|
| 16 |
+
"config": {
|
| 17 |
+
"split": "test",
|
| 18 |
+
"hub": "/workspace/amlc/hub",
|
| 19 |
+
"out_dir": "/workspace/amlc/dense",
|
| 20 |
+
"tag": "",
|
| 21 |
+
"variants": "full,name",
|
| 22 |
+
"k_full": 30,
|
| 23 |
+
"k_name": 10,
|
| 24 |
+
"margin": 10,
|
| 25 |
+
"batch": 2048,
|
| 26 |
+
"max_chunk": 1048576,
|
| 27 |
+
"group": 64,
|
| 28 |
+
"sims_factor": 2.5,
|
| 29 |
+
"work_gb": 1.5,
|
| 30 |
+
"reserve_gb": 4.5,
|
| 31 |
+
"max_shard_rows": 0,
|
| 32 |
+
"countries": "",
|
| 33 |
+
"pool_tables": "",
|
| 34 |
+
"max_s1": 0,
|
| 35 |
+
"seed": 0,
|
| 36 |
+
"self_test": false,
|
| 37 |
+
"verify": 512,
|
| 38 |
+
"gt": null,
|
| 39 |
+
"no_gt": true,
|
| 40 |
+
"s3": "",
|
| 41 |
+
"log_every": 100000,
|
| 42 |
+
"resume": false
|
| 43 |
+
},
|
| 44 |
+
"encoder": "intfloat/multilingual-e5-large (fp16, 'query: ' prompt, L2-normalised)",
|
| 45 |
+
"gpu": "NVIDIA A100-SXM4-80GB",
|
| 46 |
+
"load_meta_seconds": 12.7,
|
| 47 |
+
"per_country": {
|
| 48 |
+
"france": {
|
| 49 |
+
"n_s1": 259452,
|
| 50 |
+
"n_pool": 1434993,
|
| 51 |
+
"n_pool_by_part": {
|
| 52 |
+
"t2": 703378,
|
| 53 |
+
"t3": 731615
|
| 54 |
+
},
|
| 55 |
+
"timings_s": {
|
| 56 |
+
"load_s1_vectors": 2.6,
|
| 57 |
+
"france/name/load_pool_s0": 7.4,
|
| 58 |
+
"france/name/retrieve_s0": 6.9,
|
| 59 |
+
"france/name/pool_chunk": 1048576,
|
| 60 |
+
"france/full/load_pool_s0": 7.5,
|
| 61 |
+
"france/full/retrieve_s0": 6.7,
|
| 62 |
+
"france/full/pool_chunk": 1048576,
|
| 63 |
+
"france/full/fill_s0": 0.2,
|
| 64 |
+
"france/name-fill/load_pool_s0": 7.4,
|
| 65 |
+
"france/name-fill/fill_s0": 0.3,
|
| 66 |
+
"union": 2.0,
|
| 67 |
+
"write_part": 2.9,
|
| 68 |
+
"total": 44.6
|
| 69 |
+
},
|
| 70 |
+
"pairs": 9713977,
|
| 71 |
+
"pairs_full_list": 7783560,
|
| 72 |
+
"pairs_name_list": 2594520,
|
| 73 |
+
"pairs_in_both": 664103,
|
| 74 |
+
"pairs_full_only": 7119457,
|
| 75 |
+
"pairs_name_only": 1930417,
|
| 76 |
+
"cands_per_s1_hist": {
|
| 77 |
+
"30": 770,
|
| 78 |
+
"31": 1848,
|
| 79 |
+
"32": 3510,
|
| 80 |
+
"33": 6307,
|
| 81 |
+
"34": 11055,
|
| 82 |
+
"35": 18403,
|
| 83 |
+
"36": 30115,
|
| 84 |
+
"37": 43190,
|
| 85 |
+
"38": 53279,
|
| 86 |
+
"39": 52609,
|
| 87 |
+
"40": 38366
|
| 88 |
+
},
|
| 89 |
+
"sim_consistency": {
|
| 90 |
+
"max_diff_name_sim": 0.0,
|
| 91 |
+
"max_diff_full_sim": 0.0
|
| 92 |
+
},
|
| 93 |
+
"duplicate_pairs": 0,
|
| 94 |
+
"top1_sim_full_mean": 0.9283978939056396,
|
| 95 |
+
"top1_sim_name_mean": 0.9876487255096436,
|
| 96 |
+
"kth_sim_full_mean": 0.6920976042747498,
|
| 97 |
+
"kth_sim_name_mean": 0.8859540224075317,
|
| 98 |
+
"cands_per_s1": {
|
| 99 |
+
"n_s1": 259452,
|
| 100 |
+
"mean": 37.44,
|
| 101 |
+
"min": 30,
|
| 102 |
+
"p50": 38,
|
| 103 |
+
"p90": 40,
|
| 104 |
+
"p99": 40,
|
| 105 |
+
"max": 40
|
| 106 |
+
},
|
| 107 |
+
"brute_force_check": {
|
| 108 |
+
"name": {
|
| 109 |
+
"n": 512,
|
| 110 |
+
"mean_set_overlap": 0.97891,
|
| 111 |
+
"min_set_overlap": 0.0,
|
| 112 |
+
"share_exact_set": 0.85938,
|
| 113 |
+
"kth_sim_within_1e-4": 1.0,
|
| 114 |
+
"max_abs_sorted_sim_diff": 2.1e-05
|
| 115 |
+
},
|
| 116 |
+
"full": {
|
| 117 |
+
"n": 512,
|
| 118 |
+
"mean_set_overlap": 1.0,
|
| 119 |
+
"min_set_overlap": 1.0,
|
| 120 |
+
"share_exact_set": 1.0,
|
| 121 |
+
"kth_sim_within_1e-4": 1.0,
|
| 122 |
+
"max_abs_sorted_sim_diff": 2e-06
|
| 123 |
+
}
|
| 124 |
+
},
|
| 125 |
+
"self_test": {},
|
| 126 |
+
"part_bytes": 138390494
|
| 127 |
+
},
|
| 128 |
+
"india": {
|
| 129 |
+
"n_s1": 809986,
|
| 130 |
+
"n_pool": 4717565,
|
| 131 |
+
"n_pool_by_part": {
|
| 132 |
+
"t2": 2312565,
|
| 133 |
+
"t3": 2405000
|
| 134 |
+
},
|
| 135 |
+
"timings_s": {
|
| 136 |
+
"load_s1_vectors": 3.4,
|
| 137 |
+
"india/name/load_pool_s0": 9.7,
|
| 138 |
+
"india/name/retrieve_s0": 65.5,
|
| 139 |
+
"india/name/pool_chunk": 1048576,
|
| 140 |
+
"india/full/load_pool_s0": 9.8,
|
| 141 |
+
"india/full/retrieve_s0": 66.4,
|
| 142 |
+
"india/full/pool_chunk": 1048576,
|
| 143 |
+
"india/full/fill_s0": 0.6,
|
| 144 |
+
"india/name-fill/load_pool_s0": 9.5,
|
| 145 |
+
"india/name-fill/fill_s0": 1.0,
|
| 146 |
+
"union": 6.9,
|
| 147 |
+
"write_part": 8.9,
|
| 148 |
+
"total": 183.1
|
| 149 |
+
},
|
| 150 |
+
"pairs": 30145756,
|
| 151 |
+
"pairs_full_list": 24299580,
|
| 152 |
+
"pairs_name_list": 8099860,
|
| 153 |
+
"pairs_in_both": 2253684,
|
| 154 |
+
"pairs_full_only": 22045896,
|
| 155 |
+
"pairs_name_only": 5846176,
|
| 156 |
+
"cands_per_s1_hist": {
|
| 157 |
+
"30": 921,
|
| 158 |
+
"31": 3202,
|
| 159 |
+
"32": 8999,
|
| 160 |
+
"33": 22603,
|
| 161 |
+
"34": 47912,
|
| 162 |
+
"35": 85592,
|
| 163 |
+
"36": 121902,
|
| 164 |
+
"37": 135586,
|
| 165 |
+
"38": 124589,
|
| 166 |
+
"39": 126467,
|
| 167 |
+
"40": 132213
|
| 168 |
+
},
|
| 169 |
+
"sim_consistency": {
|
| 170 |
+
"max_diff_name_sim": 0.0,
|
| 171 |
+
"max_diff_full_sim": 0.0
|
| 172 |
+
},
|
| 173 |
+
"duplicate_pairs": 0,
|
| 174 |
+
"top1_sim_full_mean": 0.8389278650283813,
|
| 175 |
+
"top1_sim_name_mean": 0.9883248209953308,
|
| 176 |
+
"kth_sim_full_mean": 0.565780520439148,
|
| 177 |
+
"kth_sim_name_mean": 0.8764185309410095,
|
| 178 |
+
"cands_per_s1": {
|
| 179 |
+
"n_s1": 809986,
|
| 180 |
+
"mean": 37.218,
|
| 181 |
+
"min": 30,
|
| 182 |
+
"p50": 37,
|
| 183 |
+
"p90": 40,
|
| 184 |
+
"p99": 40,
|
| 185 |
+
"max": 40
|
| 186 |
+
},
|
| 187 |
+
"brute_force_check": {
|
| 188 |
+
"name": {
|
| 189 |
+
"n": 512,
|
| 190 |
+
"mean_set_overlap": 0.98809,
|
| 191 |
+
"min_set_overlap": 0.8,
|
| 192 |
+
"share_exact_set": 0.89062,
|
| 193 |
+
"kth_sim_within_1e-4": 1.0,
|
| 194 |
+
"max_abs_sorted_sim_diff": 2e-06
|
| 195 |
+
},
|
| 196 |
+
"full": {
|
| 197 |
+
"n": 512,
|
| 198 |
+
"mean_set_overlap": 0.99993,
|
| 199 |
+
"min_set_overlap": 0.9667,
|
| 200 |
+
"share_exact_set": 0.99805,
|
| 201 |
+
"kth_sim_within_1e-4": 1.0,
|
| 202 |
+
"max_abs_sorted_sim_diff": 1e-06
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"self_test": {},
|
| 206 |
+
"part_bytes": 427182110
|
| 207 |
+
},
|
| 208 |
+
"us": {
|
| 209 |
+
"n_s1": 663106,
|
| 210 |
+
"n_pool": 3817031,
|
| 211 |
+
"n_pool_by_part": {
|
| 212 |
+
"t2": 1871330,
|
| 213 |
+
"t3": 1945701
|
| 214 |
+
},
|
| 215 |
+
"timings_s": {
|
| 216 |
+
"load_s1_vectors": 3.2,
|
| 217 |
+
"us/name/load_pool_s0": 8.7,
|
| 218 |
+
"us/name/retrieve_s0": 43.4,
|
| 219 |
+
"us/name/pool_chunk": 1048576,
|
| 220 |
+
"us/full/load_pool_s0": 9.1,
|
| 221 |
+
"us/full/retrieve_s0": 43.9,
|
| 222 |
+
"us/full/pool_chunk": 1048576,
|
| 223 |
+
"us/full/fill_s0": 0.5,
|
| 224 |
+
"us/name-fill/load_pool_s0": 9.0,
|
| 225 |
+
"us/name-fill/fill_s0": 0.8,
|
| 226 |
+
"union": 5.4,
|
| 227 |
+
"write_part": 7.2,
|
| 228 |
+
"total": 132.5
|
| 229 |
+
},
|
| 230 |
+
"pairs": 24457942,
|
| 231 |
+
"pairs_full_list": 19893180,
|
| 232 |
+
"pairs_name_list": 6631060,
|
| 233 |
+
"pairs_in_both": 2066298,
|
| 234 |
+
"pairs_full_only": 17826882,
|
| 235 |
+
"pairs_name_only": 4564762,
|
| 236 |
+
"cands_per_s1_hist": {
|
| 237 |
+
"30": 452,
|
| 238 |
+
"31": 2258,
|
| 239 |
+
"32": 7785,
|
| 240 |
+
"33": 20674,
|
| 241 |
+
"34": 46429,
|
| 242 |
+
"35": 82739,
|
| 243 |
+
"36": 118777,
|
| 244 |
+
"37": 127662,
|
| 245 |
+
"38": 103765,
|
| 246 |
+
"39": 76565,
|
| 247 |
+
"40": 76000
|
| 248 |
+
},
|
| 249 |
+
"sim_consistency": {
|
| 250 |
+
"max_diff_name_sim": 0.0,
|
| 251 |
+
"max_diff_full_sim": 0.0
|
| 252 |
+
},
|
| 253 |
+
"duplicate_pairs": 0,
|
| 254 |
+
"top1_sim_full_mean": 0.844146728515625,
|
| 255 |
+
"top1_sim_name_mean": 0.9865815043449402,
|
| 256 |
+
"kth_sim_full_mean": 0.5540754199028015,
|
| 257 |
+
"kth_sim_name_mean": 0.8646702170372009,
|
| 258 |
+
"cands_per_s1": {
|
| 259 |
+
"n_s1": 663106,
|
| 260 |
+
"mean": 36.884,
|
| 261 |
+
"min": 30,
|
| 262 |
+
"p50": 37,
|
| 263 |
+
"p90": 40,
|
| 264 |
+
"p99": 40,
|
| 265 |
+
"max": 40
|
| 266 |
+
},
|
| 267 |
+
"brute_force_check": {
|
| 268 |
+
"name": {
|
| 269 |
+
"n": 512,
|
| 270 |
+
"mean_set_overlap": 0.97773,
|
| 271 |
+
"min_set_overlap": 0.0,
|
| 272 |
+
"share_exact_set": 0.87109,
|
| 273 |
+
"kth_sim_within_1e-4": 1.0,
|
| 274 |
+
"max_abs_sorted_sim_diff": 7.8e-05
|
| 275 |
+
},
|
| 276 |
+
"full": {
|
| 277 |
+
"n": 512,
|
| 278 |
+
"mean_set_overlap": 0.99987,
|
| 279 |
+
"min_set_overlap": 0.9667,
|
| 280 |
+
"share_exact_set": 0.99609,
|
| 281 |
+
"kth_sim_within_1e-4": 1.0,
|
| 282 |
+
"max_abs_sorted_sim_diff": 1e-06
|
| 283 |
+
}
|
| 284 |
+
},
|
| 285 |
+
"self_test": {},
|
| 286 |
+
"part_bytes": 348792025
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
"write_output_seconds": 22.4,
|
| 290 |
+
"output": {
|
| 291 |
+
"path": "/workspace/amlc/dense/test_cands.parquet",
|
| 292 |
+
"rows": 64317675,
|
| 293 |
+
"bytes": 914362649
|
| 294 |
+
},
|
| 295 |
+
"overall": {
|
| 296 |
+
"n_s1": 1732544,
|
| 297 |
+
"pairs": 64317675,
|
| 298 |
+
"pairs_full_only": 46992235,
|
| 299 |
+
"pairs_name_only": 12341355,
|
| 300 |
+
"pairs_in_both": 4984085,
|
| 301 |
+
"cands_per_s1": {
|
| 302 |
+
"n_s1": 1732544,
|
| 303 |
+
"mean": 37.123,
|
| 304 |
+
"min": 30,
|
| 305 |
+
"p50": 37,
|
| 306 |
+
"p90": 40,
|
| 307 |
+
"p99": 40,
|
| 308 |
+
"max": 40
|
| 309 |
+
},
|
| 310 |
+
"seconds_per_country": {
|
| 311 |
+
"france": 44.6,
|
| 312 |
+
"india": 183.1,
|
| 313 |
+
"us": 132.5
|
| 314 |
+
}
|
| 315 |
+
},
|
| 316 |
+
"checks": {
|
| 317 |
+
"duplicate_pairs": 0,
|
| 318 |
+
"nan_sim_full": 0,
|
| 319 |
+
"nan_sim_name": 0
|
| 320 |
+
}
|
| 321 |
+
}
|