|
Download README.md from gabrycina/eeg2meg-model-tiny: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/gabrycina/eeg2meg-model-tiny/resolve/main/README.md
- Command line
-
hf download hf://gabrycina/eeg2meg-model-tiny/README.md
-
curl -L -o README.md https://huggingface.co/gabrycina/eeg2meg-model-tiny/resolve/main/README.md
1.05 kB
metadata
language: en
tags:
- eeg
- meg
- pytorch
- neuroimaging
license: mit
datasets:
- gabrycina/eeg2meg-tiny
metrics:
- mse
EEG to MEG Prediction Model
This model was trained to predict MEG signals from EEG recordings.
Training Configuration
- Dataset: gabrycina/eeg2meg-tiny
- Batch Size: 32
- Learning Rate: 0.0001
- Device: mps
- Training Date: 20250104_185119
Performance
- Best Validation Loss: 0.171059
- Best Epoch: 100
Model Description
This model uses a deep learning architecture to predict MEG signals from EEG recordings. The architecture includes:
- Frequency and temporal convolutions for feature extraction
- Multi-head attention mechanisms for sensor relationships
- Residual connections for better gradient flow
- Separate prediction heads for magnetometers and gradiometers
Usage
import torch
# Load the model
model = torch.load('best_model.pth')
# Prepare your EEG data (shape: [batch_size, channels, time_points])
# Make predictions
with torch.no_grad():
meg_predictions = model(eeg_data)