File size: 8,882 Bytes
fb47aa2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
{
  "metric_parity": {
    "cells": [
      {
        "source": "laion__clap-htsat-fused__audiocaps__dump.npz",
        "n_clips": 957,
        "n_captions": 957,
        "captions_per_clip": 1,
        "multi_positive": false,
        "worst_abs_delta": 0.0,
        "passed": true,
        "rows": [
          {
            "direction": "t2a",
            "metric": "r@1",
            "harness": 0.23197492163009403,
            "independent": 0.23197492163009403,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@5",
            "harness": 0.5621734587251829,
            "independent": 0.5621734587251829,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@10",
            "harness": 0.6980146290491118,
            "independent": 0.6980146290491118,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "map",
            "harness": 0.38258427711062926,
            "independent": 0.38258427711062926,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@1",
            "harness": 0.2173458725182863,
            "independent": 0.2173458725182863,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@5",
            "harness": 0.5559038662486938,
            "independent": 0.5559038662486938,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@10",
            "harness": 0.7084639498432602,
            "independent": 0.7084639498432602,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "map",
            "harness": 0.37350912007923626,
            "independent": 0.37350912007923626,
            "abs_delta": 0.0
          }
        ]
      },
      {
        "source": "laion__clap-htsat-fused__clotho5__dump.npz",
        "n_clips": 1045,
        "n_captions": 5225,
        "captions_per_clip": 5,
        "multi_positive": true,
        "worst_abs_delta": 0.0,
        "passed": true,
        "rows": [
          {
            "direction": "t2a",
            "metric": "r@1",
            "harness": 0.1184688995215311,
            "independent": 0.1184688995215311,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@5",
            "harness": 0.33837320574162677,
            "independent": 0.33837320574162677,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@10",
            "harness": 0.4631578947368421,
            "independent": 0.4631578947368421,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "map",
            "harness": 0.2302383489155751,
            "independent": 0.2302383489155751,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@1",
            "harness": 0.14258373205741626,
            "independent": 0.14258373205741626,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@5",
            "harness": 0.33875598086124403,
            "independent": 0.33875598086124403,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@10",
            "harness": 0.48899521531100476,
            "independent": 0.48899521531100476,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "map",
            "harness": 0.13733521513968705,
            "independent": 0.13733521513968705,
            "abs_delta": 0.0
          }
        ]
      },
      {
        "source": "laion__clap-htsat-unfused__audiocaps__dump.npz",
        "n_clips": 957,
        "n_captions": 957,
        "captions_per_clip": 1,
        "multi_positive": false,
        "worst_abs_delta": 0.0,
        "passed": true,
        "rows": [
          {
            "direction": "t2a",
            "metric": "r@1",
            "harness": 0.3343782654127482,
            "independent": 0.3343782654127482,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@5",
            "harness": 0.6718913270637409,
            "independent": 0.6718913270637409,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@10",
            "harness": 0.8098223615464994,
            "independent": 0.8098223615464994,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "map",
            "harness": 0.4880842107909517,
            "independent": 0.4880842107909517,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@1",
            "harness": 0.34691745036572624,
            "independent": 0.34691745036572624,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@5",
            "harness": 0.723092998955068,
            "independent": 0.723092998955068,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@10",
            "harness": 0.8432601880877743,
            "independent": 0.8432601880877743,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "map",
            "harness": 0.509816277644179,
            "independent": 0.509816277644179,
            "abs_delta": 0.0
          }
        ]
      },
      {
        "source": "laion__clap-htsat-unfused__clotho5__dump.npz",
        "n_clips": 1045,
        "n_captions": 5225,
        "captions_per_clip": 5,
        "multi_positive": true,
        "worst_abs_delta": 0.0,
        "passed": true,
        "rows": [
          {
            "direction": "t2a",
            "metric": "r@1",
            "harness": 0.15406698564593302,
            "independent": 0.15406698564593302,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@5",
            "harness": 0.3873684210526316,
            "independent": 0.3873684210526316,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "r@10",
            "harness": 0.5119617224880383,
            "independent": 0.5119617224880383,
            "abs_delta": 0.0
          },
          {
            "direction": "t2a",
            "metric": "map",
            "harness": 0.2686752676903924,
            "independent": 0.2686752676903924,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@1",
            "harness": 0.19904306220095694,
            "independent": 0.19904306220095694,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@5",
            "harness": 0.4267942583732057,
            "independent": 0.4267942583732057,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "r@10",
            "harness": 0.5799043062200957,
            "independent": 0.5799043062200957,
            "abs_delta": 0.0
          },
          {
            "direction": "a2t",
            "metric": "map",
            "harness": 0.18054988819242024,
            "independent": 0.18054988819242024,
            "abs_delta": 0.0
          }
        ]
      }
    ],
    "n_cells": 4,
    "cells_with_multi_positive_ap": 2,
    "tolerance": 1e-09,
    "worst_abs_delta": 0.0,
    "passed": true
  },
  "checkpoint_identity": {
    "fixture": "audiocaps",
    "n": 8,
    "hf_checkpoint": "laion/clap-htsat-fused",
    "control": "laion_clap default ckpt (enable_fusion=True)",
    "audio_embedding_cosine_per_clip": [
      0.29848810958688027,
      0.3421473002410652,
      0.25503559260114705,
      0.21490722362956932,
      0.402146307723098,
      0.4004388206070556,
      0.28469337282276796,
      0.29476430791001124
    ],
    "text_embedding_cosine_per_clip": [
      0.29834028923301914,
      0.3405969187684759,
      0.430545872902099,
      0.3551528578643305,
      0.3450833106035761,
      0.3570202167179666,
      0.3542294425278252,
      0.31326172379110717
    ],
    "similarity_matrix_correlation": 0.904155218122209,
    "similarity_matrix_max_abs_diff": 0.27728568894728156,
    "verdict": "different checkpoints: cross-pipeline numeric parity is not attainable"
  },
  "metric_parity_passed": true,
  "cross_pipeline_comparable": false,
  "failures": []
}