StephQuant commited on
Commit
9d05f93
·
0 Parent(s):

Initial commit.

Browse files
.gitattributes ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
61
+ kamon_croissant.json filter=lfs diff=lfs merge=lfs -text
62
+ kamon_croissant_program_cm_holdout.json filter=lfs diff=lfs merge=lfs -text
63
+ kamon_croissant_program_rm_holdout.json filter=lfs diff=lfs merge=lfs -text
64
+ kamon_croissant_program_crm_holdout.json filter=lfs diff=lfs merge=lfs -text
LICENSE.txt ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ KamonBench is licensed under the Creative Commons
2
+ Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
3
+
4
+ To view a human-readable summary, see:
5
+ https://creativecommons.org/licenses/by-nc/4.0/
6
+
7
+ The full legal code follows below, retrieved from:
8
+ https://creativecommons.org/licenses/by-nc/4.0/legalcode.txt
9
+
10
+ The KamonBench dataset is derived from Kamon motif assets in
11
+ https://github.com/Rebolforces/kamondataset, which does not declare a license
12
+ in its source repository. Users intending to use KamonBench beyond research
13
+ should consult that upstream as well.
14
+
15
+ =======================================================================
16
+
17
+ Attribution-NonCommercial 4.0 International
18
+
19
+ =======================================================================
20
+
21
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
22
+ does not provide legal services or legal advice. Distribution of
23
+ Creative Commons public licenses does not create a lawyer-client or
24
+ other relationship. Creative Commons makes its licenses and related
25
+ information available on an "as-is" basis. Creative Commons gives no
26
+ warranties regarding its licenses, any material licensed under their
27
+ terms and conditions, or any related information. Creative Commons
28
+ disclaims all liability for damages resulting from their use to the
29
+ fullest extent possible.
30
+
31
+ Using Creative Commons Public Licenses
32
+
33
+ Creative Commons public licenses provide a standard set of terms and
34
+ conditions that creators and other rights holders may use to share
35
+ original works of authorship and other material subject to copyright
36
+ and certain other rights specified in the public license below. The
37
+ following considerations are for informational purposes only, are not
38
+ exhaustive, and do not form part of our licenses.
39
+
40
+ Considerations for licensors: Our public licenses are
41
+ intended for use by those authorized to give the public
42
+ permission to use material in ways otherwise restricted by
43
+ copyright and certain other rights. Our licenses are
44
+ irrevocable. Licensors should read and understand the terms
45
+ and conditions of the license they choose before applying it.
46
+ Licensors should also secure all rights necessary before
47
+ applying our licenses so that the public can reuse the
48
+ material as expected. Licensors should clearly mark any
49
+ material not subject to the license. This includes other CC-
50
+ licensed material, or material used under an exception or
51
+ limitation to copyright. More considerations for licensors:
52
+ wiki.creativecommons.org/Considerations_for_licensors
53
+
54
+ Considerations for the public: By using one of our public
55
+ licenses, a licensor grants the public permission to use the
56
+ licensed material under specified terms and conditions. If
57
+ the licensor's permission is not necessary for any reason--for
58
+ example, because of any applicable exception or limitation to
59
+ copyright--then that use is not regulated by the license. Our
60
+ licenses grant only permissions under copyright and certain
61
+ other rights that a licensor has authority to grant. Use of
62
+ the licensed material may still be restricted for other
63
+ reasons, including because others have copyright or other
64
+ rights in the material. A licensor may make special requests,
65
+ such as asking that all changes be marked or described.
66
+ Although not required by our licenses, you are encouraged to
67
+ respect those requests where reasonable. More considerations
68
+ for the public:
69
+ wiki.creativecommons.org/Considerations_for_licensees
70
+
71
+ =======================================================================
72
+
73
+ Creative Commons Attribution-NonCommercial 4.0 International Public
74
+ License
75
+
76
+ By exercising the Licensed Rights (defined below), You accept and agree
77
+ to be bound by the terms and conditions of this Creative Commons
78
+ Attribution-NonCommercial 4.0 International Public License ("Public
79
+ License"). To the extent this Public License may be interpreted as a
80
+ contract, You are granted the Licensed Rights in consideration of Your
81
+ acceptance of these terms and conditions, and the Licensor grants You
82
+ such rights in consideration of benefits the Licensor receives from
83
+ making the Licensed Material available under these terms and
84
+ conditions.
85
+
86
+
87
+ Section 1 -- Definitions.
88
+
89
+ a. Adapted Material means material subject to Copyright and Similar
90
+ Rights that is derived from or based upon the Licensed Material
91
+ and in which the Licensed Material is translated, altered,
92
+ arranged, transformed, or otherwise modified in a manner requiring
93
+ permission under the Copyright and Similar Rights held by the
94
+ Licensor. For purposes of this Public License, where the Licensed
95
+ Material is a musical work, performance, or sound recording,
96
+ Adapted Material is always produced where the Licensed Material is
97
+ synched in timed relation with a moving image.
98
+
99
+ b. Adapter's License means the license You apply to Your Copyright
100
+ and Similar Rights in Your contributions to Adapted Material in
101
+ accordance with the terms and conditions of this Public License.
102
+
103
+ c. Copyright and Similar Rights means copyright and/or similar rights
104
+ closely related to copyright including, without limitation,
105
+ performance, broadcast, sound recording, and Sui Generis Database
106
+ Rights, without regard to how the rights are labeled or
107
+ categorized. For purposes of this Public License, the rights
108
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
109
+ Rights.
110
+ d. Effective Technological Measures means those measures that, in the
111
+ absence of proper authority, may not be circumvented under laws
112
+ fulfilling obligations under Article 11 of the WIPO Copyright
113
+ Treaty adopted on December 20, 1996, and/or similar international
114
+ agreements.
115
+
116
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
117
+ any other exception or limitation to Copyright and Similar Rights
118
+ that applies to Your use of the Licensed Material.
119
+
120
+ f. Licensed Material means the artistic or literary work, database,
121
+ or other material to which the Licensor applied this Public
122
+ License.
123
+
124
+ g. Licensed Rights means the rights granted to You subject to the
125
+ terms and conditions of this Public License, which are limited to
126
+ all Copyright and Similar Rights that apply to Your use of the
127
+ Licensed Material and that the Licensor has authority to license.
128
+
129
+ h. Licensor means the individual(s) or entity(ies) granting rights
130
+ under this Public License.
131
+
132
+ i. NonCommercial means not primarily intended for or directed towards
133
+ commercial advantage or monetary compensation. For purposes of
134
+ this Public License, the exchange of the Licensed Material for
135
+ other material subject to Copyright and Similar Rights by digital
136
+ file-sharing or similar means is NonCommercial provided there is
137
+ no payment of monetary compensation in connection with the
138
+ exchange.
139
+
140
+ j. Share means to provide material to the public by any means or
141
+ process that requires permission under the Licensed Rights, such
142
+ as reproduction, public display, public performance, distribution,
143
+ dissemination, communication, or importation, and to make material
144
+ available to the public including in ways that members of the
145
+ public may access the material from a place and at a time
146
+ individually chosen by them.
147
+
148
+ k. Sui Generis Database Rights means rights other than copyright
149
+ resulting from Directive 96/9/EC of the European Parliament and of
150
+ the Council of 11 March 1996 on the legal protection of databases,
151
+ as amended and/or succeeded, as well as other essentially
152
+ equivalent rights anywhere in the world.
153
+
154
+ l. You means the individual or entity exercising the Licensed Rights
155
+ under this Public License. Your has a corresponding meaning.
156
+
157
+
158
+ Section 2 -- Scope.
159
+
160
+ a. License grant.
161
+
162
+ 1. Subject to the terms and conditions of this Public License,
163
+ the Licensor hereby grants You a worldwide, royalty-free,
164
+ non-sublicensable, non-exclusive, irrevocable license to
165
+ exercise the Licensed Rights in the Licensed Material to:
166
+
167
+ a. reproduce and Share the Licensed Material, in whole or
168
+ in part, for NonCommercial purposes only; and
169
+
170
+ b. produce, reproduce, and Share Adapted Material for
171
+ NonCommercial purposes only.
172
+
173
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
174
+ Exceptions and Limitations apply to Your use, this Public
175
+ License does not apply, and You do not need to comply with
176
+ its terms and conditions.
177
+
178
+ 3. Term. The term of this Public License is specified in Section
179
+ 6(a).
180
+
181
+ 4. Media and formats; technical modifications allowed. The
182
+ Licensor authorizes You to exercise the Licensed Rights in
183
+ all media and formats whether now known or hereafter created,
184
+ and to make technical modifications necessary to do so. The
185
+ Licensor waives and/or agrees not to assert any right or
186
+ authority to forbid You from making technical modifications
187
+ necessary to exercise the Licensed Rights, including
188
+ technical modifications necessary to circumvent Effective
189
+ Technological Measures. For purposes of this Public License,
190
+ simply making modifications authorized by this Section 2(a)
191
+ (4) never produces Adapted Material.
192
+
193
+ 5. Downstream recipients.
194
+
195
+ a. Offer from the Licensor -- Licensed Material. Every
196
+ recipient of the Licensed Material automatically
197
+ receives an offer from the Licensor to exercise the
198
+ Licensed Rights under the terms and conditions of this
199
+ Public License.
200
+
201
+ b. No downstream restrictions. You may not offer or impose
202
+ any additional or different terms or conditions on, or
203
+ apply any Effective Technological Measures to, the
204
+ Licensed Material if doing so restricts exercise of the
205
+ Licensed Rights by any recipient of the Licensed
206
+ Material.
207
+
208
+ 6. No endorsement. Nothing in this Public License constitutes or
209
+ may be construed as permission to assert or imply that You
210
+ are, or that Your use of the Licensed Material is, connected
211
+ with, or sponsored, endorsed, or granted official status by,
212
+ the Licensor or others designated to receive attribution as
213
+ provided in Section 3(a)(1)(A)(i).
214
+
215
+ b. Other rights.
216
+
217
+ 1. Moral rights, such as the right of integrity, are not
218
+ licensed under this Public License, nor are publicity,
219
+ privacy, and/or other similar personality rights; however, to
220
+ the extent possible, the Licensor waives and/or agrees not to
221
+ assert any such rights held by the Licensor to the limited
222
+ extent necessary to allow You to exercise the Licensed
223
+ Rights, but not otherwise.
224
+
225
+ 2. Patent and trademark rights are not licensed under this
226
+ Public License.
227
+
228
+ 3. To the extent possible, the Licensor waives any right to
229
+ collect royalties from You for the exercise of the Licensed
230
+ Rights, whether directly or through a collecting society
231
+ under any voluntary or waivable statutory or compulsory
232
+ licensing scheme. In all other cases the Licensor expressly
233
+ reserves any right to collect such royalties, including when
234
+ the Licensed Material is used other than for NonCommercial
235
+ purposes.
236
+
237
+
238
+ Section 3 -- License Conditions.
239
+
240
+ Your exercise of the Licensed Rights is expressly made subject to the
241
+ following conditions.
242
+
243
+ a. Attribution.
244
+
245
+ 1. If You Share the Licensed Material (including in modified
246
+ form), You must:
247
+
248
+ a. retain the following if it is supplied by the Licensor
249
+ with the Licensed Material:
250
+
251
+ i. identification of the creator(s) of the Licensed
252
+ Material and any others designated to receive
253
+ attribution, in any reasonable manner requested by
254
+ the Licensor (including by pseudonym if
255
+ designated);
256
+
257
+ ii. a copyright notice;
258
+
259
+ iii. a notice that refers to this Public License;
260
+
261
+ iv. a notice that refers to the disclaimer of
262
+ warranties;
263
+
264
+ v. a URI or hyperlink to the Licensed Material to the
265
+ extent reasonably practicable;
266
+
267
+ b. indicate if You modified the Licensed Material and
268
+ retain an indication of any previous modifications; and
269
+
270
+ c. indicate the Licensed Material is licensed under this
271
+ Public License, and include the text of, or the URI or
272
+ hyperlink to, this Public License.
273
+
274
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
275
+ reasonable manner based on the medium, means, and context in
276
+ which You Share the Licensed Material. For example, it may be
277
+ reasonable to satisfy the conditions by providing a URI or
278
+ hyperlink to a resource that includes the required
279
+ information.
280
+
281
+ 3. If requested by the Licensor, You must remove any of the
282
+ information required by Section 3(a)(1)(A) to the extent
283
+ reasonably practicable.
284
+
285
+ 4. If You Share Adapted Material You produce, the Adapter's
286
+ License You apply must not prevent recipients of the Adapted
287
+ Material from complying with this Public License.
288
+
289
+
290
+ Section 4 -- Sui Generis Database Rights.
291
+
292
+ Where the Licensed Rights include Sui Generis Database Rights that
293
+ apply to Your use of the Licensed Material:
294
+
295
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
296
+ to extract, reuse, reproduce, and Share all or a substantial
297
+ portion of the contents of the database for NonCommercial purposes
298
+ only;
299
+
300
+ b. if You include all or a substantial portion of the database
301
+ contents in a database in which You have Sui Generis Database
302
+ Rights, then the database in which You have Sui Generis Database
303
+ Rights (but not its individual contents) is Adapted Material; and
304
+
305
+ c. You must comply with the conditions in Section 3(a) if You Share
306
+ all or a substantial portion of the contents of the database.
307
+
308
+ For the avoidance of doubt, this Section 4 supplements and does not
309
+ replace Your obligations under this Public License where the Licensed
310
+ Rights include other Copyright and Similar Rights.
311
+
312
+
313
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
314
+
315
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
316
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
317
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
318
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
319
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
320
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
321
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
322
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
323
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
324
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
325
+
326
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
327
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
328
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
329
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
330
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
331
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
332
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
333
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
334
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
335
+
336
+ c. The disclaimer of warranties and limitation of liability provided
337
+ above shall be interpreted in a manner that, to the extent
338
+ possible, most closely approximates an absolute disclaimer and
339
+ waiver of all liability.
340
+
341
+
342
+ Section 6 -- Term and Termination.
343
+
344
+ a. This Public License applies for the term of the Copyright and
345
+ Similar Rights licensed here. However, if You fail to comply with
346
+ this Public License, then Your rights under this Public License
347
+ terminate automatically.
348
+
349
+ b. Where Your right to use the Licensed Material has terminated under
350
+ Section 6(a), it reinstates:
351
+
352
+ 1. automatically as of the date the violation is cured, provided
353
+ it is cured within 30 days of Your discovery of the
354
+ violation; or
355
+
356
+ 2. upon express reinstatement by the Licensor.
357
+
358
+ For the avoidance of doubt, this Section 6(b) does not affect any
359
+ right the Licensor may have to seek remedies for Your violations
360
+ of this Public License.
361
+
362
+ c. For the avoidance of doubt, the Licensor may also offer the
363
+ Licensed Material under separate terms or conditions or stop
364
+ distributing the Licensed Material at any time; however, doing so
365
+ will not terminate this Public License.
366
+
367
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
368
+ License.
369
+
370
+
371
+ Section 7 -- Other Terms and Conditions.
372
+
373
+ a. The Licensor shall not be bound by any additional or different
374
+ terms or conditions communicated by You unless expressly agreed.
375
+
376
+ b. Any arrangements, understandings, or agreements regarding the
377
+ Licensed Material not stated herein are separate from and
378
+ independent of the terms and conditions of this Public License.
379
+
380
+
381
+ Section 8 -- Interpretation.
382
+
383
+ a. For the avoidance of doubt, this Public License does not, and
384
+ shall not be interpreted to, reduce, limit, restrict, or impose
385
+ conditions on any use of the Licensed Material that could lawfully
386
+ be made without permission under this Public License.
387
+
388
+ b. To the extent possible, if any provision of this Public License is
389
+ deemed unenforceable, it shall be automatically reformed to the
390
+ minimum extent necessary to make it enforceable. If the provision
391
+ cannot be reformed, it shall be severed from this Public License
392
+ without affecting the enforceability of the remaining terms and
393
+ conditions.
394
+
395
+ c. No term or condition of this Public License will be waived and no
396
+ failure to comply consented to unless expressly agreed to by the
397
+ Licensor.
398
+
399
+ d. Nothing in this Public License constitutes or may be interpreted
400
+ as a limitation upon, or waiver of, any privileges and immunities
401
+ that apply to the Licensor or You, including from the legal
402
+ processes of any jurisdiction or authority.
403
+
404
+ =======================================================================
405
+
406
+ Creative Commons is not a party to its public
407
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
408
+ its public licenses to material it publishes and in those instances
409
+ will be considered the “Licensor.” The text of the Creative Commons
410
+ public licenses is dedicated to the public domain under the CC0 Public
411
+ Domain Dedication. Except for the limited purpose of indicating that
412
+ material is shared under a Creative Commons public license or as
413
+ otherwise permitted by the Creative Commons policies published at
414
+ creativecommons.org/policies, Creative Commons does not authorize the
415
+ use of the trademark "Creative Commons" or any other trademark or logo
416
+ of Creative Commons without its prior written consent including,
417
+ without limitation, in connection with any unauthorized modifications
418
+ to any of its public licenses or any other arrangements,
419
+ understandings, or agreements concerning use of licensed material. For
420
+ the avoidance of doubt, this paragraph does not form part of the
421
+ public licenses.
422
+
423
+ Creative Commons may be contacted at creativecommons.org.
424
+
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - ja
5
+ license: cc-by-nc-4.0
6
+ tags:
7
+ - image
8
+ - text
9
+ - synthetic
10
+ - compositional-generalization
11
+ - vision-language
12
+ - kamon
13
+ pretty_name: KamonBench
14
+ size_categories:
15
+ - 10K<n<100K
16
+ task_categories:
17
+ - image-to-text
18
+ viewer: false
19
+ ---
20
+
21
+ # KamonBench
22
+
23
+ A grammar-based image-to-structure benchmark for evaluating compositional
24
+ factor recovery in vision-language models, built around Japanese family crests
25
+ (_kamon_, 家紋).
26
+
27
+ Each composite crest is paired with:
28
+
29
+ - a formal kamon description language string (KDL, _kamon yōgo_, 家紋用語),
30
+ - a segmented Japanese analysis,
31
+ - an English translation,
32
+ - a non-linguistic program code over the generator factors.
33
+
34
+ Because every crest is synthesized from a known triple of generator factors
35
+ (container `C`, modifier `R`, motif `M`), KamonBench supports direct factor
36
+ metrics, controlled factor-pair recombination splits, counterfactual motif-
37
+ sensitivity tests under fixed (container, modifier) contexts, and linear
38
+ probes of factor accessibility from frozen representations. See the
39
+ accompanying paper for details and baselines.
40
+
41
+ The companion code (package, training and evaluation pipelines, and the
42
+ generator) lives at
43
+ [`SakanaAI/KamonBench`](https://github.com/SakanaAI/KamonBench).
44
+
45
+ ## Quick start
46
+
47
+ ```python
48
+ from huggingface_hub import snapshot_download
49
+
50
+ local_dir = snapshot_download(
51
+ repo_id="SakanaAI/KamonBench",
52
+ repo_type="dataset",
53
+ )
54
+ # Then unpack kamon_bench.zip into a `dataset01/` directory; each Croissant
55
+ # file is paired with the archive (via SHA-256) and references images at
56
+ # dataset01/*.png.
57
+ ```
58
+
59
+ ## Files
60
+
61
+ | File | Size | Purpose |
62
+ | ------------------------------------------ | ------ | ---------------------------------------------------------- |
63
+ | `kamon_bench.zip` | 520 MB | Full PNG image set (54,116 PNGs under `dataset01/`) |
64
+ | `kamon_croissant.json` | 34 MB | Main Croissant 1.0 + RAI metadata, with the standard split |
65
+ | `kamon_croissant_program_cm_holdout.json` | 22 MB | Croissant variant: held-out (C, M) pairs |
66
+ | `kamon_croissant_program_rm_holdout.json` | 22 MB | Croissant variant: held-out (R, M) pairs |
67
+ | `kamon_croissant_program_crm_holdout.json` | 22 MB | Croissant variant: held-out (C, R, M) triples |
68
+ | `LICENSE.txt` | — | CC BY-NC 4.0 license text |
69
+ | `README.md` | — | This card |
70
+
71
+ The Croissant files live next to the archive (not inside it), because each
72
+ file pins the archive's SHA-256.
73
+
74
+ ## Dataset structure
75
+
76
+ The image archive contains 54,116 PNGs under `dataset01/`:
77
+
78
+ | Slice | Count | Description |
79
+ | --------------------- | ------ | ---------------------------------------------------------------------------------------------------- |
80
+ | Composite crests | 20,000 | A container plus motif (with optional modifier), or a containerless spatial arrangement of one motif |
81
+ | Base-motif components | 20,000 | One isolated base motif per composite |
82
+ | Container components | 14,116 | One isolated container per composite that uses one |
83
+
84
+ Splits assign whole component groups together with their parent composite, so
85
+ component records share the split of the composite they belong to.
86
+
87
+ | Split | Composites | Components | Total |
88
+ | ----- | ---------- | ---------- | ------ |
89
+ | train | 16,000 | 27,280 | 43,280 |
90
+ | dev | 2,000 | 3,405 | 5,405 |
91
+ | test | 2,000 | 3,431 | 5,431 |
92
+
93
+ Each Croissant record in the `images` record set has these fields:
94
+
95
+ | Field | Description |
96
+ | --------------- | -------------------------------------------------------------- |
97
+ | `id` | Unique image identifier |
98
+ | `image_path` | Path to the PNG inside `dataset01/` |
99
+ | `image` | The PNG contents (resolved through the Croissant `cr:fileSet`) |
100
+ | `description` | Japanese KDL description |
101
+ | `translation` | English translation |
102
+ | `analysis` | Segmented Japanese analysis (list of `{expr, head}` entries) |
103
+ | `is_composite` | Whether the record is a composite crest or a component |
104
+ | `component_ids` | For composites, the IDs of the linked component records |
105
+ | `split` | `"train"`, `"dev"`, or `"test"` |
106
+
107
+ For program-label experiments, the same images are paired with non-linguistic
108
+ codes for the container (`C:NNN`), modifier (`X:N`), and motif (`M:NNN`); the
109
+ three `*_holdout.json` Croissant variants reassign splits so that whole factor
110
+ combinations (`(C, M)`, `(R, M)`, or `(C, R, M)`) are absent from training,
111
+ while the underlying primitive tokens still appear individually in training.
112
+
113
+ ## Recombination splits
114
+
115
+ The three holdout variants share the same images as the main file but reassign
116
+ the train/dev/test labels so that every test composite contains a held-out
117
+ factor combination not seen during training. Primitive tokens remain
118
+ represented in training, so the test isolates the question of whether a model
119
+ can bind familiar primitives in novel combinations rather than recall whole
120
+ crests.
121
+
122
+ ## Limitations and intended use
123
+
124
+ - KamonBench is a research benchmark for compositional visual recognition,
125
+ factor-aware evaluation, and representation analysis. It is not an
126
+ authoritative cultural or historical catalogue of _kamon_.
127
+ - The crests are synthetically rendered from upstream motif assets; they
128
+ differ in style and polish from professionally rendered crests and do not
129
+ cover the full distribution of historical traditions.
130
+ - The released generator uses a limited grammar (one level of containment, a
131
+ fixed set of containers and modifiers).
132
+ - See `rai:dataLimitations`, `rai:dataBiases`, and `rai:dataSocialImpact` in
133
+ the Croissant metadata for the formal RAI description.
134
+
135
+ ## License
136
+
137
+ The dataset is released under
138
+ [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/);
139
+ see `LICENSE.txt` for the full legal code. The companion code is released
140
+ under the MIT License.
141
+
142
+ The component images bundled with KamonBench (one isolated motif per
143
+ composite and one container per contained composite) are repackaged in PNG
144
+ form from the _Rebolforces kamondataset_, a publicly available collection of
145
+ Japanese kamon motifs originally scraped from a catalogue website that is no
146
+ longer accessible online (preserved via the Internet Archive); upstream
147
+ provenance cannot be tracked further. We make no copyright claim over those
148
+ source images and release KamonBench solely for non-commercial research use.
149
+
150
+ ## Citation
151
+
152
+ ```bibtex
153
+ @misc{kamonbench2026,
154
+ title = {KamonBench: A Grammar-Based Dataset for Evaluating Compositional Factor Recovery in Vision-Language Models},
155
+ author = {Sproat, Richard and Peluchetti, Stefano},
156
+ year = {2026},
157
+ note = {arXiv preprint},
158
+ }
159
+ ```
kamon_bench.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e27506a282660207a7de529684b86a44f4d6b6de3a99d0e60ded062f5570c7c
3
+ size 519904830
kamon_croissant.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a68de6d06d65137f80947f3d338f7b326cfd7effd925fd84261a239bb983641
3
+ size 34116635
kamon_croissant_program_cm_holdout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3935ad9192bca8d5ac2aea98e1a39643b51d14da53b5810ba3dc9781f17dc30
3
+ size 22025743
kamon_croissant_program_crm_holdout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:507ceae2107d8d9d0b31e145dd556368b1bd9898daad37bc347f3b3e8ac96ad6
3
+ size 22025870
kamon_croissant_program_rm_holdout.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1270636b19e70189f3f4e85c1543f39f6d7b2d2f33fbb993031889d5995cf30d
3
+ size 22025924