neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기An interactive 2D map of the top 10,000 most-starred GitHub repositories, positioned by semantic similarity of their READMEs.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
An interactive 2D map of the top 10,000 most-starred GitHub repositories, positioned by semantic similarity of their READMEs.
The pipeline enumerates candidates via BigQuery, fetches repo metadata via GraphQL, embeds READMEs with Cohere, reduces to 2D with UMAP, generates topic labels with Claude, and renders an interactive HTML visualization with DataMapPlot.
Each stage is a standalone script. Run them in order:README 전문 보기 ↗An interactive 2D map of the top 10,000 most-starred GitHub repositories, positioned by semantic similarity of their READMEs.
The pipeline enumerates candidates via BigQuery, fetches repo metadata via GraphQL, embeds READMEs with Cohere, reduces to 2D with UMAP, generates topic labels with Claude, and renders an interactive HTML visualization with DataMapPlot.
Each stage is a standalone script. Run them in order:
uv sync # Install from lockfile
uv sync --extra bigquery # (optional) for pipeline/00_enumerate_repos.py
# Or without uv: pip install -e . / pip install -e '.[bigquery]'
python pipeline/00_enumerate_repos.py # BigQuery → data/candidates.csv (optional, see below)
python pipeline/01_fetch_repos.py # GraphQL direct lookups → repos.parquet
python pipeline/02_select_top_repos.py # Trim repos.parquet to top N by stars
python pipeline/03_summarize_readmes.py # Summarize READMEs via Claude Haiku → repos.parquet
python pipeline/04_embed_readmes.py # Embed READMEs via Cohere → embeddings.npz
python pipeline/05_reduce_umap.py # UMAP 512D → 2D → umap_coords.npz
python pipeline/06_label_topics.py # Hierarchical topic labels via Toponymy + Claude → labels.parquet
python pipeline/07_visualize.py # Interactive HTML map → github_map.html
Two-phase fetch approach: Step 00 queries GH Archive on BigQuery for repos with significant recent star activity, producing a generous candidate list (~25K). Step 01 then looks up each candidate via repository(owner:, name:) GraphQL queries (batched 50 per request), sorts by stars, and keeps the top 10K. This avoids the Search API's 1,000-result cap and non-deterministic ordering.
Fallback for users without GCP: A candidates.csv is committed to the repo root. If data/candidates.csv doesn't exist, pipeline/01_fetch_repos.py copies from the committed file automatically. Most contributors can skip step 00 entirely.
Data flows through data/ (gitignored):
candidates.csv ──> repos.parquet ──┬──> embeddings.npz ──> umap_coords.npz ──> labels.parquet
│ │
└────────────────────────────────────────────────┴──> github_map.html
Set in .env:
| Variable | Used by | Purpose |
|---|---|---|
GITHUB_TOKEN | pipeline/01_fetch_repos.py | GitHub API authentication |
CO_API_KEY | pipeline/04_embed_readmes.py, pipeline/06_label_topics.py | Cohere embeddings |
ANTHROPIC_API_KEY | pipeline/03_summarize_readmes.py, pipeline/06_label_topics.py | Claude summarization & topic naming |
GCP_PROJECT | pipeline/00_enumerate_repos.py | (optional) Google Cloud project ID for BigQuery |
The output github_map.html includes:
methodology.html) linked from the nav bar| Component | Choice |
|---|---|
| Repo enumeration | BigQuery (GH Archive) |
| Repo metadata | GitHub GraphQL API (repository() direct lookups, batched 50/request) |
| Embeddings | Cohere embed-v4.0 (512-dim) |
| Dimensionality reduction | UMAP (n_neighbors=15, min_dist=0.05, cosine) 512D → 2D |
| Topic clustering | Toponymy (hierarchical density-based) |
| Topic naming | Claude Sonnet |
| README summarization | Claude Haiku |
| Visualization | DataMapPlot |
make install # Install all deps including dev extras
make lint # Run ruff check + format check
make format # Auto-format with ruff
make test # Run pytest suite
Pre-commit hooks run ruff on every commit. Set up with pre-commit install.
CI (GitHub Actions) runs lint and tests on every push and PR.
Python ≥ 3.10. Key dependencies: cohere, umap-learn, toponymy, datamapplot, anthropic, pandas, numpy.
See pyproject.toml for the full list.