File size: 2,242 Bytes
bbc68ce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
license: mit
library_name: braindecode
tags:
  - braindecode
  - fnirs
  - foundation-model
  - mtrenirs
---

# MtReNIRS pretrained encoder

This repository holds the pretrained MtReNIRS encoder by Chae et al. (2026), as released by its authors. The file
`mtrenirs_10s.pt` is a byte-identical copy of `models/weights/mtrenirs_10s.pt` in
[microsoft/MtReNIRS](https://github.com/microsoft/MtReNIRS) at commit
[`16c3082`](https://github.com/microsoft/MtReNIRS/tree/16c3082747b689233f123519d2590b88631afb2d)
(git blob `33a6f2ee8893548ccc83db7044d93d2d6ca4550f`). It is mirrored here for braindecode's `MtReNIRS` model
([braindecode/braindecode#1564](https://github.com/braindecode/braindecode/pull/1564)) and its tests.

| file | sha256 |
|---|---|
| `mtrenirs_10s.pt` | `0960d02f9437d86f0f1a670eace8905d58b33f3394e58d5c17a6451bbcb9484d` |

## Licence

MIT, Copyright (c) Microsoft Corporation. `LICENSE.txt` is the source repository's licence file, unchanged. The
authors' model card states that the pretrained encoder weights are released in that repository under the MIT
License.

## Input the weights expect

10 Hz HbO/HbR in 100-sample (10 s) windows, each channel z-scored over its run and clipped at 6, with channel
positions in Standard 10-05 space. The authors'
[model card](https://github.com/microsoft/MtReNIRS/blob/main/MODEL_CARD.md) describes the intended and
out-of-scope uses.

## Use with braindecode

The checkpoint holds `{"config", "model"}`; its keys are the braindecode model's own, and `load_state_dict` takes
the file as released.

```python
import torch
from huggingface_hub import hf_hub_download

from braindecode.models import MtReNIRS

path = hf_hub_download("braindecode/mtrenirs-pretrained", "mtrenirs_10s.pt")
model = MtReNIRS(chs_info=raw.info["chs"], n_outputs=2, n_times=100, sfreq=10.0)
model.load_state_dict(torch.load(path, map_location="cpu", weights_only=True))
```

## Citation

```bibtex
@article{microsoft2026mtrenirs,
  author  = {Chae, Tony and Avramidis, Kleanthis and Emmanouilidou, Dimitra and Tashev, Ivan J.},
  title   = {{MtReNIRS}: A Self-Supervised Foundation Model for Transferable Neurovascular Representations},
  journal = {arXiv preprint arXiv:2610.36159},
  year    = {2026},
}
```