正在自动登录…
lyramakesmusic/ neuron-explorer
面向Qwen3.5-4B模型的神经元探索工具,通过推动每个MLP神经元并保留所有rollout,以3D视图展示模型内部结构,支持交互式浏览、实时推理和Claude集成。适用于模型可解释性研究者和对LLM内部机制感兴趣的技术人员。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/26 00:56:23 · 查看原文
- 累计 Stars
- 327
- 当前热度
- 1~7 天 · 小火
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/26 00:56:23
- 使用方式
通过命令行启动服务器,在浏览器中访问本地端口进行交互式探索。
查看 README 依据
# neuron explorer Steering-first neuron explorer for Qwen3.5-4B. Every MLP neuron in a layer is pushed up and down on a few prompts, every rollout is kept, and the explorer lays the results out over a 3D view of the model.  ## Explorer uv sync uv run python explorer/server.py # http://localhost:8791 Reads sweep runs from `runs/` and per-layer stats from `stats/`, both produced by the sweep below; the caches in `explorer/cache/` ship with the repo. Loads Qwen3.5-4B locally (MPS, CUDA or CPU) for live
- 部署要求
需要Python环境,使用uv管理依赖;运行sweep需要CUDA 13 GPU pod和vLLM的steering fork。
查看 README 依据
tools and a shell in your home folder. Its prompt is `explorer/agent_prompt.md` plus `explorer/agent_methodology.md`, and `explorer/agent_prompt.local.md` when present (untracked, for your own additions); `EXPLORER_CLAUDE_MODEL` picks the model. The server answers only pages and tools on this machine. ## Sweep Runs on a CUDA 13 GPU pod with the steering fork of vLLM ([RhizoNymph/vllm](https://github.com/RhizoNymph/vllm)). bash sweep/setup_pod.sh # fork, deps, model; writes /workspace/env.sh
python sweep/neuron_stats.py --layers 22 --tokens 2000000 --out stats/q35-4b python sweep/steer_sweep.py --stats stats/q35-4b_L22.npz --design main_rel --dose-unit rel \ --neurons all --random-controls 256 --run q35-4b-L22 sweep/run_depth.sh "4 9 13 17" 384 64 # random-subset sweep across several layers `main_rel` doses are fractions of the median residual norm leaving the layer: {who, snake, orange} × {−0.7, +0.5, +0.8} and {free} × {+3}, plus one unsteered baseline per prompt. | script | output | |---|---|
- 已知限制
服务器仅响应本机页面和工具,Claude集成需要安装并登录claude CLI。
查看 README 依据
tools and a shell in your home folder. Its prompt is `explorer/agent_prompt.md` plus `explorer/agent_methodology.md`, and `explorer/agent_prompt.local.md` when present (untracked, for your own additions); `EXPLORER_CLAUDE_MODEL` picks the model. The server answers only pages and tools on this machine. ## Sweep Runs on a CUDA 13 GPU pod with the steering fork of vLLM ([RhizoNymph/vllm](https://github.com/RhizoNymph/vllm)). bash sweep/setup_pod.sh # fork, deps, model; writes /workspace/env.sh
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/21 12:09:05
- 首次达标收录
- 2026/10/26 00:51:30
- 统计更新时间
- 2026/10/26 01:21:50
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 3.9 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/26 00:51:30 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/24 15:53:51
- 许可证标识
- 未识别,请查看仓库说明
- Fork 数
- 32
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目