Funded by :
AI@IMT, ENDIVE JCJC, Jean Zay (with project numbers), Alliance Canada and Region Bretagne.
REVE (Representation for EEG with Versatile Embeddings) is a pretrained model explicitly designed to generalize across diverse EEG signals.
REVE introduces a novel 4D positional encoding scheme that enables it to process signals of arbitrary length and electrode arrangement.
This
position bank repository
can be used to fetch electrode positions by name, in order to perform inference with the REVE modeL.
Example script to fetch electrode positions and extract embeddings with REVE.
from transformers import AutoModel
pos_bank = AutoModel.from_pretrained("brain-bzh/reve-positions", trust_remote_code=True)
eeg_data = ... # EEG data (batch_size, channels, time_points), must be sampled at 200 Hz
electrode_names = [...] # List of electrode names corresponding to the channels in eeg_data
positions = pos_bank(electrode_names) # Get positions (channels, 3)
model = AutoModel.from_pretrained("brain-bzh/reve-base", trust_remote_code=True)
## Expand the positions vector to match the batch size
positions = positions.expand(eeg_data.size(0), -1, -1) # (batch_size, channels, 3)
output = model(eeg_data, positions)
Available electrodes names can be printed using the method
pos_bank.get_all_positions()
, and can be visualized
here
.
Most common electrode setups are available (10-20, 10-10, 10-05, EGI 256). For Biosemi-128, use the prefix
biosemi128_
before the electrode names (e.g.,
biosemi128_C13
).
Runs of brain-bzh reve-positions on huggingface.co
18.0K
Total runs
135
24-hour runs
1.0K
3-day runs
2.6K
7-day runs
-3.8K
30-day runs
More Information About reve-positions huggingface.co Model
reve-positions huggingface.co
reve-positions huggingface.co is an AI model on huggingface.co that provides reve-positions's model effect (), which can be used instantly with this brain-bzh reve-positions model. huggingface.co supports a free trial of the reve-positions model, and also provides paid use of the reve-positions. Support call reve-positions model through api, including Node.js, Python, http.
reve-positions huggingface.co is an online trial and call api platform, which integrates reve-positions's modeling effects, including api services, and provides a free online trial of reve-positions, you can try reve-positions online for free by clicking the link below.
brain-bzh reve-positions online free url in huggingface.co:
reve-positions is an open source model from GitHub that offers a free installation service, and any user can find reve-positions on GitHub to install. At the same time, huggingface.co provides the effect of reve-positions install, users can directly use reve-positions installed effect in huggingface.co for debugging and trial. It also supports api for free installation.