Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- eeg
|
| 5 |
+
- brain-to-text
|
| 6 |
+
- neuroscience
|
| 7 |
+
license: apache-2.0
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# EEG-to-Text RawNet Model
|
| 11 |
+
|
| 12 |
+
Brain-Computer Interface model for translating EEG signals to text.
|
| 13 |
+
|
| 14 |
+
## Model Details
|
| 15 |
+
- Architecture: RawNet (Multi-scale Conv1D + Transformer)
|
| 16 |
+
- Best Validation Loss: 1.4613
|
| 17 |
+
- Parameters: 33,956,593
|
| 18 |
+
|
| 19 |
+
## Usage
|
| 20 |
+
```python
|
| 21 |
+
from huggingface_hub import hf_hub_download
|
| 22 |
+
import torch
|
| 23 |
+
|
| 24 |
+
model_path = hf_hub_download(repo_id="sajjad5221/eeg2text-unique-sentences", filename="best_rawnet_model.pt")
|
| 25 |
+
checkpoint = torch.load(model_path)
|
| 26 |
+
model.load_state_dict(checkpoint['model_state_dict'])
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
Dataset: [sajjad5221/eeg2text-emmt-dataset-unique-sentences](https://huggingface.co/datasets/sajjad5221/eeg2text-emmt-dataset-unique-sentences)
|