JunJiang commited on
Commit
1534fe9
·
verified ·
1 Parent(s): ca274a1

Add files using upload-large-folder tool

Browse files
Files changed (6) hide show
  1. LICENSE +416 -0
  2. README.md +147 -0
  3. config.json +11 -0
  4. manifest.json +29 -0
  5. model.pth +3 -0
  6. model.safetensors +3 -0
LICENSE ADDED
@@ -0,0 +1,416 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ CSI-CLIP License Notice
3
+
4
+ Copyright (c) 2026 GREAT contributors.
5
+
6
+ This repository is released for research and other non-commercial use
7
+ only under the Creative Commons Attribution-NonCommercial 4.0
8
+ International Public License below. Commercial use is not permitted
9
+ without prior written permission from the copyright holders.
10
+
11
+ Portions of this repository are adapted from public self-supervised
12
+ learning utilities released by Meta/Facebook AI and the CLIP training
13
+ pattern released by OpenAI at https://github.com/openai/CLIP. Original
14
+ attribution notices are retained in source files where applicable.
15
+
16
+ =======================================================================
17
+
18
+ Attribution-NonCommercial 4.0 International
19
+
20
+ =======================================================================
21
+
22
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
23
+ does not provide legal services or legal advice. Distribution of
24
+ Creative Commons public licenses does not create a lawyer-client or
25
+ other relationship. Creative Commons makes its licenses and related
26
+ information available on an "as-is" basis. Creative Commons gives no
27
+ warranties regarding its licenses, any material licensed under their
28
+ terms and conditions, or any related information. Creative Commons
29
+ disclaims all liability for damages resulting from their use to the
30
+ fullest extent possible.
31
+
32
+ Using Creative Commons Public Licenses
33
+
34
+ Creative Commons public licenses provide a standard set of terms and
35
+ conditions that creators and other rights holders may use to share
36
+ original works of authorship and other material subject to copyright
37
+ and certain other rights specified in the public license below. The
38
+ following considerations are for informational purposes only, are not
39
+ exhaustive, and do not form part of our licenses.
40
+
41
+ Considerations for licensors: Our public licenses are
42
+ intended for use by those authorized to give the public
43
+ permission to use material in ways otherwise restricted by
44
+ copyright and certain other rights. Our licenses are
45
+ irrevocable. Licensors should read and understand the terms
46
+ and conditions of the license they choose before applying it.
47
+ Licensors should also secure all rights necessary before
48
+ applying our licenses so that the public can reuse the
49
+ material as expected. Licensors should clearly mark any
50
+ material not subject to the license. This includes other CC-
51
+ licensed material, or material used under an exception or
52
+ limitation to copyright. More considerations for licensors:
53
+ wiki.creativecommons.org/Considerations_for_licensors
54
+
55
+ Considerations for the public: By using one of our public
56
+ licenses, a licensor grants the public permission to use the
57
+ licensed material under specified terms and conditions. If
58
+ the licensor's permission is not necessary for any reason--for
59
+ example, because of any applicable exception or limitation to
60
+ copyright--then that use is not regulated by the license. Our
61
+ licenses grant only permissions under copyright and certain
62
+ other rights that a licensor has authority to grant. Use of
63
+ the licensed material may still be restricted for other
64
+ reasons, including because others have copyright or other
65
+ rights in the material. A licensor may make special requests,
66
+ such as asking that all changes be marked or described.
67
+ Although not required by our licenses, you are encouraged to
68
+ respect those requests where reasonable. More_considerations
69
+ for the public:
70
+ wiki.creativecommons.org/Considerations_for_licensees
71
+
72
+ =======================================================================
73
+
74
+ Creative Commons Attribution-NonCommercial 4.0 International Public
75
+ License
76
+
77
+ By exercising the Licensed Rights (defined below), You accept and agree
78
+ to be bound by the terms and conditions of this Creative Commons
79
+ Attribution-NonCommercial 4.0 International Public License ("Public
80
+ License"). To the extent this Public License may be interpreted as a
81
+ contract, You are granted the Licensed Rights in consideration of Your
82
+ acceptance of these terms and conditions, and the Licensor grants You
83
+ such rights in consideration of benefits the Licensor receives from
84
+ making the Licensed Material available under these terms and
85
+ conditions.
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
+ Section 2 -- Scope.
158
+
159
+ a. License grant.
160
+
161
+ 1. Subject to the terms and conditions of this Public License,
162
+ the Licensor hereby grants You a worldwide, royalty-free,
163
+ non-sublicensable, non-exclusive, irrevocable license to
164
+ exercise the Licensed Rights in the Licensed Material to:
165
+
166
+ a. reproduce and Share the Licensed Material, in whole or
167
+ in part, for NonCommercial purposes only; and
168
+
169
+ b. produce, reproduce, and Share Adapted Material for
170
+ NonCommercial purposes only.
171
+
172
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
173
+ Exceptions and Limitations apply to Your use, this Public
174
+ License does not apply, and You do not need to comply with
175
+ its terms and conditions.
176
+
177
+ 3. Term. The term of this Public License is specified in Section
178
+ 6(a).
179
+
180
+ 4. Media and formats; technical modifications allowed. The
181
+ Licensor authorizes You to exercise the Licensed Rights in
182
+ all media and formats whether now known or hereafter created,
183
+ and to make technical modifications necessary to do so. The
184
+ Licensor waives and/or agrees not to assert any right or
185
+ authority to forbid You from making technical modifications
186
+ necessary to exercise the Licensed Rights, including
187
+ technical modifications necessary to circumvent Effective
188
+ Technological Measures. For purposes of this Public License,
189
+ simply making modifications authorized by this Section 2(a)
190
+ (4) never produces Adapted Material.
191
+
192
+ 5. Downstream recipients.
193
+
194
+ a. Offer from the Licensor -- Licensed Material. Every
195
+ recipient of the Licensed Material automatically
196
+ receives an offer from the Licensor to exercise the
197
+ Licensed Rights under the terms and conditions of this
198
+ Public License.
199
+
200
+ b. 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
+ Section 3 -- License Conditions.
237
+
238
+ Your exercise of the Licensed Rights is expressly made subject to the
239
+ following conditions.
240
+
241
+ a. Attribution.
242
+
243
+ 1. If You Share the Licensed Material (including in modified
244
+ form), You must:
245
+
246
+ a. retain the following if it is supplied by the Licensor
247
+ with the Licensed Material:
248
+
249
+ i. identification of the creator(s) of the Licensed
250
+ Material and any others designated to receive
251
+ attribution, in any reasonable manner requested by
252
+ the Licensor (including by pseudonym if
253
+ designated);
254
+
255
+ ii. a copyright notice;
256
+
257
+ iii. a notice that refers to this Public License;
258
+
259
+ iv. a notice that refers to the disclaimer of
260
+ warranties;
261
+
262
+ v. a URI or hyperlink to the Licensed Material to the
263
+ extent reasonably practicable;
264
+
265
+ b. indicate if You modified the Licensed Material and
266
+ retain an indication of any previous modifications; and
267
+
268
+ c. indicate the Licensed Material is licensed under this
269
+ Public License, and include the text of, or the URI or
270
+ hyperlink to, this Public License.
271
+
272
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
273
+ reasonable manner based on the medium, means, and context in
274
+ which You Share the Licensed Material. For example, it may be
275
+ reasonable to satisfy the conditions by providing a URI or
276
+ hyperlink to a resource that includes the required
277
+ information.
278
+
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
+ 4. If You Share Adapted Material You produce, the Adapter's
284
+ License You apply must not prevent recipients of the Adapted
285
+ Material from complying with this Public License.
286
+
287
+ Section 4 -- Sui Generis Database Rights.
288
+
289
+ Where the Licensed Rights include Sui Generis Database Rights that
290
+ apply to Your use of the Licensed Material:
291
+
292
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
293
+ to extract, reuse, reproduce, and Share all or a substantial
294
+ portion of the contents of the database for NonCommercial purposes
295
+ only;
296
+
297
+ b. if You include all or a substantial portion of the database
298
+ contents in a database in which You have Sui Generis Database
299
+ Rights, then the database in which You have Sui Generis Database
300
+ Rights (but not its individual contents) is Adapted Material; and
301
+
302
+ c. You must comply with the conditions in Section 3(a) if You Share
303
+ all or a substantial portion of the contents of the database.
304
+
305
+ For the avoidance of doubt, this Section 4 supplements and does not
306
+ replace Your obligations under this Public License where the Licensed
307
+ Rights include other Copyright and Similar Rights.
308
+
309
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
310
+
311
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
312
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
313
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
314
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
315
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
316
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
317
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
318
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
319
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
320
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
321
+
322
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
323
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
324
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
325
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
326
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
327
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
328
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
329
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
330
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
331
+
332
+ c. The disclaimer of warranties and limitation of liability provided
333
+ above shall be interpreted in a manner that, to the extent
334
+ possible, most closely approximates an absolute disclaimer and
335
+ waiver of all liability.
336
+
337
+ Section 6 -- Term and Termination.
338
+
339
+ a. This Public License applies for the term of the Copyright and
340
+ Similar Rights licensed here. However, if You fail to comply with
341
+ this Public License, then Your rights under this Public License
342
+ terminate automatically.
343
+
344
+ b. Where Your right to use the Licensed Material has terminated under
345
+ Section 6(a), it reinstates:
346
+
347
+ 1. automatically as of the date the violation is cured, provided
348
+ it is cured within 30 days of Your discovery of the
349
+ violation; or
350
+
351
+ 2. upon express reinstatement by the Licensor.
352
+
353
+ For the avoidance of doubt, this Section 6(b) does not affect any
354
+ right the Licensor may have to seek remedies for Your violations
355
+ of this Public License.
356
+
357
+ c. For the avoidance of doubt, the Licensor may also offer the
358
+ Licensed Material under separate terms or conditions or stop
359
+ distributing the Licensed Material at any time; however, doing so
360
+ will not terminate this Public License.
361
+
362
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
363
+ License.
364
+
365
+ Section 7 -- Other Terms and Conditions.
366
+
367
+ a. The Licensor shall not be bound by any additional or different
368
+ terms or conditions communicated by You unless expressly agreed.
369
+
370
+ b. Any arrangements, understandings, or agreements regarding the
371
+ Licensed Material not stated herein are separate from and
372
+ independent of the terms and conditions of this Public License.
373
+
374
+ Section 8 -- Interpretation.
375
+
376
+ a. For the avoidance of doubt, this Public License does not, and
377
+ shall not be interpreted to, reduce, limit, restrict, or impose
378
+ conditions on any use of the Licensed Material that could lawfully
379
+ be made without permission under this Public License.
380
+
381
+ b. To the extent possible, if any provision of this Public License is
382
+ deemed unenforceable, it shall be automatically reformed to the
383
+ minimum extent necessary to make it enforceable. If the provision
384
+ cannot be reformed, it shall be severed from this Public License
385
+ without affecting the enforceability of the remaining terms and
386
+ conditions.
387
+
388
+ c. No term or condition of this Public License will be waived and no
389
+ failure to comply consented to unless expressly agreed to by the
390
+ Licensor.
391
+
392
+ d. Nothing in this Public License constitutes or may be interpreted
393
+ as a limitation upon, or waiver of, any privileges and immunities
394
+ that apply to the Licensor or You, including from the legal
395
+ processes of any jurisdiction or authority.
396
+
397
+ =======================================================================
398
+
399
+ Creative Commons is not a party to its public
400
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
401
+ its public licenses to material it publishes and in those instances
402
+ will be considered the “Licensor.” The text of the Creative Commons
403
+ public licenses is dedicated to the public domain under the CC0 Public
404
+ Domain Dedication. Except for the limited purpose of indicating that
405
+ material is shared under a Creative Commons public license or as
406
+ otherwise permitted by the Creative Commons policies published at
407
+ creativecommons.org/policies, Creative Commons does not authorize the
408
+ use of the trademark "Creative Commons" or any other trademark or logo
409
+ of Creative Commons without its prior written consent including,
410
+ without limitation, in connection with any unauthorized modifications
411
+ to any of its public licenses or any other arrangements,
412
+ understandings, or agreements concerning use of licensed material. For
413
+ the avoidance of doubt, this paragraph does not form part of the
414
+ public licenses.
415
+
416
+ Creative Commons may be contacted at creativecommons.org.
README.md CHANGED
@@ -1,3 +1,150 @@
1
  ---
2
  license: cc-by-nc-4.0
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-4.0
3
+ library_name: pytorch
4
+ pipeline_tag: feature-extraction
5
+ tags:
6
+ - wireless
7
+ - channel-state-information
8
+ - channel-foundation-model
9
+ - contrastive-learning
10
+ - resnet
11
  ---
12
+
13
+ # CSI-CLIP ResNet-50
14
+
15
+ CSI-CLIP is a channel foundation model that aligns channel state information
16
+ (CSI/CFR) and channel impulse response (CIR) representations through
17
+ contrastive pre-training. This repository contains the official model-only
18
+ ResNet-50 weights associated with
19
+ [*A MIMO Wireless Channel Foundation Model via CIR-CSI Consistency*](https://arxiv.org/abs/2502.11965).
20
+
21
+ - Code: [GREAT-ISAC/CSI-CLIP](https://github.com/GREAT-ISAC/CSI-CLIP)
22
+
23
+ Released by **[GREAT Wireless AI](https://github.com/GREAT-ISAC)**. The
24
+ `GREAT-ISAC` GitHub handle is retained for continuity with existing papers and
25
+ community links.
26
+ - Paper: [arXiv:2502.11965](https://arxiv.org/abs/2502.11965)
27
+ - IEEE: [ICMLCN 2025](https://ieeexplore.ieee.org/abstract/document/11140262/)
28
+
29
+ ## Weight files
30
+
31
+ Both files contain the same pre-trained model parameters. They do not contain
32
+ an optimizer, scheduler, training data, or a downstream task head.
33
+
34
+ | File | Type | Intended use |
35
+ | --- | --- | --- |
36
+ | `model.safetensors` | Model-only pre-trained weights | Recommended for safe standalone loading and feature extraction |
37
+ | `model.pth` | Model-only PyTorch checkpoint with a `model` key | Compatibility with the existing fine-tuning scripts |
38
+
39
+ These are foundation-model pre-training weights, not task-specific checkpoints
40
+ for positioning, beam management, or LOS/NLOS classification. A downstream
41
+ head must be trained before task-level inference.
42
+
43
+ The original checkpoint used the legacy names `cfr_backbone`, `cir_backbone`,
44
+ `proj_cfr`, and `proj_cir`. They were mapped to the names in the public
45
+ `CSICLIP` class without changing the tensors. The public class additionally
46
+ expects `logit_scale`; because the original checkpoint predates that parameter,
47
+ it is initialized to the documented CLIP default of `log(1 / 0.07)`. This does
48
+ not affect CSI encoder feature extraction. Exact SHA-256 values are recorded in
49
+ `manifest.json`.
50
+
51
+ ## Input contract
52
+
53
+ | Property | Value |
54
+ | --- | --- |
55
+ | Input shape | `[batch, 2, 256, 256]` |
56
+ | Channel order | Real, imaginary |
57
+ | Dtype | `float32` |
58
+ | Normalization | Per-sample, per-channel min-max normalization to `[0, 1]` |
59
+ | Normalization epsilon | `1e-8` |
60
+ | CIR construction | IFFT of the normalized complex CSI along the last axis |
61
+ | CSI embedding size | 256 |
62
+
63
+ The same preprocessing must be used during training, fine-tuning, and
64
+ inference. The repository implementation is authoritative; see
65
+ `build_cir_cfr_pair` in `augmentations.py`.
66
+
67
+ ## Usage
68
+
69
+ Install the code and its minimal dependencies:
70
+
71
+ ```bash
72
+ git clone https://github.com/GREAT-ISAC/CSI-CLIP.git
73
+ cd CSI-CLIP
74
+ pip install -r requirements.txt
75
+ ```
76
+
77
+ After downloading `model.safetensors`, run the model-loading smoke test:
78
+
79
+ ```bash
80
+ python load_pretrained.py \
81
+ --checkpoint /path/to/model.safetensors
82
+ ```
83
+
84
+ Expected output:
85
+
86
+ ```text
87
+ CSI embedding shape: (1, 256)
88
+ ```
89
+
90
+ Run feature extraction on a complex `cfr.npy` sample:
91
+
92
+ ```bash
93
+ python load_pretrained.py \
94
+ --checkpoint /path/to/model.safetensors \
95
+ --input /path/to/scenario/cfr.npy \
96
+ --sample-index 0
97
+ ```
98
+
99
+ ## Training data
100
+
101
+ The model was pre-trained on simulated DeepMIMO CSI covering multiple wireless
102
+ scenarios. Generated training arrays are not included in this model repository.
103
+ A **reproducible data-generation pipeline** will be released separately with
104
+ the simulator configuration, preprocessing, and split definitions.
105
+
106
+ ## Intended use
107
+
108
+ - Research on wireless/channel foundation models.
109
+ - CSI representation and feature extraction.
110
+ - Initialization for positioning, beam management, and LOS/NLOS classifiers.
111
+ - Non-commercial evaluation and reproducibility studies.
112
+
113
+ ## Limitations and out-of-scope use
114
+
115
+ - The model was trained on simulated data; performance on measured channels is
116
+ not guaranteed.
117
+ - Inputs with different antenna/subcarrier layouts require an explicitly
118
+ validated adaptation rather than an assumed reshape.
119
+ - The released weights do not provide task predictions without a trained
120
+ downstream head.
121
+ - The model is not intended for safety-critical deployment or commercial use.
122
+ - Results depend on reproducing the documented preprocessing exactly.
123
+
124
+ ## License
125
+
126
+ The original CSI-CLIP code, these model weights, and the accompanying original
127
+ data-generation scripts are released under the
128
+ [Creative Commons Attribution-NonCommercial 4.0 International](https://creativecommons.org/licenses/by-nc/4.0/)
129
+ license (**CC BY-NC 4.0**). Attribution is required and commercial use is not
130
+ permitted without prior written authorization from the copyright holders.
131
+ Third-party software, simulators, datasets, and scenario assets remain subject
132
+ to their respective licenses.
133
+
134
+ ## Citation
135
+
136
+ ```bibtex
137
+ @inproceedings{jiang2025csi_clip,
138
+ title={A MIMO Wireless Channel Foundation Model via CIR-CSI Consistency},
139
+ author={Jiang, Jun and Yu, Wenjun and Li, Yunfan and Gao, Yuan and Xu, Shugong},
140
+ booktitle={2025 IEEE International Conference on Machine Learning for Communication and Networking (ICMLCN)},
141
+ pages={1--6},
142
+ year={2025},
143
+ doi={10.1109/ICMLCN64995.2025.11140262}
144
+ }
145
+ ```
146
+
147
+ ## Contact
148
+
149
+ For questions, contact Jun Jiang at
150
+ [Jun.Jiang25@student.xjtlu.edu.cn](mailto:Jun.Jiang25@student.xjtlu.edu.cn).
config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "csi-clip-resnet50",
3
+ "embed_dim": 256,
4
+ "input_channels": 2,
5
+ "input_size": [
6
+ 256,
7
+ 256
8
+ ],
9
+ "normalization": "per-sample, per-channel min-max normalization",
10
+ "source_domain": "DeepMIMO"
11
+ }
manifest.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "csi-clip-resnet50",
3
+ "contents": "model parameters only; no optimizer or scaler state",
4
+ "embed_dim": 256,
5
+ "input_channels": 2,
6
+ "input_size": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "CSI-CLIP",
11
+ "normalization": "per-sample, per-channel min-max normalization",
12
+ "source_checkpoint": "best.pth",
13
+ "source_domain": "DeepMIMO",
14
+ "source_sha256": "5c1eb1b6cfe349d8bd336c2158c7387e54cf7c9c6f676745bd95bd6aeaa83e35",
15
+ "weight_files": {
16
+ "model.pth": {
17
+ "bytes": 198095479,
18
+ "format": "PyTorch checkpoint",
19
+ "recommended": false,
20
+ "sha256": "03105d61289860ff626c8a774ffbafa72925a58d8b099f33129a1afc8dd656fa"
21
+ },
22
+ "model.safetensors": {
23
+ "bytes": 197997044,
24
+ "format": "safetensors",
25
+ "recommended": true,
26
+ "sha256": "a7aeb2270e4c761396f25aa4ff4da4a8bf99ec88fc6f620500d446be73335505"
27
+ }
28
+ }
29
+ }
model.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03105d61289860ff626c8a774ffbafa72925a58d8b099f33129a1afc8dd656fa
3
+ size 198095479
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7aeb2270e4c761396f25aa4ff4da4a8bf99ec88fc6f620500d446be73335505
3
+ size 197997044