Commit ·
0e44673
1
Parent(s): 6db1cbf
modelcard
Browse files
README.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language: en
|
| 3 |
+
license: cc-by-nc-4.0
|
| 4 |
+
tags:
|
| 5 |
+
- eeg
|
| 6 |
+
- music
|
| 7 |
+
- representation-learning
|
| 8 |
+
- pytorch-lightning
|
| 9 |
+
- transformer
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# PredANN++ (Surprisal, ctx16) — Encoder-only checkpoint
|
| 13 |
+
|
| 14 |
+
## Model description
|
| 15 |
+
|
| 16 |
+
This model is a finetuned **EEG encoder** for **song identification from 3-second EEG segments** (10-class classification) on the NMED‑T dataset.
|
| 17 |
+
|
| 18 |
+
The encoder is trained with multitask pretraining (masked prediction) using **MusicGen Surprisal** features, followed by finetuning with cross-entropy on song ID.
|
| 19 |
+
|
| 20 |
+
- Input: EEG (128 channels, 125 Hz, 3 seconds)
|
| 21 |
+
- Output: Song ID logits (10 classes)
|
| 22 |
+
|
| 23 |
+
## Intended use
|
| 24 |
+
|
| 25 |
+
- Research use for EEG-based music recognition
|
| 26 |
+
- Comparing the effect of predictive-information features (Surprisal) vs acoustic features
|
| 27 |
+
|
| 28 |
+
## Not intended use
|
| 29 |
+
|
| 30 |
+
- Medical diagnosis
|
| 31 |
+
- Any clinical decision making
|
| 32 |
+
- Commercial usage without verifying upstream non-commercial licenses
|
| 33 |
+
|
| 34 |
+
## Training data
|
| 35 |
+
|
| 36 |
+
- NMED‑T (Naturalistic Music EEG Dataset – Tempo), 10 songs, 20 subjects, trial=1.
|
| 37 |
+
|
| 38 |
+
## Training procedure (high-level)
|
| 39 |
+
|
| 40 |
+
1. Multitask pretraining: encoder-decoder masked prediction of Surprisal tokens (50% masking)
|
| 41 |
+
2. Finetuning: encoder-only training for Song ID classification
|
| 42 |
+
|
| 43 |
+
## Evaluation
|
| 44 |
+
|
| 45 |
+
The repository contains an evaluation script:
|
| 46 |
+
- `codes_3s/analysis/evaluate.py`
|
| 47 |
+
|
| 48 |
+
## License and upstream dependencies (IMPORTANT)
|
| 49 |
+
|
| 50 |
+
This checkpoint is trained using features computed with:
|
| 51 |
+
- MusicGen model weights (CC-BY-NC 4.0) :contentReference[oaicite:14]{index=14}
|
| 52 |
+
|
| 53 |
+
Therefore, this checkpoint is distributed as **CC-BY-NC 4.0**.
|
| 54 |
+
|
| 55 |
+
## Citation
|
| 56 |
+
|
| 57 |
+
If you use this model, please cite:
|
| 58 |
+
- The PredANN++ paper (to be added upon publication)
|
| 59 |
+
- NMED‑T dataset paper
|
| 60 |
+
- Audiocraft / MusicGen
|
| 61 |
+
|
| 62 |
+
## Acknowledgements
|
| 63 |
+
|
| 64 |
+
We borrow and adapt code from multiple repositories. Please see:
|
| 65 |
+
- `THIRD_PARTY_NOTICES.md` in the GitHub repository.
|