stdlogits/neuron-lens.com
소개
neuron-lens.com: what each neuron and attention head inside Qwen3-8B and Gemma 4 12B responds to, and what it makes the model say
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalNeuron Lens
neuron-lens.com shows what each neuron and attention head inside open
language models (Qwen3 from 0.6B to 30B-A3B, post-trained and base, Qwen3.5 0.8B and 2B, Gemma 4 12B, OLMo 3 7B,
and Pythia from 14M to 6.9B) responds to and what it makes the model say: the words and
ideas that set it off, the examples where it fired hardest, what pushing it promotes, and, for Gemma 4,
the images and sounds it responds to. Every unit has an address (/qwen3-8b/L8/n344,
/gemma-4-12b/L35/h14).
The readings come from the neuron-lens analysis (weight lenses, top firings, steering checks), with labels by Claude Haiku 5.5.
For people: the Guide shows how to use it in research. For AI agents:
/llms.txt; an MCP server at https://neuron-lens.com/mcp (tools list_models,
search_units, get_unit, get_layer; no sign-in), named by its Server Card (/mcp/server-card) and
/.well-known/ai-catalog.json; and, in a browser with WebMCP, the same tools in the page. Every address also answers in
plain HTML for a reader that runs no script.
Run it
Node 24 or newer.
npm ci
npm run dev # http://localhost:5180
npm run check # svelte-check
npm run test:e2e # Playwright, on a small mock catalog
npm run build # dist/
The site is a static single-page app: Vite, Svelte 5 and TypeScript. Its one piece of server code,
scripts/site/unfurl.js, runs in front of a unit's address to give a shared link that unit's words and picture.
The data
The explorer reads a prebuilt catalog of static JSON (and, for Gemma 4, packs of images and sounds):
on the site from data.neuron-lens.com (Cloudflare R2), in development from catalog/, which the dev
server serves at /data. It is several gigabytes and not in the repository: scripts/neurons/ builds
it from the neuron-lens catalogs, and scripts/catalog/upload.sh puts it on R2 (see AGENTS.md, "The
catalog"). Without it the dev server shows the explorer's shell and an error where the data goes, unless
it is started with VITE_CATALOG=live to read the live catalog; the e2e tests bring their own mock catalog
(e2e/fixtures).
Deploy
scripts/deploy.sh builds from a clean, pushed main whose catalog builds (named in
src/lib/catalog.json) are already on R2, uploads dist to Cloudflare Pages with Wrangler, and checks
the live site with scripts/verify-deployment.mjs. A new catalog goes up first, with
scripts/catalog/upload.sh <model>. It
needs CLOUDFLARE_ACCOUNT_ID (in the environment or ~/.config/cloudflare/neuron-lens.env) and signs
in with CLOUDFLARE_API_TOKEN if set, else with wrangler login; --dry-run stops before the upload.
Credits
By a9lim, treetown and Claude. Images and sounds are shown under their collections' licences, listed
on the site's Credits page. The design is Ledger (stdlogits/ledger),
whose Wix Madefor faces are under the SIL Open Font License.
License
관련 프로젝트 살펴보기
불러오는 중…