EEGJev v1.3
arXiv preprint · Project page · Code
EEGJev is a question-guided decision model for electroencephalography (EEG). It scores the offered answer candidates in one pass using representations of the recording and question. A fine-tuned CBraMod encoder represents the EEG, and a frozen MPNet encoder represents the question and answer choices.
This release includes the shared and per-source EEGJev weights for seeds 0, 1 and 2, with the corresponding trained heads and CPU inference code.
Figure 1 from the paper. EEGJev encodes the EEG window, question and candidate answers before scoring the candidates in one pass.
Answer types
The decision head handles single attributes, the individual answers in paired questions, two-window comparisons and long-window timing. An additional branch answers ordered categories, and a separately trained head decides whether to answer when a suitable option may be absent.
The evaluation includes 19 public EEG sources, with test scores for 17 sources. The manuscript describes the participant splits, coverage of each baseline and source-weighted aggregation. Some model components depend on the recorded source and window length.
Download one variant and seed
shared uses a single EEG encoder across all sources. per_source selects a separate encoder by the source name. Each seed directory includes the main decision head, the ordered-bin and refusal branches, and the step-1 classifiers used by the published inference rules. The file manifest lists the downloadable artifacts.
Use Python 3.13 and a CPU PyTorch installation. The example below downloads one shared model for local inference.
hf download dengzhe-hou/EEGJev --include 'weights/shared/seed0/*' --include 'inference/*' --local-dir ./eegjev
hf download sentence-transformers/all-mpnet-base-v2 config.json model.safetensors vocab.txt tokenizer.json tokenizer_config.json special_tokens_map.json --revision e8c3b32edf5434bc2275fc9bab85f82640a19130 --local-dir ./mpnet
python -m pip install --index-url https://download.pytorch.org/whl/cpu torch==2.11.0
python -m pip install -r eegjev/inference/requirements.txt
python -I -B eegjev/inference/examples/question_switch.py --checkpoint eegjev/weights/shared/seed0/decision.pt --mpnet mpnet --output question-output
The inference guide shows the D3 and refusal loaders and the temporal example. Use the model's montage order for each source and the benchmark's 200 Hz standardized windows. Upstream terms and attribution are listed in licenses.
