MindReader-7B-v1

A mechanistic-interpretability decompiler. Given a neural circuit's architecture metadata and behavioural activation signature, it outputs a standalone, executable Python function circuit_logic(tokens: list[str]) -> dict that reproduces the circuit's algorithm.

Training

QLoRA fine-tune of Qwen/Qwen2.5-Coder-7B-Instruct (4-bit nf4, LoRA r=16, alpha=32, dropout 0.05, all projection modules) on 964 ChatML examples built from 291 causally verified circuits mined from 16 open-weights models. 3 epochs, lr 1e-4 cosine, completion-only loss, final loss 0.037.

Blind evaluation

On 15 held-out circuits from google/gemma-2-2b and meta-llama/Llama-3.2-1B (never in training): execution 100%, rule identification 53% (baseline 0%), behavioural fidelity pass 53% (baseline 20%). Known limitation: induction and first-token-sink signatures on unseen tokenizers are systematically decompiled as previous-token programs.

Files

This repo holds the full adapter weights (adapter_model.safetensors) plus tokenizer and config files. Load with PEFT on top of Qwen/Qwen2.5-Coder-7B-Instruct.

Links

Downloads last month
24
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for stube123890/MindReader-7B-v1

Base model

Qwen/Qwen2.5-7B
Adapter
(689)
this model