braindecode/EEGPT
0
EEGPT
EEGPT: Pretrained Transformer for Universal and Reliable Representation of EEG Signals from Wang et al. (2024) [eegpt].
Architecture-only repository. Documents the braindecode.models.EEGPT class. No pretrained weights are distributed here. Instantiate the model and train it on your own data.Quick start
pip install braindecodefrom braindecode.models import EEGPT
model = EEGPT(
n_chans=22,
sfreq=200,
input_window_seconds=4.0,
n_outputs=2,
)The signal-shape arguments above are illustrative defaults — adjust to match your recording.
Documentation
- Full API reference: <https://braindecode.org/stable/generated/braindecode.models.EEGPT.html>
- Interactive browser (live instantiation, parameter counts): <https://huggingface.co/spaces/braindecode/model-explorer>
- Source on GitHub: <https://github.com/braindecode/braindecode/blob/master/braindecode/models/eegpt.py#L21>
Architecture

Parameters
References
- Wang, G., Liu, W., He, Y., Xu, C., Ma, L., & Li, H. (2024). EEGPT: Pretrained transformer for universal and reliable representation of eeg signals. Advances in Neural Information Processing Systems, 37, 39249-39280. Online: https://proceedings.neurips.cc/paper_files/paper/2024/file/4540d267eeec4e5dbd9dae9448f0b739-Paper-Conference.pdf
Citation
Cite the original architecture paper (see References above) and braindecode:
@article{aristimunha2025braindecode,
title = {Braindecode: a deep learning library for raw electrophysiological data},
author = {Aristimunha, Bruno and others},
journal = {Zenodo},
year = {2025},
doi = {10.5281/zenodo.17699192},
}License
BSD-3-Clause for the model code (matching braindecode). Pretraining-derived weights, if you fine-tune from a checkpoint, inherit the licence of that checkpoint and its training corpus.
