Add MVPFormer weights converted to braindecode
Browse files- README.md +10 -39
- model.safetensors +1 -1
- pytorch_model.bin +1 -1
README.md
CHANGED
|
@@ -1,43 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
tags: [braindecode, eeg, ieeg, mvpformer, seizure-detection]
|
| 4 |
library_name: braindecode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
```python
|
| 12 |
-
from braindecode.models import MVPFormer
|
| 13 |
-
|
| 14 |
-
model = MVPFormer.from_pretrained("braindecode/mvpformer-m-pretrained")
|
| 15 |
-
```
|
| 16 |
-
|
| 17 |
-
**The classification head is randomly initialised** — fine-tune it, or call `model.reset_head(n_outputs=...)`. Only the backbone is pre-trained.
|
| 18 |
-
|
| 19 |
-
## Licence and intended use
|
| 20 |
-
|
| 21 |
-
Weights © IBM Corp. 2024-2025, released under Apache-2.0 (`SPDX-License-Identifier: Apache-2.0`)
|
| 22 |
-
by <https://github.com/IBM/multi-variate-parallel-transformer>. Redistributed here unmodified in
|
| 23 |
-
substance; only the parameter names were remapped onto braindecode's `MVPFormer`.
|
| 24 |
-
|
| 25 |
-
The authors attach the following restriction, reproduced verbatim from the upstream README:
|
| 26 |
-
|
| 27 |
-
> This software may only be used for research. For other applications any liability is denied.
|
| 28 |
-
> In particular, the software must not be used for diagnostic purposes.
|
| 29 |
-
|
| 30 |
-
The paper's broader-impact statement adds: "both our model and our dataset are developed purely
|
| 31 |
-
for research, and may not be used for any other purpose, especially diagnostic."
|
| 32 |
-
|
| 33 |
-
## Citation
|
| 34 |
-
|
| 35 |
-
```bibtex
|
| 36 |
-
@article{carzaniga2025foundation,
|
| 37 |
-
title={A foundation model with multi-variate parallel attention to generate neuronal activity},
|
| 38 |
-
author={Carzaniga, Francesco and Hersche, Michael and Sebastian, Abu and Schindler, Kaspar and Rahimi, Abbas},
|
| 39 |
-
journal={arXiv preprint arXiv:2506.20354},
|
| 40 |
-
year={2025}
|
| 41 |
-
}
|
| 42 |
-
```
|
| 43 |
-
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
library_name: braindecode
|
| 3 |
+
license: bsd-3-clause
|
| 4 |
+
tags:
|
| 5 |
+
- MVPFormer
|
| 6 |
+
- braindecode
|
| 7 |
+
- model_hub_mixin
|
| 8 |
+
- pytorch_model_hub_mixin
|
| 9 |
---
|
| 10 |
|
| 11 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 12 |
+
- Code: https://braindecode.org
|
| 13 |
+
- Paper: [More Information Needed]
|
| 14 |
+
- Docs: https://braindecode.org/stable/generated/braindecode.models.MVPFormer.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4956384512
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76c7b80da8889772d8b376f149b2a403a50961506a820b60afd90cbfb9ae0d1f
|
| 3 |
size 4956384512
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4956452890
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32a11050859e0d557afb460b31e5d901f94d6b36b686f29728155a405dd6f60a
|
| 3 |
size 4956452890
|