An attention-based architecture for EEG classification