Transformers
Safetensors
wav2vec2
pretraining
lfpformer
neuroscience
local-field-potential
representation-learning
self-supervised-learning
Instructions to use Shubhronyu/LFPformer-large-MaskPred-35k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shubhronyu/LFPformer-large-MaskPred-35k with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForPreTraining processor = AutoProcessor.from_pretrained("Shubhronyu/LFPformer-large-MaskPred-35k") model = AutoModelForPreTraining.from_pretrained("Shubhronyu/LFPformer-large-MaskPred-35k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download lfp_preprocessing.json from Shubhronyu/LFPformer-large-MaskPred-35k: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/Shubhronyu/LFPformer-large-MaskPred-35k/resolve/main/lfp_preprocessing.json
- Command line
-
hf download hf://Shubhronyu/LFPformer-large-MaskPred-35k/lfp_preprocessing.json
-
curl -L -o lfp_preprocessing.json https://huggingface.co/Shubhronyu/LFPformer-large-MaskPred-35k/resolve/main/lfp_preprocessing.json
309 Bytes
| { | |
| "input_sampling_rate": 1250, | |
| "input_samples_per_window": 3750, | |
| "resample_to": 16000, | |
| "resampling": "torchaudio.functional.resample default sinc parameters", | |
| "amplitude_normalization": "none", | |
| "embedding": "mean of final hidden states over time", | |
| "embedding_width": 1024, | |
| "eval_mode": true | |
| } | |