Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
| 4 |
# Usage
|
| 5 |
|
| 6 |
-
**Instantiate the
|
| 7 |
```python
|
| 8 |
from braindecode.models import SignalJEPA
|
| 9 |
from huggingface_hub import hf_hub_download
|
|
@@ -27,10 +28,14 @@ assert unexpected_keys == []
|
|
| 27 |
assert set(missing_keys) == {"pos_encoder.pos_encoder_spat.weight"}
|
| 28 |
```
|
| 29 |
|
| 30 |
-
**Instantiate the
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
The downstream architectures are equipped with a classification head.
|
| 33 |
-
See the article [arXiv:2403.11772](https://arxiv.org/abs/2403.11772) for more details.
|
| 34 |
```python
|
| 35 |
from braindecode.models import (
|
| 36 |
SignalJEPA_Contextual,
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+

|
| 5 |
# Usage
|
| 6 |
|
| 7 |
+
**Instantiate the Base Model**
|
| 8 |
```python
|
| 9 |
from braindecode.models import SignalJEPA
|
| 10 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 28 |
assert set(missing_keys) == {"pos_encoder.pos_encoder_spat.weight"}
|
| 29 |
```
|
| 30 |
|
| 31 |
+
**Instantiate the Downstream Architectures**
|
| 32 |
+
|
| 33 |
+
Contrary to the base model, the downstream architectures are equipped with a classification head which is not pre-trained.
|
| 34 |
+
Guetschel et al. (2024) [arXiv:2403.11772](https://arxiv.org/abs/2403.11772) introduce three downstream architectures:
|
| 35 |
+
- a) Contextual downstream architecture
|
| 36 |
+
- b) Post-local downstream architecture
|
| 37 |
+
- c) Pre-local architecture
|
| 38 |
|
|
|
|
|
|
|
| 39 |
```python
|
| 40 |
from braindecode.models import (
|
| 41 |
SignalJEPA_Contextual,
|