jonathan-suprijadi commited on
Commit
a64dcb8
·
verified ·
1 Parent(s): e81da51

Added model weights, model card and test predictions

Browse files
LICENSE ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-NonCommercial-ShareAlike 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
58
+ Public License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
63
+ ("Public License"). To the extent this Public License may be
64
+ interpreted as a contract, You are granted the Licensed Rights in
65
+ consideration of Your acceptance of these terms and conditions, and the
66
+ Licensor grants You such rights in consideration of benefits the
67
+ Licensor receives from making the Licensed Material available under
68
+ these terms and conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. BY-NC-SA Compatible License means a license listed at
88
+ creativecommons.org/compatiblelicenses, approved by Creative
89
+ Commons as essentially the equivalent of this Public License.
90
+
91
+ d. Copyright and Similar Rights means copyright and/or similar rights
92
+ closely related to copyright including, without limitation,
93
+ performance, broadcast, sound recording, and Sui Generis Database
94
+ Rights, without regard to how the rights are labeled or
95
+ categorized. For purposes of this Public License, the rights
96
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
97
+ Rights.
98
+
99
+ e. Effective Technological Measures means those measures that, in the
100
+ absence of proper authority, may not be circumvented under laws
101
+ fulfilling obligations under Article 11 of the WIPO Copyright
102
+ Treaty adopted on December 20, 1996, and/or similar international
103
+ agreements.
104
+
105
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
106
+ any other exception or limitation to Copyright and Similar Rights
107
+ that applies to Your use of the Licensed Material.
108
+
109
+ g. License Elements means the license attributes listed in the name
110
+ of a Creative Commons Public License. The License Elements of this
111
+ Public License are Attribution, NonCommercial, and ShareAlike.
112
+
113
+ h. Licensed Material means the artistic or literary work, database,
114
+ or other material to which the Licensor applied this Public
115
+ License.
116
+
117
+ i. Licensed Rights means the rights granted to You subject to the
118
+ terms and conditions of this Public License, which are limited to
119
+ all Copyright and Similar Rights that apply to Your use of the
120
+ Licensed Material and that the Licensor has authority to license.
121
+
122
+ j. Licensor means the individual(s) or entity(ies) granting rights
123
+ under this Public License.
124
+
125
+ k. NonCommercial means not primarily intended for or directed towards
126
+ commercial advantage or monetary compensation. For purposes of
127
+ this Public License, the exchange of the Licensed Material for
128
+ other material subject to Copyright and Similar Rights by digital
129
+ file-sharing or similar means is NonCommercial provided there is
130
+ no payment of monetary compensation in connection with the
131
+ exchange.
132
+
133
+ l. Share means to provide material to the public by any means or
134
+ process that requires permission under the Licensed Rights, such
135
+ as reproduction, public display, public performance, distribution,
136
+ dissemination, communication, or importation, and to make material
137
+ available to the public including in ways that members of the
138
+ public may access the material from a place and at a time
139
+ individually chosen by them.
140
+
141
+ m. Sui Generis Database Rights means rights other than copyright
142
+ resulting from Directive 96/9/EC of the European Parliament and of
143
+ the Council of 11 March 1996 on the legal protection of databases,
144
+ as amended and/or succeeded, as well as other essentially
145
+ equivalent rights anywhere in the world.
146
+
147
+ n. You means the individual or entity exercising the Licensed Rights
148
+ under this Public License. Your has a corresponding meaning.
149
+
150
+
151
+ Section 2 -- Scope.
152
+
153
+ a. License grant.
154
+
155
+ 1. Subject to the terms and conditions of this Public License,
156
+ the Licensor hereby grants You a worldwide, royalty-free,
157
+ non-sublicensable, non-exclusive, irrevocable license to
158
+ exercise the Licensed Rights in the Licensed Material to:
159
+
160
+ a. reproduce and Share the Licensed Material, in whole or
161
+ in part, for NonCommercial purposes only; and
162
+
163
+ b. produce, reproduce, and Share Adapted Material for
164
+ NonCommercial purposes only.
165
+
166
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
167
+ Exceptions and Limitations apply to Your use, this Public
168
+ License does not apply, and You do not need to comply with
169
+ its terms and conditions.
170
+
171
+ 3. Term. The term of this Public License is specified in Section
172
+ 6(a).
173
+
174
+ 4. Media and formats; technical modifications allowed. The
175
+ Licensor authorizes You to exercise the Licensed Rights in
176
+ all media and formats whether now known or hereafter created,
177
+ and to make technical modifications necessary to do so. The
178
+ Licensor waives and/or agrees not to assert any right or
179
+ authority to forbid You from making technical modifications
180
+ necessary to exercise the Licensed Rights, including
181
+ technical modifications necessary to circumvent Effective
182
+ Technological Measures. For purposes of this Public License,
183
+ simply making modifications authorized by this Section 2(a)
184
+ (4) never produces Adapted Material.
185
+
186
+ 5. Downstream recipients.
187
+
188
+ a. Offer from the Licensor -- Licensed Material. Every
189
+ recipient of the Licensed Material automatically
190
+ receives an offer from the Licensor to exercise the
191
+ Licensed Rights under the terms and conditions of this
192
+ Public License.
193
+
194
+ b. Additional offer from the Licensor -- Adapted Material.
195
+ Every recipient of Adapted Material from You
196
+ automatically receives an offer from the Licensor to
197
+ exercise the Licensed Rights in the Adapted Material
198
+ under the conditions of the Adapter's License You apply.
199
+
200
+ c. No downstream restrictions. You may not offer or impose
201
+ any additional or different terms or conditions on, or
202
+ apply any Effective Technological Measures to, the
203
+ Licensed Material if doing so restricts exercise of the
204
+ Licensed Rights by any recipient of the Licensed
205
+ Material.
206
+
207
+ 6. No endorsement. Nothing in this Public License constitutes or
208
+ may be construed as permission to assert or imply that You
209
+ are, or that Your use of the Licensed Material is, connected
210
+ with, or sponsored, endorsed, or granted official status by,
211
+ the Licensor or others designated to receive attribution as
212
+ provided in Section 3(a)(1)(A)(i).
213
+
214
+ b. Other rights.
215
+
216
+ 1. Moral rights, such as the right of integrity, are not
217
+ licensed under this Public License, nor are publicity,
218
+ privacy, and/or other similar personality rights; however, to
219
+ the extent possible, the Licensor waives and/or agrees not to
220
+ assert any such rights held by the Licensor to the limited
221
+ extent necessary to allow You to exercise the Licensed
222
+ Rights, but not otherwise.
223
+
224
+ 2. Patent and trademark rights are not licensed under this
225
+ Public License.
226
+
227
+ 3. To the extent possible, the Licensor waives any right to
228
+ collect royalties from You for the exercise of the Licensed
229
+ Rights, whether directly or through a collecting society
230
+ under any voluntary or waivable statutory or compulsory
231
+ licensing scheme. In all other cases the Licensor expressly
232
+ reserves any right to collect such royalties, including when
233
+ the Licensed Material is used other than for NonCommercial
234
+ purposes.
235
+
236
+
237
+ Section 3 -- License Conditions.
238
+
239
+ Your exercise of the Licensed Rights is expressly made subject to the
240
+ following conditions.
241
+
242
+ a. Attribution.
243
+
244
+ 1. If You Share the Licensed Material (including in modified
245
+ form), You must:
246
+
247
+ a. retain the following if it is supplied by the Licensor
248
+ with the Licensed Material:
249
+
250
+ i. identification of the creator(s) of the Licensed
251
+ Material and any others designated to receive
252
+ attribution, in any reasonable manner requested by
253
+ the Licensor (including by pseudonym if
254
+ designated);
255
+
256
+ ii. a copyright notice;
257
+
258
+ iii. a notice that refers to this Public License;
259
+
260
+ iv. a notice that refers to the disclaimer of
261
+ warranties;
262
+
263
+ v. a URI or hyperlink to the Licensed Material to the
264
+ extent reasonably practicable;
265
+
266
+ b. indicate if You modified the Licensed Material and
267
+ retain an indication of any previous modifications; and
268
+
269
+ c. indicate the Licensed Material is licensed under this
270
+ Public License, and include the text of, or the URI or
271
+ hyperlink to, this Public License.
272
+
273
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
274
+ reasonable manner based on the medium, means, and context in
275
+ which You Share the Licensed Material. For example, it may be
276
+ reasonable to satisfy the conditions by providing a URI or
277
+ hyperlink to a resource that includes the required
278
+ information.
279
+ 3. If requested by the Licensor, You must remove any of the
280
+ information required by Section 3(a)(1)(A) to the extent
281
+ reasonably practicable.
282
+
283
+ b. ShareAlike.
284
+
285
+ In addition to the conditions in Section 3(a), if You Share
286
+ Adapted Material You produce, the following conditions also apply.
287
+
288
+ 1. The Adapter's License You apply must be a Creative Commons
289
+ license with the same License Elements, this version or
290
+ later, or a BY-NC-SA Compatible License.
291
+
292
+ 2. You must include the text of, or the URI or hyperlink to, the
293
+ Adapter's License You apply. You may satisfy this condition
294
+ in any reasonable manner based on the medium, means, and
295
+ context in which You Share Adapted Material.
296
+
297
+ 3. You may not offer or impose any additional or different terms
298
+ or conditions on, or apply any Effective Technological
299
+ Measures to, Adapted Material that restrict exercise of the
300
+ rights granted under the Adapter's License You apply.
301
+
302
+
303
+ Section 4 -- Sui Generis Database Rights.
304
+
305
+ Where the Licensed Rights include Sui Generis Database Rights that
306
+ apply to Your use of the Licensed Material:
307
+
308
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
309
+ to extract, reuse, reproduce, and Share all or a substantial
310
+ portion of the contents of the database for NonCommercial purposes
311
+ only;
312
+
313
+ b. if You include all or a substantial portion of the database
314
+ contents in a database in which You have Sui Generis Database
315
+ Rights, then the database in which You have Sui Generis Database
316
+ Rights (but not its individual contents) is Adapted Material,
317
+ including for purposes of Section 3(b); and
318
+
319
+ c. You must comply with the conditions in Section 3(a) if You Share
320
+ all or a substantial portion of the contents of the database.
321
+
322
+ For the avoidance of doubt, this Section 4 supplements and does not
323
+ replace Your obligations under this Public License where the Licensed
324
+ Rights include other Copyright and Similar Rights.
325
+
326
+
327
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
328
+
329
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
330
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
331
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
332
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
333
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
334
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
335
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
336
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
337
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
338
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
339
+
340
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
341
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
342
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
343
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
344
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
345
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
346
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
347
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
348
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
349
+
350
+ c. The disclaimer of warranties and limitation of liability provided
351
+ above shall be interpreted in a manner that, to the extent
352
+ possible, most closely approximates an absolute disclaimer and
353
+ waiver of all liability.
354
+
355
+
356
+ Section 6 -- Term and Termination.
357
+
358
+ a. This Public License applies for the term of the Copyright and
359
+ Similar Rights licensed here. However, if You fail to comply with
360
+ this Public License, then Your rights under this Public License
361
+ terminate automatically.
362
+
363
+ b. Where Your right to use the Licensed Material has terminated under
364
+ Section 6(a), it reinstates:
365
+
366
+ 1. automatically as of the date the violation is cured, provided
367
+ it is cured within 30 days of Your discovery of the
368
+ violation; or
369
+
370
+ 2. upon express reinstatement by the Licensor.
371
+
372
+ For the avoidance of doubt, this Section 6(b) does not affect any
373
+ right the Licensor may have to seek remedies for Your violations
374
+ of this Public License.
375
+
376
+ c. For the avoidance of doubt, the Licensor may also offer the
377
+ Licensed Material under separate terms or conditions or stop
378
+ distributing the Licensed Material at any time; however, doing so
379
+ will not terminate this Public License.
380
+
381
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
382
+ License.
383
+
384
+
385
+ Section 7 -- Other Terms and Conditions.
386
+
387
+ a. The Licensor shall not be bound by any additional or different
388
+ terms or conditions communicated by You unless expressly agreed.
389
+
390
+ b. Any arrangements, understandings, or agreements regarding the
391
+ Licensed Material not stated herein are separate from and
392
+ independent of the terms and conditions of this Public License.
393
+
394
+
395
+ Section 8 -- Interpretation.
396
+
397
+ a. For the avoidance of doubt, this Public License does not, and
398
+ shall not be interpreted to, reduce, limit, restrict, or impose
399
+ conditions on any use of the Licensed Material that could lawfully
400
+ be made without permission under this Public License.
401
+
402
+ b. To the extent possible, if any provision of this Public License is
403
+ deemed unenforceable, it shall be automatically reformed to the
404
+ minimum extent necessary to make it enforceable. If the provision
405
+ cannot be reformed, it shall be severed from this Public License
406
+ without affecting the enforceability of the remaining terms and
407
+ conditions.
408
+
409
+ c. No term or condition of this Public License will be waived and no
410
+ failure to comply consented to unless expressly agreed to by the
411
+ Licensor.
412
+
413
+ d. Nothing in this Public License constitutes or may be interpreted
414
+ as a limitation upon, or waiver of, any privileges and immunities
415
+ that apply to the Licensor or You, including from the legal
416
+ processes of any jurisdiction or authority.
417
+
418
+ =======================================================================
419
+
420
+ Creative Commons is not a party to its public
421
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
422
+ its public licenses to material it publishes and in those instances
423
+ will be considered the “Licensor.” The text of the Creative Commons
424
+ public licenses is dedicated to the public domain under the CC0 Public
425
+ Domain Dedication. Except for the limited purpose of indicating that
426
+ material is shared under a Creative Commons public license or as
427
+ otherwise permitted by the Creative Commons policies published at
428
+ creativecommons.org/policies, Creative Commons does not authorize the
429
+ use of the trademark "Creative Commons" or any other trademark or logo
430
+ of Creative Commons without its prior written consent including,
431
+ without limitation, in connection with any unauthorized modifications
432
+ to any of its public licenses or any other arrangements,
433
+ understandings, or agreements concerning use of licensed material. For
434
+ the avoidance of doubt, this paragraph does not form part of the
435
+ public licenses.
436
+
437
+ Creative Commons may be contacted at creativecommons.org.
438
+
README.md ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ language:
4
+ - en
5
+ base_model: Qwen/Qwen3-VL-2B-Instruct
6
+ base_model_relation: adapter
7
+ datasets:
8
+ - ibrahimhamamci/CT-RATE
9
+ pipeline_tag: image-text-to-text
10
+ tags:
11
+ - medical-imaging
12
+ - radiology
13
+ - computed-tomography
14
+ - 3d
15
+ - report-generation
16
+ - nnfoundation
17
+ - arxiv:2609.26924
18
+ - arxiv:2608.08713
19
+ ---
20
+
21
+ ## nnFoundationViT-ReportGen-CT-RATE
22
+ <sub>Copyright German Cancer Research Center (DKFZ) and contributors. Please make sure that your usage of these models is in compliance with their license.<sub>
23
+
24
+ [![nnFoundation paper](https://img.shields.io/badge/nnFoundation-arXiv-b31b1b?logo=arxiv)](https://arxiv.org/abs/2609.26924)
25
+ [![RMR paper](https://img.shields.io/badge/RMR-arXiv-b31b1b?logo=arxiv)](https://arxiv.org/abs/2608.08713)
26
+ [![Code](https://img.shields.io/badge/GitHub-code-181717?logo=github)](https://github.com/MIC-DKFZ/vlm)
27
+
28
+ `nnFoundationViT-ReportGen-CT-RATE` generates radiology reports (findings and impression) for
29
+ **chest CT** volumes. Frozen [nnFoundationViT](https://huggingface.co/MIC-DKFZ/nnFoundationViT)
30
+ features are passed through a trainable adapter to
31
+ [Qwen3-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-2B-Instruct), adapted with LoRA, and
32
+ trained on [CT-RATE](https://huggingface.co/datasets/ibrahimhamamci/CT-RATE). The training
33
+ recipe builds on the findings of [Resolution Meets Reduction (RMR)](https://arxiv.org/abs/2608.08713)
34
+ and improves on the report-generation models of the
35
+ [nnFoundation paper](https://arxiv.org/abs/2609.26924); we recommend it for generating reports on
36
+ new chest CT.
37
+
38
+ For abdominal CT, use [nnFoundationViT-ReportGen-Merlin](https://huggingface.co/MIC-DKFZ/nnFoundationViT-ReportGen-Merlin).
39
+
40
+ ## Model
41
+
42
+ | Component | Details | Trained |
43
+ |---|---|---|
44
+ | Vision encoder | [nnFoundationViT](https://huggingface.co/MIC-DKFZ/nnFoundationViT), 192³ input, 24³ = 13,824 patch tokens | Frozen |
45
+ | Adapter | Normalization and MLP applied to each patch token, no token reduction | Fully |
46
+ | Language model | [Qwen3-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-2B-Instruct) | LoRA (r 32, α 64) on attention, MLP, and `lm_head` |
47
+
48
+ This repository holds only the trained weights (adapter and LoRA, 46M parameters); the encoder
49
+ and the language model are downloaded from their own repositories.
50
+
51
+ ## Usage
52
+
53
+ Reports are generated with
54
+ [`inference_nifti.py`](https://github.com/MIC-DKFZ/vlm/blob/main/inference_nifti.py) from the
55
+ [code repository](https://github.com/MIC-DKFZ/vlm), for a folder of NIfTI volumes:
56
+
57
+ ```bash
58
+ git clone https://github.com/MIC-DKFZ/vlm.git && cd vlm
59
+ uv sync --locked --python 3.12 --extra totalsegmentator
60
+ uv run hf download MIC-DKFZ/nnFoundationViT-ReportGen-CT-RATE --local-dir models/ctrate
61
+
62
+ uv run torchrun --standalone --nproc_per_node=<number of GPUs> inference_nifti.py \
63
+ --checkpoint_dir models/ctrate \
64
+ --input_dir /path/to/chest_ct_volumes \
65
+ --mask_dir /path/to/masks \
66
+ --output_dir /path/to/reports
67
+ ```
68
+
69
+ The reports are saved in `inference_results.json`. See
70
+ [report generation for NIfTI volumes](https://github.com/MIC-DKFZ/vlm/blob/main/documentation/nifti_inference.md)
71
+ for masks, offline use, and batching.
72
+
73
+ ## Expected input
74
+
75
+ Chest CT volumes as NIfTI files (`.nii.gz` or `.nii`). The script prepares each volume as in
76
+ training, so no settings have to be passed: it reorients the volume, crops it to the foreground of
77
+ its [TotalSegmentator](https://github.com/wasserth/TotalSegmentator) `total` mask (made if
78
+ missing), resizes the crop to 192³, and applies z-score normalization.
79
+
80
+ ## Training
81
+
82
+ | Setting | Value |
83
+ |---|---|
84
+ | Data | CT-RATE training split, with the report cleaning and scan exclusions of RMR (v2 dataset JSONs) |
85
+ | Epochs | 16 |
86
+ | Effective batch size | 24 |
87
+ | Optimizer | AdamW, no weight decay |
88
+ | Learning rate | Adapter `3e-3`, LoRA `3e-4`; the adapter first trains alone with a warmup, then all trained parameters warm up again, followed by a cosine decay |
89
+
90
+ The released weights are the checkpoint with the best validation F1, which here is the final
91
+ checkpoint.
92
+
93
+ ## Evaluation
94
+
95
+ Results on the 3,002 reports of the CT-RATE test set (the official validation split), with greedy
96
+ decoding. The clinical scores compare the findings that
97
+ [RadBERT-CT](https://huggingface.co/IAMJB/RadBERT-CT) extracts from the generated and the
98
+ reference reports, as macro averages over the 18 CT-RATE findings.
99
+
100
+ | Metric | Value |
101
+ |---|---|
102
+ | F1 (macro) | **0.499** |
103
+ | Precision (macro) | 0.555 |
104
+ | Recall (macro) | 0.459 |
105
+ | CRG | 0.467 |
106
+ | BLEU-1 / BLEU-4 | 0.467 / 0.230 |
107
+ | METEOR | 0.245 |
108
+ | ROUGE-L | 0.338 |
109
+ | CIDEr | 0.195 |
110
+
111
+ The generated reports are in `test_predictions/inference_results.json`; join them with the
112
+ dataset's reports by `image_id` to compute other metrics.
113
+
114
+ ## Intended use and limitations
115
+
116
+ - Intended for research on radiology report generation, not for clinical decision-making or
117
+ diagnosis. Generated reports can contain findings that are not present and miss findings that
118
+ are.
119
+ - Trained only on chest CT from CT-RATE, with English reports; other body regions, scanners, and
120
+ report styles have not been evaluated.
121
+ - Volumes are expected to be cropped to their TotalSegmentator mask. Reports for whole volumes
122
+ (`--allow_missing_masks`) are less reliable, since the model saw almost none in training.
123
+
124
+ ## Repository contents
125
+
126
+ | File | Purpose |
127
+ |---|---|
128
+ | `model.safetensors` | the trained adapter and LoRA weights |
129
+ | `final_config.yml` | the training config, including the preprocessing and the encoder revision that `inference_nifti.py` reads |
130
+ | `checkpoint_manifest.json` | checkpoint metadata |
131
+ | `test_predictions/` | the generated test-set reports and their metrics |
132
+ | `LICENSE` | CC BY-NC-SA 4.0 |
133
+
134
+ ## Citation
135
+
136
+ If you use this model, please cite the nnFoundation paper for the vision encoder and RMR for the
137
+ report-generation recipe:
138
+
139
+ <details>
140
+ <summary>nnFoundation BibTeX</summary>
141
+
142
+ ```bibtex
143
+ @misc{harsy2026nnfoundation3dfoundationmodels,
144
+ title = {nnFoundation: 3D Foundation Models for Radiology},
145
+ author = {Ulrich Harsy, Constantin and Wald, Tassilo and Gotkowski, Karol and others},
146
+ year = {2026},
147
+ eprint = {2609.26924},
148
+ archivePrefix = {arXiv},
149
+ primaryClass = {cs.CV},
150
+ url = {https://arxiv.org/abs/2609.26924}
151
+ }
152
+ ```
153
+
154
+ </details>
155
+
156
+ <details>
157
+ <summary>RMR BibTeX</summary>
158
+
159
+ ```bibtex
160
+ @misc{suprijadi2026resolutionmeetsreduction,
161
+ title = {Resolution Meets Reduction: Efficient Visual Context for 3D Radiology Report Generation},
162
+ author = {Suprijadi, Jonathan and Stock, Raphael and Langenberg, Moritz
163
+ and Zimmerer, David and Kahl, Kim-Celine and Denner, Stefan
164
+ and Kirchhoff, Yannick and Gotkowski, Karol and Rokuss, Maximilian
165
+ and Traub, Jeremias and Wald, Tassilo and Ulrich, Constantin
166
+ and Maier-Hein, Klaus},
167
+ year = {2026},
168
+ eprint = {2608.08713},
169
+ archivePrefix = {arXiv},
170
+ primaryClass = {cs.CV},
171
+ url = {https://arxiv.org/abs/2608.08713}
172
+ }
173
+ ```
174
+
175
+ </details>
176
+
177
+ Please also acknowledge [CT-RATE](https://huggingface.co/datasets/ibrahimhamamci/CT-RATE) and
178
+ [Qwen3-VL](https://huggingface.co/Qwen/Qwen3-VL-2B-Instruct).
179
+
180
+ ## License
181
+
182
+ The weights and this model card are licensed under
183
+ [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/), following the license of the
184
+ CT-RATE training data. The vision encoder ([nnFoundationViT](https://huggingface.co/MIC-DKFZ/nnFoundationViT),
185
+ CC BY-SA 4.0) and the language model ([Qwen3-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-2B-Instruct),
186
+ Apache 2.0) are not included and keep their own licenses.
checkpoint_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "previous_run_dirs": []
3
+ }
final_config.yml ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ git: null
2
+ run:
3
+ base_configs:
4
+ - bases/datasets/ctrate/nnFoundationViT_FG_Direct.yml
5
+ - bases/models/Qwen3-VL-2B_Adapter_LM.yml
6
+ - bases/schedulers/AdapterDWUScheduler.yml
7
+ - bases/ProjectDefaults.yml
8
+ data:
9
+ answer_types:
10
+ - TEXT:
11
+ - REPORT_DIAGNOSIS
12
+ dataset_name: ctrate
13
+ do_resize: false
14
+ do_transforms: false
15
+ embed_dim: 1056
16
+ embed_size:
17
+ - 24
18
+ - 24
19
+ - 24
20
+ embedding_encoder:
21
+ checkpoint_path: MIC-DKFZ/nnFoundationViT@c691f2115140458ec64017712eb8ebbc8dde6ae4
22
+ class_name: PrimusEncoder
23
+ embedding_transforms: []
24
+ image_id_suffix: ''
25
+ is_stacked_2d_embedding: false
26
+ max_response_tokens: null
27
+ n_train_samples: null
28
+ n_val_samples: 1
29
+ reduce_to_n_slices: null
30
+ retrieval_json_path: null
31
+ retrieval_n_samples: 2
32
+ retrieval_use_image_in_prompt: false
33
+ sentence_shuffle_p: 0.5
34
+ test_dataset_json_path: ${CTRATE_DATASET_JSONS}/ctrate_v2_test.json
35
+ text_only: false
36
+ train_dataset_json_path: ${CTRATE_DATASET_JSONS}/ctrate_v2_train.json
37
+ val_dataset_json_path: ${CTRATE_DATASET_JSONS}/ctrate_v2_val.json
38
+ vision_input_is_sharded: false
39
+ vision_input_orientation: LPS
40
+ vision_input_path: ${VLM_EMBEDS}/CTRATEv2_nnFoundationViT_FG_Direct
41
+ vision_input_preprocessing:
42
+ enforce_min_bbox: true
43
+ mask_label_ids: null
44
+ normalization: z_score
45
+ outlier_method: connected_components
46
+ outlier_min_voxels: 100
47
+ processing_mode: resized_direct
48
+ roi_mask: TotalSegmentator 'total', foreground of all labels
49
+ target_spacing:
50
+ - 1.0
51
+ - 1.0
52
+ - 1.0
53
+ vision_input_type: embedding
54
+ eval:
55
+ calculate_classifier_score: true
56
+ callback_n_samples: unique
57
+ do_sample: false
58
+ eval_every_n_epochs: 2
59
+ inference_precision: fp32
60
+ max_new_tokens: 2048
61
+ mode: final
62
+ num_eval_processes: null
63
+ per_device_batch_size: 32
64
+ run_eval: true
65
+ run_inference: true
66
+ split: val
67
+ temperature: null
68
+ top_k: null
69
+ top_p: null
70
+ general:
71
+ do_early_stopping: false
72
+ init_from_checkpoint: null
73
+ local_files_only: false
74
+ output_dir: Qwen3-VL-2B__nnFoundationViT__MLP__CR_1__2026-11-04_13-25-40__2678960
75
+ run_name: Qwen3-VL-2B__nnFoundationViT__MLP__CR_1__2026-11-04_13-25-40__2678960
76
+ run_name_suffix: null
77
+ seed: 42
78
+ stage_vision_input_to_local: false
79
+ train_config: Qwen3-VL-2B__nnFoundationViT__MLP__CR_1.yml
80
+ wandb_entity: null
81
+ wandb_project: null
82
+ model:
83
+ adapter:
84
+ class_kwargs:
85
+ depth: 1
86
+ class_name: OneToOneAdapter
87
+ attn_implementation: flash_attention_3
88
+ model_id: Qwen/Qwen3-VL-2B-Instruct
89
+ model_type: Qwen3-VL-2B
90
+ trainable_params:
91
+ adapter:
92
+ mode: full
93
+ peft: null
94
+ language_model:
95
+ mode: peft
96
+ peft:
97
+ bias: none
98
+ lora_alpha: 64
99
+ lora_dropout: 0.1
100
+ modules_to_save: null
101
+ r: 32
102
+ target_modules:
103
+ - q_proj
104
+ - k_proj
105
+ - v_proj
106
+ - o_proj
107
+ - gate_proj
108
+ - up_proj
109
+ - down_proj
110
+ type: lora
111
+ lm_head:
112
+ mode: peft
113
+ peft:
114
+ lora_alpha: 64
115
+ lora_dropout: 0.1
116
+ r: 32
117
+ type: lora
118
+ vision_encoder: null
119
+ vision_encoder: null
120
+ scheduler:
121
+ class_kwargs:
122
+ adapter_lr: 0.003
123
+ lm_lr: 0.0003
124
+ warmup_1_duration: 0.0625
125
+ warmup_2_duration: 0.0625
126
+ class_name: AdapterDWUScheduler
127
+ optimizer:
128
+ class_kwargs:
129
+ fused: true
130
+ weight_decay: 0.0
131
+ class_name: AdamW
132
+ trainer:
133
+ average_tokens_across_devices: true
134
+ dataloader_num_workers: 4
135
+ dataloader_persistent_workers: false
136
+ dataloader_pin_memory: true
137
+ dataloader_prefetch_factor: 2
138
+ ddp_bucket_cap_mb: 25
139
+ ddp_find_unused_parameters: false
140
+ deepspeed: null
141
+ early_stopping_patience: null
142
+ early_stopping_threshold: 0.0
143
+ eval_steps: 1
144
+ eval_strategy: epoch
145
+ gradient_accumulation_steps: 1
146
+ gradient_checkpointing: false
147
+ gradient_checkpointing_fraction: null
148
+ gradient_checkpointing_kwargs:
149
+ use_reentrant: false
150
+ greater_is_better: true
151
+ load_best_model_at_end: false
152
+ logging_steps: 25
153
+ max_grad_norm: 0.3
154
+ max_steps: -1
155
+ metric_for_best_model: eval_classifier_f1
156
+ num_train_epochs: 16
157
+ per_device_eval_batch_size: 1
158
+ per_device_train_batch_size: 1
159
+ remove_unused_columns: false
160
+ report_to:
161
+ - wandb
162
+ save_steps: 1
163
+ save_strategy: epoch
164
+ save_total_limit: 2
165
+ torch_empty_cache_steps: 10
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15d6860b2ac1fa11080bca4a5a31046afac284413655664c6fea3c83f631603e
3
+ size 184681432
test_predictions/VLM_metrics.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bleu_score_1": 0.46654947049243656,
3
+ "bleu_score_2": 0.3489243547710234,
4
+ "bleu_score_3": 0.27687294584293504,
5
+ "bleu_score_4": 0.23014609354538912,
6
+ "meteor_score": 0.2445366997688661,
7
+ "rougel_score": 0.33820465883969747,
8
+ "cider_score": 0.1952341278544523,
9
+ "accuracy": 0.8416796209934119,
10
+ "balanced_accuracy": 0.6863775608927316,
11
+ "precision": 0.5546396478472628,
12
+ "recall": 0.458755491332656,
13
+ "f1": 0.4987329732197503,
14
+ "crg": 0.46671407141402727
15
+ }
test_predictions/inference_results.json ADDED
The diff for this file is too large to render. See raw diff