REVE (
project page here
) is a transformer-based foundation model for EEG signal processing. It was trained on 60k hours of EEG data from various sources and is designed to be adaptable to any electrode configuration and a wide range of EEG-based tasks.
Model Details
Architecture
REVE (Representation for EEG with Versatile Embeddings), a pretrained encoder 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.
Using a masked autoencoding objective, we pretrain REVE on over 60,000 hours of EEG data from 92 datasets spanning 25,000 subjects.
Funded by:
This research was supported by the French National Research Agency (ANR) through its AI@IMT program and grant ANR-24-CE23-7365, as well as by a grant from the Brittany region. Further support was provided by a Discovery Grant from the Natural Sciences and Engineering Research Council of Canada (NSERC), by funding from the Canada Research Chairs program and the Fonds de recherche du Québec – Nature et technologies (FRQ-NT). This work was granted access to the HPC resources of IDRIS under the allocation 2024-AD011015237R1 made by GENCI, as well as HPC provided by Digital Alliance Canada.
Example script to extract embeddings with REVE, using our position bank:
from transformers import AutoModel
pos_bank = AutoModel.from_pretrained("brain-bzh/reve-positions", trust_remote_code=True)
model = AutoModel.from_pretrained("brain-bzh/reve-large", trust_remote_code=True)
eeg_data = ... # EEG data as a torch Tensor (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)# 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)
Runs of brain-bzh reve-large on huggingface.co
3.9K
Total runs
43
24-hour runs
19
3-day runs
240
7-day runs
-391
30-day runs
More Information About reve-large huggingface.co Model
reve-large huggingface.co is an AI model on huggingface.co that provides reve-large's model effect (), which can be used instantly with this brain-bzh reve-large model. huggingface.co supports a free trial of the reve-large model, and also provides paid use of the reve-large. Support call reve-large model through api, including Node.js, Python, http.
reve-large huggingface.co is an online trial and call api platform, which integrates reve-large's modeling effects, including api services, and provides a free online trial of reve-large, you can try reve-large online for free by clicking the link below.
brain-bzh reve-large online free url in huggingface.co:
reve-large is an open source model from GitHub that offers a free installation service, and any user can find reve-large on GitHub to install. At the same time, huggingface.co provides the effect of reve-large install, users can directly use reve-large installed effect in huggingface.co for debugging and trial. It also supports api for free installation.