sharonSD meta-bot commited on
Commit
75d5549
·
0 Parent(s):

Duplicate from facebook/tribev2

Browse files

Co-authored-by: Meta Platforms <meta-bot@users.noreply.huggingface.co>

Files changed (5) hide show
  1. .gitattributes +35 -0
  2. LICENSE +407 -0
  3. README.md +126 -0
  4. best.ckpt +3 -0
  5. config.yaml +619 -0
.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,407 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-NonCommercial 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 4.0 International Public
58
+ 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 4.0 International Public License ("Public
63
+ License"). To the extent this Public License may be interpreted as a
64
+ contract, You are granted the Licensed Rights in consideration of Your
65
+ acceptance of these terms and conditions, and the Licensor grants You
66
+ such rights in consideration of benefits the Licensor receives from
67
+ making the Licensed Material available under these terms and
68
+ 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. Copyright and Similar Rights means copyright and/or similar rights
88
+ closely related to copyright including, without limitation,
89
+ performance, broadcast, sound recording, and Sui Generis Database
90
+ Rights, without regard to how the rights are labeled or
91
+ categorized. For purposes of this Public License, the rights
92
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
93
+ Rights.
94
+ d. Effective Technological Measures means those measures that, in the
95
+ absence of proper authority, may not be circumvented under laws
96
+ fulfilling obligations under Article 11 of the WIPO Copyright
97
+ Treaty adopted on December 20, 1996, and/or similar international
98
+ agreements.
99
+
100
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
101
+ any other exception or limitation to Copyright and Similar Rights
102
+ that applies to Your use of the Licensed Material.
103
+
104
+ f. Licensed Material means the artistic or literary work, database,
105
+ or other material to which the Licensor applied this Public
106
+ License.
107
+
108
+ g. Licensed Rights means the rights granted to You subject to the
109
+ terms and conditions of this Public License, which are limited to
110
+ all Copyright and Similar Rights that apply to Your use of the
111
+ Licensed Material and that the Licensor has authority to license.
112
+
113
+ h. Licensor means the individual(s) or entity(ies) granting rights
114
+ under this Public License.
115
+
116
+ i. NonCommercial means not primarily intended for or directed towards
117
+ commercial advantage or monetary compensation. For purposes of
118
+ this Public License, the exchange of the Licensed Material for
119
+ other material subject to Copyright and Similar Rights by digital
120
+ file-sharing or similar means is NonCommercial provided there is
121
+ no payment of monetary compensation in connection with the
122
+ exchange.
123
+
124
+ j. Share means to provide material to the public by any means or
125
+ process that requires permission under the Licensed Rights, such
126
+ as reproduction, public display, public performance, distribution,
127
+ dissemination, communication, or importation, and to make material
128
+ available to the public including in ways that members of the
129
+ public may access the material from a place and at a time
130
+ individually chosen by them.
131
+
132
+ k. Sui Generis Database Rights means rights other than copyright
133
+ resulting from Directive 96/9/EC of the European Parliament and of
134
+ the Council of 11 March 1996 on the legal protection of databases,
135
+ as amended and/or succeeded, as well as other essentially
136
+ equivalent rights anywhere in the world.
137
+
138
+ l. You means the individual or entity exercising the Licensed Rights
139
+ under this Public License. Your has a corresponding meaning.
140
+
141
+
142
+ Section 2 -- Scope.
143
+
144
+ a. License grant.
145
+
146
+ 1. Subject to the terms and conditions of this Public License,
147
+ the Licensor hereby grants You a worldwide, royalty-free,
148
+ non-sublicensable, non-exclusive, irrevocable license to
149
+ exercise the Licensed Rights in the Licensed Material to:
150
+
151
+ a. reproduce and Share the Licensed Material, in whole or
152
+ in part, for NonCommercial purposes only; and
153
+
154
+ b. produce, reproduce, and Share Adapted Material for
155
+ NonCommercial purposes only.
156
+
157
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
158
+ Exceptions and Limitations apply to Your use, this Public
159
+ License does not apply, and You do not need to comply with
160
+ its terms and conditions.
161
+
162
+ 3. Term. The term of this Public License is specified in Section
163
+ 6(a).
164
+
165
+ 4. Media and formats; technical modifications allowed. The
166
+ Licensor authorizes You to exercise the Licensed Rights in
167
+ all media and formats whether now known or hereafter created,
168
+ and to make technical modifications necessary to do so. The
169
+ Licensor waives and/or agrees not to assert any right or
170
+ authority to forbid You from making technical modifications
171
+ necessary to exercise the Licensed Rights, including
172
+ technical modifications necessary to circumvent Effective
173
+ Technological Measures. For purposes of this Public License,
174
+ simply making modifications authorized by this Section 2(a)
175
+ (4) never produces Adapted Material.
176
+
177
+ 5. Downstream recipients.
178
+
179
+ a. Offer from the Licensor -- Licensed Material. Every
180
+ recipient of the Licensed Material automatically
181
+ receives an offer from the Licensor to exercise the
182
+ Licensed Rights under the terms and conditions of this
183
+ Public License.
184
+
185
+ b. No downstream restrictions. You may not offer or impose
186
+ any additional or different terms or conditions on, or
187
+ apply any Effective Technological Measures to, the
188
+ Licensed Material if doing so restricts exercise of the
189
+ Licensed Rights by any recipient of the Licensed
190
+ Material.
191
+
192
+ 6. No endorsement. Nothing in this Public License constitutes or
193
+ may be construed as permission to assert or imply that You
194
+ are, or that Your use of the Licensed Material is, connected
195
+ with, or sponsored, endorsed, or granted official status by,
196
+ the Licensor or others designated to receive attribution as
197
+ provided in Section 3(a)(1)(A)(i).
198
+
199
+ b. Other rights.
200
+
201
+ 1. Moral rights, such as the right of integrity, are not
202
+ licensed under this Public License, nor are publicity,
203
+ privacy, and/or other similar personality rights; however, to
204
+ the extent possible, the Licensor waives and/or agrees not to
205
+ assert any such rights held by the Licensor to the limited
206
+ extent necessary to allow You to exercise the Licensed
207
+ Rights, but not otherwise.
208
+
209
+ 2. Patent and trademark rights are not licensed under this
210
+ Public License.
211
+
212
+ 3. To the extent possible, the Licensor waives any right to
213
+ collect royalties from You for the exercise of the Licensed
214
+ Rights, whether directly or through a collecting society
215
+ under any voluntary or waivable statutory or compulsory
216
+ licensing scheme. In all other cases the Licensor expressly
217
+ reserves any right to collect such royalties, including when
218
+ the Licensed Material is used other than for NonCommercial
219
+ purposes.
220
+
221
+
222
+ Section 3 -- License Conditions.
223
+
224
+ Your exercise of the Licensed Rights is expressly made subject to the
225
+ following conditions.
226
+
227
+ a. Attribution.
228
+
229
+ 1. If You Share the Licensed Material (including in modified
230
+ form), You must:
231
+
232
+ a. retain the following if it is supplied by the Licensor
233
+ with the Licensed Material:
234
+
235
+ i. identification of the creator(s) of the Licensed
236
+ Material and any others designated to receive
237
+ attribution, in any reasonable manner requested by
238
+ the Licensor (including by pseudonym if
239
+ designated);
240
+
241
+ ii. a copyright notice;
242
+
243
+ iii. a notice that refers to this Public License;
244
+
245
+ iv. a notice that refers to the disclaimer of
246
+ warranties;
247
+
248
+ v. a URI or hyperlink to the Licensed Material to the
249
+ extent reasonably practicable;
250
+
251
+ b. indicate if You modified the Licensed Material and
252
+ retain an indication of any previous modifications; and
253
+
254
+ c. indicate the Licensed Material is licensed under this
255
+ Public License, and include the text of, or the URI or
256
+ hyperlink to, this Public License.
257
+
258
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
259
+ reasonable manner based on the medium, means, and context in
260
+ which You Share the Licensed Material. For example, it may be
261
+ reasonable to satisfy the conditions by providing a URI or
262
+ hyperlink to a resource that includes the required
263
+ information.
264
+
265
+ 3. If requested by the Licensor, You must remove any of the
266
+ information required by Section 3(a)(1)(A) to the extent
267
+ reasonably practicable.
268
+
269
+ 4. If You Share Adapted Material You produce, the Adapter's
270
+ License You apply must not prevent recipients of the Adapted
271
+ Material from complying with this Public License.
272
+
273
+
274
+ Section 4 -- Sui Generis Database Rights.
275
+
276
+ Where the Licensed Rights include Sui Generis Database Rights that
277
+ apply to Your use of the Licensed Material:
278
+
279
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
280
+ to extract, reuse, reproduce, and Share all or a substantial
281
+ portion of the contents of the database for NonCommercial purposes
282
+ only;
283
+
284
+ b. if You include all or a substantial portion of the database
285
+ contents in a database in which You have Sui Generis Database
286
+ Rights, then the database in which You have Sui Generis Database
287
+ Rights (but not its individual contents) is Adapted Material; and
288
+
289
+ c. You must comply with the conditions in Section 3(a) if You Share
290
+ all or a substantial portion of the contents of the database.
291
+
292
+ For the avoidance of doubt, this Section 4 supplements and does not
293
+ replace Your obligations under this Public License where the Licensed
294
+ Rights include other Copyright and Similar Rights.
295
+
296
+
297
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
298
+
299
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
300
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
301
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
302
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
303
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
304
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
305
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
306
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
307
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
308
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
309
+
310
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
311
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
312
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
313
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
314
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
315
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
316
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
317
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
318
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
319
+
320
+ c. The disclaimer of warranties and limitation of liability provided
321
+ above shall be interpreted in a manner that, to the extent
322
+ possible, most closely approximates an absolute disclaimer and
323
+ waiver of all liability.
324
+
325
+
326
+ Section 6 -- Term and Termination.
327
+
328
+ a. This Public License applies for the term of the Copyright and
329
+ Similar Rights licensed here. However, if You fail to comply with
330
+ this Public License, then Your rights under this Public License
331
+ terminate automatically.
332
+
333
+ b. Where Your right to use the Licensed Material has terminated under
334
+ Section 6(a), it reinstates:
335
+
336
+ 1. automatically as of the date the violation is cured, provided
337
+ it is cured within 30 days of Your discovery of the
338
+ violation; or
339
+
340
+ 2. upon express reinstatement by the Licensor.
341
+
342
+ For the avoidance of doubt, this Section 6(b) does not affect any
343
+ right the Licensor may have to seek remedies for Your violations
344
+ of this Public License.
345
+
346
+ c. For the avoidance of doubt, the Licensor may also offer the
347
+ Licensed Material under separate terms or conditions or stop
348
+ distributing the Licensed Material at any time; however, doing so
349
+ will not terminate this Public License.
350
+
351
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
352
+ License.
353
+
354
+
355
+ Section 7 -- Other Terms and Conditions.
356
+
357
+ a. The Licensor shall not be bound by any additional or different
358
+ terms or conditions communicated by You unless expressly agreed.
359
+
360
+ b. Any arrangements, understandings, or agreements regarding the
361
+ Licensed Material not stated herein are separate from and
362
+ independent of the terms and conditions of this Public License.
363
+
364
+
365
+ Section 8 -- Interpretation.
366
+
367
+ a. For the avoidance of doubt, this Public License does not, and
368
+ shall not be interpreted to, reduce, limit, restrict, or impose
369
+ conditions on any use of the Licensed Material that could lawfully
370
+ be made without permission under this Public License.
371
+
372
+ b. To the extent possible, if any provision of this Public License is
373
+ deemed unenforceable, it shall be automatically reformed to the
374
+ minimum extent necessary to make it enforceable. If the provision
375
+ cannot be reformed, it shall be severed from this Public License
376
+ without affecting the enforceability of the remaining terms and
377
+ conditions.
378
+
379
+ c. No term or condition of this Public License will be waived and no
380
+ failure to comply consented to unless expressly agreed to by the
381
+ Licensor.
382
+
383
+ d. Nothing in this Public License constitutes or may be interpreted
384
+ as a limitation upon, or waiver of, any privileges and immunities
385
+ that apply to the Licensor or You, including from the legal
386
+ processes of any jurisdiction or authority.
387
+
388
+ =======================================================================
389
+
390
+ Creative Commons is not a party to its public
391
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
392
+ its public licenses to material it publishes and in those instances
393
+ will be considered the "Licensor." The text of the Creative Commons
394
+ public licenses is dedicated to the public domain under the CC0 Public
395
+ Domain Dedication. Except for the limited purpose of indicating that
396
+ material is shared under a Creative Commons public license or as
397
+ otherwise permitted by the Creative Commons policies published at
398
+ creativecommons.org/policies, Creative Commons does not authorize the
399
+ use of the trademark "Creative Commons" or any other trademark or logo
400
+ of Creative Commons without its prior written consent including,
401
+ without limitation, in connection with any unauthorized modifications
402
+ to any of its public licenses or any other arrangements,
403
+ understandings, or agreements concerning use of licensed material. For
404
+ the avoidance of doubt, this paragraph does not form part of the
405
+ public licenses.
406
+
407
+ Creative Commons may be contacted at creativecommons.org.
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ ---
4
+ <div align="center">
5
+
6
+ # TRIBE v2
7
+
8
+ **A Foundation Model of Vision, Audition, and Language for In-Silico Neuroscience**
9
+
10
+ [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/facebookresearch/tribev2/blob/main/tribe_demo.ipynb)
11
+ [![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc/4.0/)
12
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/downloads/)
13
+
14
+ 📄 [Paper](https://ai.meta.com/research/publications/a-foundation-model-of-vision-audition-and-language-for-in-silico-neuroscience/) ▶️ [Demo](https://aidemos.atmeta.com/tribev2/) | 🤗 [Weights](https://huggingface.co/facebook/tribev2)
15
+
16
+ </div>
17
+
18
+ TRIBE v2 is a deep multimodal brain encoding model that predicts fMRI brain responses to naturalistic stimuli (video, audio, text). It combines state-of-the-art feature extractors — [**LLaMA 3.2**](https://huggingface.co/meta-llama/Llama-3.2-3B) (text), [**V-JEPA2**](https://huggingface.co/facebook/vjepa2-vitg-fpc64-256) (video), and [**Wav2Vec-BERT**](https://huggingface.co/facebook/w2v-bert-2.0) (audio) — into a unified Transformer architecture that maps multimodal representations onto the cortical surface.
19
+
20
+ ## Quick start
21
+
22
+ Load a pretrained model from HuggingFace and predict brain responses to a video:
23
+
24
+ ```python
25
+ from tribev2 import TribeModel
26
+
27
+ model = TribeModel.from_pretrained("facebook/tribev2", cache_folder="./cache")
28
+
29
+ df = model.get_events_dataframe(video_path="path/to/video.mp4")
30
+ preds, segments = model.predict(events=df)
31
+ print(preds.shape) # (n_timesteps, n_vertices)
32
+ ```
33
+
34
+ Predictions are for the "average" subject (see paper for details) and live on the **fsaverage5** cortical mesh (~20k vertices). You can also pass `text_path` or `audio_path` to `model.get_events_dataframe` — text is automatically converted to speech and transcribed to obtain word-level timings.
35
+
36
+ For a full walkthrough with brain visualizations, see the [Colab demo notebook](https://colab.research.google.com/github/facebookresearch/tribev2/blob/main/tribe_demo.ipynb).
37
+
38
+ ## Installation
39
+
40
+ **Basic** (inference only):
41
+ ```bash
42
+ pip install -e .
43
+ ```
44
+
45
+ **With brain visualization**:
46
+ ```bash
47
+ pip install -e ".[plotting]"
48
+ ```
49
+
50
+ **With training dependencies** (PyTorch Lightning, W&B, etc.):
51
+ ```bash
52
+ pip install -e ".[training]"
53
+ ```
54
+
55
+ ## Training a model from scratch
56
+
57
+ ### 1. Set environment variables
58
+
59
+ Configure data/output paths and Slurm partition (or edit `tribev2/grids/defaults.py` directly):
60
+
61
+ ```bash
62
+ export DATAPATH="/path/to/studies"
63
+ export SAVEPATH="/path/to/output"
64
+ export SLURM_PARTITION="your_partition"
65
+ ```
66
+
67
+ ### 2. Authenticate with HuggingFace
68
+
69
+ The text encoder requires access to the gated [LLaMA 3.2-3B](https://huggingface.co/meta-llama/Llama-3.2-3B) model:
70
+
71
+ ```bash
72
+ huggingface-cli login
73
+ ```
74
+
75
+ Create a `read` [access token](https://huggingface.co/settings/tokens) and paste it when prompted.
76
+
77
+ ### 3. Run training
78
+
79
+ **Local test run:**
80
+ ```bash
81
+ python -m tribev2.grids.test_run
82
+ ```
83
+
84
+ **Grid search on Slurm:**
85
+ ```bash
86
+ python -m tribev2.grids.run_cortical
87
+ python -m tribev2.grids.run_subcortical
88
+ ```
89
+
90
+ ## Project structure
91
+
92
+ ```
93
+ tribev2/
94
+ ├── main.py # Experiment pipeline: Data, TribeExperiment
95
+ ├── model.py # FmriEncoder: Transformer-based multimodal→fMRI model
96
+ ├── pl_module.py # PyTorch Lightning training module
97
+ ├── demo_utils.py # TribeModel and helpers for inference from text/audio/video
98
+ ├── eventstransforms.py # Custom event transforms (word extraction, chunking, …)
99
+ ├── utils.py # Multi-study loading, splitting, subject weighting
100
+ ├── utils_fmri.py # Surface projection (MNI / fsaverage) and ROI analysis
101
+ ├── grids/
102
+ │ ├── defaults.py # Full default experiment configuration
103
+ │ └── test_run.py # Quick local test entry point
104
+ ├── plotting/ # Brain visualization (PyVista & Nilearn backends)
105
+ └── studies/ # Dataset definitions (Algonauts2025, Lahner2024, …)
106
+ ```
107
+
108
+ ## Contributing to open science
109
+
110
+ If you use this software, please share your results with the broader research community using the following citation:
111
+
112
+ ```bibtex
113
+ @article{dAscoli2026TribeV2,
114
+ title={A foundation model of vision, audition, and language for in-silico neuroscience},
115
+ author={d'Ascoli, St{\'e}phane and Rapin, J{\'e}r{\'e}my and Benchetrit, Yohann and Brookes, Teon and Begany, Katelyn and Raugel, Jos{\'e}phine and Banville, Hubert and King, Jean-R{\'e}mi},
116
+ year={2026}
117
+ }
118
+ ```
119
+
120
+ ## License
121
+
122
+ This project is licensed under CC-BY-NC-4.0. See [LICENSE](LICENSE) for details.
123
+
124
+ ## Contributing
125
+
126
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for how to get involved.
best.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c79ffff6b642b7b0c71d558c935fb3fa33f2788bfb509feead94fafbba2f321
3
+ size 708856138
config.yaml ADDED
@@ -0,0 +1,619 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ infra:
2
+ folder: /checkpoint/sdascoli/results/tribe_release/half_depth/brain_model_config.subject_layers.subject_dropout=0.10,data.study.names=(Algonauts2025Bold,Lahner2024Bold,Lebel2023Bold,Wen2017)-ecdd89b2
3
+ cluster: auto
4
+ logs: '{folder}/logs/{user}/%j'
5
+ job_name: brain_model_config.subject_layers.subject_dropout=0.10,data.study.names=(Algonauts2025Bold,Lahner2024Bold,Lebel2023Bold,Wen2017)-ecdd89b2
6
+ timeout_min: 4320
7
+ nodes: 1
8
+ tasks_per_node: 1
9
+ cpus_per_task: 20
10
+ gpus_per_node: 1
11
+ mem_gb: 128.0
12
+ max_pickle_size_gb: null
13
+ slurm_constraint: volta32gb
14
+ slurm_partition: learnfair
15
+ slurm_account: null
16
+ slurm_qos: null
17
+ slurm_use_srun: false
18
+ slurm_additional_parameters: null
19
+ conda_env: null
20
+ workdir:
21
+ copied:
22
+ - neuralset
23
+ - neuraltrain
24
+ - neuralhub
25
+ - tribe
26
+ folder: null
27
+ log_commit: false
28
+ includes:
29
+ - '*.py'
30
+ - '*.txt'
31
+ excludes: !!python/tuple
32
+ - __pycache__
33
+ - .git
34
+ permissions: 511
35
+ version: '1'
36
+ mode: retry
37
+ keep_in_ram: false
38
+ data:
39
+ study:
40
+ infra: null
41
+ names:
42
+ - Algonauts2025Bold
43
+ - Lahner2024Bold
44
+ - Lebel2023Bold
45
+ - Wen2017
46
+ path: /large_experiments/brainai/shared/studies
47
+ transforms:
48
+ extractaudio:
49
+ infra: null
50
+ overwrite: false
51
+ name: ExtractAudioFromVideo
52
+ extractwords:
53
+ infra: null
54
+ language: english
55
+ overwrite: false
56
+ name: ExtractWordsFromAudio
57
+ addtext:
58
+ infra: null
59
+ name: AddText
60
+ addsentence:
61
+ infra: null
62
+ max_unmatched_ratio: 0.05
63
+ override_sentences: false
64
+ name: AddSentenceToWords
65
+ addcontext:
66
+ infra: null
67
+ sentence_only: false
68
+ max_context_len: 1024
69
+ split_field: ''
70
+ name: AddContextToWords
71
+ removemissing:
72
+ infra: null
73
+ event_types: Word
74
+ field: context
75
+ name: RemoveMissing
76
+ chunksounds:
77
+ infra: null
78
+ event_type_to_chunk: Audio
79
+ event_type_to_use: null
80
+ min_duration: 30.0
81
+ max_duration: 60.0
82
+ name: ChunkEvents
83
+ chunkvideos:
84
+ infra:
85
+ folder: !!python/object/apply:pathlib.PosixPath
86
+ - /
87
+ - checkpoint
88
+ - sdascoli
89
+ - cache
90
+ - tribe_release
91
+ cache_type: ValidatedParquet
92
+ mode: cached
93
+ keep_in_ram: false
94
+ backend: Cached
95
+ event_type_to_chunk: Video
96
+ event_type_to_use: null
97
+ min_duration: 30.0
98
+ max_duration: 60.0
99
+ name: ChunkEvents
100
+ query:
101
+ infra: null
102
+ query: null
103
+ name: QueryEvents
104
+ split:
105
+ infra: null
106
+ val_ratio: 0.1
107
+ name: SplitEvents
108
+ query: null
109
+ studies_to_include: null
110
+ infra_timelines:
111
+ folder: /checkpoint/sdascoli/cache/tribe_release
112
+ cluster: processpool
113
+ logs: '{folder}/logs/{user}/%j'
114
+ job_name: null
115
+ timeout_min: 720
116
+ nodes: 1
117
+ tasks_per_node: 1
118
+ cpus_per_task: null
119
+ gpus_per_node: null
120
+ mem_gb: null
121
+ max_pickle_size_gb: null
122
+ slurm_constraint: null
123
+ slurm_partition: null
124
+ slurm_account: null
125
+ slurm_qos: null
126
+ slurm_use_srun: false
127
+ slurm_additional_parameters: null
128
+ conda_env: null
129
+ workdir: null
130
+ permissions: 511
131
+ version: final
132
+ keep_in_ram: true
133
+ max_jobs: 1024
134
+ min_samples_per_job: 4
135
+ forbid_single_item_computation: false
136
+ mode: cached
137
+ name: MultiStudyLoader
138
+ neuro:
139
+ event_types: Fmri
140
+ aggregation: single
141
+ allow_missing: true
142
+ frequency: 1.0
143
+ offset: 5.0
144
+ projection:
145
+ mesh: fsaverage5
146
+ radius: 3.0
147
+ interpolation: linear
148
+ kind: ball
149
+ n_samples: null
150
+ mask_img: null
151
+ depth: null
152
+ center_depth: 0.5
153
+ extract_fsaverage_from_mni: true
154
+ name: TribeSurfaceProjector
155
+ cleaning:
156
+ standardize: zscore_sample
157
+ detrend: true
158
+ high_pass: null
159
+ low_pass: null
160
+ filter: null
161
+ ensure_finite: true
162
+ padding: null
163
+ input_space: null
164
+ fwhm: null
165
+ infra:
166
+ folder: /checkpoint/sdascoli/cache/tribe_release
167
+ cluster: slurm
168
+ logs: '{folder}/logs/{user}/%j'
169
+ job_name: null
170
+ timeout_min: 720
171
+ nodes: 1
172
+ tasks_per_node: 1
173
+ cpus_per_task: 10
174
+ gpus_per_node: 1
175
+ mem_gb: null
176
+ max_pickle_size_gb: null
177
+ slurm_constraint: volta32gb
178
+ slurm_partition: scavenge
179
+ slurm_account: null
180
+ slurm_qos: null
181
+ slurm_use_srun: false
182
+ slurm_additional_parameters: null
183
+ conda_env: null
184
+ workdir: null
185
+ permissions: 511
186
+ version: release
187
+ keep_in_ram: true
188
+ max_jobs: 256
189
+ min_samples_per_job: 1
190
+ forbid_single_item_computation: false
191
+ mode: cached
192
+ name: FmriExtractor
193
+ text_feature:
194
+ model_name: meta-llama/Llama-3.2-3B
195
+ device: cuda
196
+ layers:
197
+ - 0.5
198
+ - 0.75
199
+ - 1.0
200
+ cache_all_layers: false
201
+ cache_n_layers: 20
202
+ layer_aggregation: group_mean
203
+ token_aggregation: mean
204
+ event_types: Word
205
+ aggregation: sum
206
+ allow_missing: true
207
+ frequency: 2.0
208
+ infra:
209
+ folder: /checkpoint/sdascoli/cache/tribe_release
210
+ cluster: slurm
211
+ logs: '{folder}/logs/{user}/%j'
212
+ job_name: null
213
+ timeout_min: 720
214
+ nodes: 1
215
+ tasks_per_node: 1
216
+ cpus_per_task: 10
217
+ gpus_per_node: 1
218
+ mem_gb: null
219
+ max_pickle_size_gb: null
220
+ slurm_constraint: volta32gb
221
+ slurm_partition: scavenge
222
+ slurm_account: null
223
+ slurm_qos: null
224
+ slurm_use_srun: false
225
+ slurm_additional_parameters: null
226
+ conda_env: null
227
+ workdir: null
228
+ permissions: 511
229
+ version: release
230
+ keep_in_ram: true
231
+ max_jobs: 256
232
+ min_samples_per_job: 32
233
+ forbid_single_item_computation: false
234
+ mode: cached
235
+ batch_size: 4
236
+ contextualized: true
237
+ pretrained: true
238
+ name: HuggingFaceText
239
+ image_feature:
240
+ event_types: Video
241
+ aggregation: sum
242
+ allow_missing: true
243
+ frequency: 2.0
244
+ image:
245
+ model_name: facebook/dinov2-large
246
+ device: cuda
247
+ layers: 0.6666666666666666
248
+ cache_all_layers: false
249
+ cache_n_layers: 20
250
+ layer_aggregation: mean
251
+ token_aggregation: mean
252
+ event_types: Image
253
+ aggregation: single
254
+ allow_missing: false
255
+ frequency: 0.0
256
+ batch_size: 2
257
+ imsize: null
258
+ pretrained: true
259
+ infra:
260
+ folder: null
261
+ cluster: null
262
+ logs: '{folder}/logs/{user}/%j'
263
+ job_name: null
264
+ timeout_min: 25
265
+ nodes: 1
266
+ tasks_per_node: 1
267
+ cpus_per_task: 8
268
+ gpus_per_node: 1
269
+ mem_gb: null
270
+ max_pickle_size_gb: null
271
+ slurm_constraint: null
272
+ slurm_partition: null
273
+ slurm_account: null
274
+ slurm_qos: null
275
+ slurm_use_srun: false
276
+ slurm_additional_parameters: null
277
+ conda_env: null
278
+ workdir: null
279
+ permissions: 511
280
+ version: v5
281
+ keep_in_ram: false
282
+ max_jobs: 128
283
+ min_samples_per_job: 4096
284
+ forbid_single_item_computation: false
285
+ mode: cached
286
+ name: HuggingFaceImage
287
+ use_audio: true
288
+ clip_duration: null
289
+ max_imsize: null
290
+ layer_type: ''
291
+ num_frames: null
292
+ infra:
293
+ folder: /checkpoint/sdascoli/cache/tribe_release
294
+ cluster: slurm
295
+ logs: '{folder}/logs/{user}/%j'
296
+ job_name: null
297
+ timeout_min: 1440
298
+ nodes: 1
299
+ tasks_per_node: 1
300
+ cpus_per_task: 10
301
+ gpus_per_node: 1
302
+ mem_gb: null
303
+ max_pickle_size_gb: null
304
+ slurm_constraint: volta32gb
305
+ slurm_partition: scavenge
306
+ slurm_account: null
307
+ slurm_qos: null
308
+ slurm_use_srun: false
309
+ slurm_additional_parameters: null
310
+ conda_env: null
311
+ workdir: null
312
+ permissions: 511
313
+ version: release
314
+ keep_in_ram: true
315
+ max_jobs: 1024
316
+ min_samples_per_job: 1
317
+ forbid_single_item_computation: false
318
+ mode: cached
319
+ name: HuggingFaceVideo
320
+ audio_feature:
321
+ model_name: facebook/w2v-bert-2.0
322
+ device: cuda
323
+ layers:
324
+ - 0.5
325
+ - 0.75
326
+ - 1.0
327
+ cache_all_layers: false
328
+ cache_n_layers: 20
329
+ layer_aggregation: group_mean
330
+ token_aggregation: mean
331
+ event_types: Audio
332
+ aggregation: sum
333
+ allow_missing: true
334
+ frequency: 2.0
335
+ norm_audio: true
336
+ infra:
337
+ folder: /checkpoint/sdascoli/cache/tribe_release
338
+ cluster: slurm
339
+ logs: '{folder}/logs/{user}/%j'
340
+ job_name: null
341
+ timeout_min: 720
342
+ nodes: 1
343
+ tasks_per_node: 1
344
+ cpus_per_task: 10
345
+ gpus_per_node: 1
346
+ mem_gb: null
347
+ max_pickle_size_gb: null
348
+ slurm_constraint: volta32gb
349
+ slurm_partition: scavenge
350
+ slurm_account: null
351
+ slurm_qos: null
352
+ slurm_use_srun: false
353
+ slurm_additional_parameters: null
354
+ conda_env: null
355
+ workdir: null
356
+ permissions: 511
357
+ version: release
358
+ keep_in_ram: true
359
+ max_jobs: 256
360
+ min_samples_per_job: 1
361
+ forbid_single_item_computation: false
362
+ mode: cached
363
+ normalized: true
364
+ layer_type: transformer
365
+ name: Wav2VecBert
366
+ video_feature:
367
+ event_types: Video
368
+ aggregation: sum
369
+ allow_missing: true
370
+ frequency: 2.0
371
+ image:
372
+ model_name: facebook/vjepa2-vitg-fpc64-256
373
+ device: cuda
374
+ layers:
375
+ - 0.5
376
+ - 0.75
377
+ - 1.0
378
+ cache_all_layers: false
379
+ cache_n_layers: 20
380
+ layer_aggregation: group_mean
381
+ token_aggregation: mean
382
+ event_types: Image
383
+ aggregation: single
384
+ allow_missing: false
385
+ frequency: 0.0
386
+ batch_size: 8
387
+ imsize: null
388
+ pretrained: true
389
+ infra:
390
+ folder: null
391
+ cluster: null
392
+ logs: '{folder}/logs/{user}/%j'
393
+ job_name: null
394
+ timeout_min: 25
395
+ nodes: 1
396
+ tasks_per_node: 1
397
+ cpus_per_task: 8
398
+ gpus_per_node: 1
399
+ mem_gb: null
400
+ max_pickle_size_gb: null
401
+ slurm_constraint: null
402
+ slurm_partition: null
403
+ slurm_account: null
404
+ slurm_qos: null
405
+ slurm_use_srun: false
406
+ slurm_additional_parameters: null
407
+ conda_env: null
408
+ workdir: null
409
+ permissions: 511
410
+ version: v5
411
+ keep_in_ram: false
412
+ max_jobs: 128
413
+ min_samples_per_job: 4096
414
+ forbid_single_item_computation: false
415
+ mode: cached
416
+ name: HuggingFaceImage
417
+ use_audio: true
418
+ clip_duration: 4.0
419
+ max_imsize: null
420
+ layer_type: ''
421
+ num_frames: null
422
+ infra:
423
+ folder: /checkpoint/sdascoli/cache/tribe_release
424
+ cluster: slurm
425
+ logs: '{folder}/logs/{user}/%j'
426
+ job_name: null
427
+ timeout_min: 1440
428
+ nodes: 1
429
+ tasks_per_node: 1
430
+ cpus_per_task: 10
431
+ gpus_per_node: 1
432
+ mem_gb: null
433
+ max_pickle_size_gb: null
434
+ slurm_constraint: volta32gb
435
+ slurm_partition: scavenge
436
+ slurm_account: null
437
+ slurm_qos: null
438
+ slurm_use_srun: false
439
+ slurm_additional_parameters: null
440
+ conda_env: null
441
+ workdir: null
442
+ permissions: 511
443
+ version: release
444
+ keep_in_ram: true
445
+ max_jobs: 1024
446
+ min_samples_per_job: 1
447
+ forbid_single_item_computation: false
448
+ mode: cached
449
+ name: HuggingFaceVideo
450
+ subject_id:
451
+ event_types: Event
452
+ aggregation: first
453
+ allow_missing: true
454
+ frequency: 0.0
455
+ event_field: subject
456
+ treat_missing_as_separate_class: false
457
+ return_one_hot: false
458
+ predefined_mapping:
459
+ Algonauts2025Bold/sub-01: 0
460
+ Algonauts2025Bold/sub-02: 1
461
+ Algonauts2025Bold/sub-03: 2
462
+ Algonauts2025Bold/sub-05: 3
463
+ Lahner2024Bold/1: 4
464
+ Lahner2024Bold/10: 5
465
+ Lahner2024Bold/2: 6
466
+ Lahner2024Bold/3: 7
467
+ Lahner2024Bold/4: 8
468
+ Lahner2024Bold/5: 9
469
+ Lahner2024Bold/6: 10
470
+ Lahner2024Bold/7: 11
471
+ Lahner2024Bold/8: 12
472
+ Lahner2024Bold/9: 13
473
+ Lebel2023Bold/UTS01: 14
474
+ Lebel2023Bold/UTS02: 15
475
+ Lebel2023Bold/UTS03: 16
476
+ Lebel2023Bold/UTS04: 17
477
+ Lebel2023Bold/UTS05: 18
478
+ Lebel2023Bold/UTS06: 19
479
+ Lebel2023Bold/UTS07: 20
480
+ Lebel2023Bold/UTS08: 21
481
+ Wen2017/subject1: 22
482
+ Wen2017/subject2: 23
483
+ Wen2017/subject3: 24
484
+ name: LabelEncoder
485
+ frequency: 2.0
486
+ features_to_use:
487
+ - text
488
+ - audio
489
+ - video
490
+ features_to_mask: []
491
+ n_layers_to_use: null
492
+ layers_to_use:
493
+ - 0.5
494
+ - 0.75
495
+ - 1.0
496
+ layer_aggregation: group_mean
497
+ duration_trs: 100
498
+ overlap_trs_train: 0
499
+ overlap_trs_val: 0
500
+ batch_size: 8
501
+ num_workers: 20
502
+ shuffle_train: true
503
+ shuffle_val: true
504
+ stride_drop_incomplete: false
505
+ split_segments_by_time: false
506
+ seed: 33
507
+ brain_model_config:
508
+ projector:
509
+ input_size: null
510
+ hidden_sizes: null
511
+ norm_layer: layer
512
+ activation_layer: gelu
513
+ bias: true
514
+ dropout: 0.0
515
+ name: Mlp
516
+ combiner: null
517
+ encoder:
518
+ heads: 8
519
+ depth: 8
520
+ cross_attend: false
521
+ causal: false
522
+ attn_flash: false
523
+ attn_dropout: 0.0
524
+ ff_mult: 4
525
+ ff_dropout: 0.0
526
+ use_scalenorm: true
527
+ use_rmsnorm: false
528
+ rel_pos_bias: false
529
+ alibi_pos_bias: false
530
+ rotary_pos_emb: true
531
+ rotary_xpos: false
532
+ residual_attn: false
533
+ scale_residual: true
534
+ layer_dropout: 0.0
535
+ name: TransformerEncoder
536
+ time_pos_embedding: true
537
+ subject_embedding: false
538
+ subject_layers:
539
+ n_subjects: 25
540
+ bias: true
541
+ init_id: false
542
+ average_subjects: false
543
+ mode: gather
544
+ subject_dropout: 0.1
545
+ name: SubjectLayers
546
+ hidden: 1152
547
+ max_seq_len: 1024
548
+ dropout: 0.0
549
+ extractor_aggregation: cat
550
+ layer_aggregation: cat
551
+ linear_baseline: false
552
+ modality_dropout: 0.3
553
+ temporal_dropout: 0.0
554
+ low_rank_head: 2048
555
+ temporal_smoothing: null
556
+ name: FmriEncoder
557
+ loss:
558
+ kwargs:
559
+ reduction: none
560
+ name: MSELoss
561
+ optim:
562
+ optimizer:
563
+ lr: 0.0001
564
+ kwargs:
565
+ weight_decay: 0.0
566
+ name: Adam
567
+ scheduler:
568
+ kwargs:
569
+ max_lr: 0.0001
570
+ pct_start: 0.1
571
+ name: OneCycleLR
572
+ interval: step
573
+ name: LightningOptimizer
574
+ metrics:
575
+ - log_name: pearson
576
+ dim: 0
577
+ reduction: mean
578
+ torchmetrics_kwargs: null
579
+ name: OnlinePearsonCorr
580
+ - log_name: subj_pearson
581
+ metric_name: OnlinePearsonCorr
582
+ kwargs:
583
+ dim: 0
584
+ name: GroupedMetric
585
+ - log_name: retrieval_top1
586
+ topk: 1
587
+ name: TopkAcc
588
+ monitor: val/pearson
589
+ wandb_config:
590
+ name: brain_model_config.subject_layers.subject_dropout=0.10,data.study.names=(Algonauts2025Bold,Lahner2024Bold,Lebel2023Bold,Wen2017)-ecdd89b2
591
+ group: half_depth
592
+ entity: sdascoli
593
+ project: tribe_release
594
+ offline: false
595
+ host: https://fairwandb.org
596
+ id: null
597
+ dir: null
598
+ anonymous: null
599
+ log_model: false
600
+ experiment: null
601
+ prefix: ''
602
+ resume: allow
603
+ accelerator: gpu
604
+ n_epochs: 15
605
+ max_steps: -1
606
+ patience: null
607
+ limit_train_batches: null
608
+ accumulate_grad_batches: 1
609
+ enable_progress_bar: true
610
+ log_every_n_steps: 5
611
+ fast_dev_run: false
612
+ save_checkpoints: true
613
+ checkpoint_filename: best
614
+ resize_subject_layer: false
615
+ freeze_backbone: false
616
+ average_subjects: false
617
+ checkpoint_path: null
618
+ load_checkpoint: true
619
+ test_only: false