Downloads · 30 days
0
amir-hlp/EEG-VJEPA
EEG-VJEPA is a machine learning model from amir-hlp. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
EEG-VJEPA is a self-supervised learning model for EEG signal analysis. It treats EEG signals as spatiotemporal sequences, leveraging both spatial and temporal information. This model uses a Vision Transformer (ViT) as…
Downloads · 30 days
0
Access
Public
Updated Nov 24, 2025
Repo size
2.1 GB
Likes
3
Public
Click a slice to open those files.
.tar2.1 GB · 100%
From the Hugging Face model README
EEG-VJEPA is a self-supervised learning model for EEG signal analysis. It treats EEG signals as spatiotemporal sequences, leveraging both spatial and temporal information. This model uses a Vision Transformer (ViT) as the backbone to capture long-range dependencies, enabling robust representation learning from EEG data. (paper coming soon, arXiv version here: https://arxiv.org/abs/2507.03633)
(ViT-M-4x30x4) <br /> Accuracy (Frozen Eval): 83.0% <br /> F1 Score (Frozen Eval): 82.4% <br /> AUROC (Frozen Eval): 87.7%
(ViT-B-4x30x2) <br /> Accuracy (Frozen Eval): 81.2% <br /> F1 Score (Frozen Eval): 81.0% <br /> AUROC (Frozen Eval): 87.9%
This model can be used / fine-tuned for various EEG analysis tasks, including fine-tuning for abnormal EEG classification. It is particularly effective for scenarios where spatial and temporal dependencies are critical. The code repository can be found at https://github.com/amir-hojjati/eeg-vjepa. The base model's encoder can be loaded with the pre-trained weights provided here and with the hyperparameters specificed in the paper for each model.
Optimizer: AdamW <br /> Learning Rate: 0.0002 (initial), 0.000625 (reference), 1e-6 (final) <br /> Weight Decay: CosineWDSchedule (0.04, 0.4) <br /> Gradient Clipping: Max Norm 10.0 <br /> Pretrained on: 5 Nvidia V100-32GB GPUs for up to 400 epochs
Pre-training Dataset: NMT + TUH
Batch Size: 10
Encoder Size <br /> (ViT-M-4x30x4): Medium (ViT-M) with 21M parameters <br /> (ViT-B-4x30x2): Base (ViT-B) with 85M parameters
Predictor Depth <br /> (ViT-M-4x30x4): 6 <br /> (ViT-B-4x30x2): 12
Sampling Rate <br /> (ViT-M-4x30x4): 3 <br /> (ViT-B-4x30x2): 2
# Frames <br /> (ViT-M-4x30x4): 32 <br /> (ViT-B-4x30x2): 16
# Clips <br /> (ViT-M-4x30x4): 1 <br /> (ViT-B-4x30x2): 3
Tubelet Size <br /> (ViT-M-4x30x4): 4 <br /> (ViT-B-4x30x2): 2
Augmentation <br /> (ViT-M-4x30x4): Spatial (AR + Scale) <br /> (ViT-B-4x30x2): Spatial (AR + Scale)
Random Resize Aspect Ratio <br /> (ViT-M-4x30x4): (0.75, 1.35) <br /> (ViT-B-4x30x2): (0.75, 1.35)
Random Resize Scale: <br /> (ViT-M-4x30x4): (0.3, 1.0) <br /> (ViT-B-4x30x2): (0.3, 1.0)
@misc{hojjati2025videoeegadaptingjoint, title={From Video to EEG: Adapting Joint Embedding Predictive Architecture to Uncover Visual Concepts in Brain Signal Analysis}, author={Amirabbas Hojjati and Lu Li and Ibrahim Hameed and Anis Yazidi and Pedro G. Lind and Rabindra Khadka}, year={2025}, eprint={2507.03633}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2507.03633}, }