Better HN
topnewbestaskshowjobs
Log inSign up

puzer

56 karma · joined Jan 30, 2023 (3y ago) · 2 submissions

AI Executive & Principal Engineer
Submissions

comment 11mo ago · link · parent

TL;DR

- The Idea: People use GitHub Stars as bookmarks. This is an excellent signal for understanding which repositories are semantically similar.

- The Data: Processed ~1TB of raw data from GitHub Archive (BigQuery) to build an interest matrix of 4 million developers.

- The ML: Trained embeddings for 300k+ repositories using Metric Learning (EmbeddingBag + MultiSimilarityLoss).

- The Frontend: Built a client-only demo that runs vector search (KNN) directly in the browser via WASM, with no backend involved.

- The Result: The system finds non-obvious library alternatives and allows for semantic comparison of developer profiles.

2.

Show HN: Similarity = cosine(your_GitHub_stars, Karpathy) Client-side(puzer.github.io ↗)

172 points · by puzer · 11mo ago · 39 comments