File size: 1,309 Bytes
ed88e7c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
license: mit
base_model: Qwen/Qwen2.5-7B-Instruct
tags:
  - bci
  - brain-computer-interface
  - inner-speech
  - pytorch
---

# thought-transfer

Trained `T12 -> Qwen2.5-7B-Instruct` neural adapter weights (~49M parameters) for [Transferring human thoughts into Qwen](https://ruxytrace.com/research/thought-transfer/).

Code and evaluation scripts: [pioborgelt/thought-transfer](https://github.com/pioborgelt/thought-transfer)

## Files

- `is5_ckpt_Qwen25_7B_T12.pt` — `fp32` adapter checkpoint (~188 MB): 20/100 exact matches, 60/100 4-way QA, 0/33 private leaks and 40/47 unlocked on Kunz et al.'s held-out T12 recordings.
- `is5_ckpt_Qwen25_7B_T12_bf16.pt` — `bf16` adapter checkpoint (~94 MB): 20/100 exact matches, 59/100 4-way QA, 0/33 private leaks and 40/47 unlocked.

## Usage

```bash
git clone https://github.com/pioborgelt/thought-transfer.git
cd thought-transfer
pip install -r requirements.txt
python eval.py --data-dir ./data/kunz2025
```

`eval.py` downloads `is5_ckpt_Qwen25_7B_T12.pt` automatically (pass `--bf16` for the smaller file). Qwen2.5-7B-Instruct stays frozen (`requires_grad=False`, no LoRA); the adapter injects 40 projected slots into `model.layers[18]` during prefill. Trained on Kunz et al.'s public 50-word T12 recordings (open-vocabulary 125k splits do not work).