Instructions to use stube123890/MindReader-7B-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use stube123890/MindReader-7B-v1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-7B-Instruct") model = PeftModel.from_pretrained(base_model, "stube123890/MindReader-7B-v1") - Notebooks
- Google Colab
- Kaggle
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
- Code and project: https://github.com/stube123890-hue/MindReader
- Dataset: https://huggingface.co/datasets/stube123890/MindReader-10k
- Downloads last month
- 24