Code of the paper BP-GPT: Auditory Neural Decoding Using fMRI-prompted LLM.
-
Download the semantic decoding dataset.
- Modify the config in configs/config.py, train the text2text model by setting stage=1.
- Train the brain2text model by setting stage=2.
Some parts of the code of this project are adapted from semantic-decoding and CLIP-prefix-caption. Special thanks to their great works.