simonw/llm-cluster
View on GitHub ↗ ★ 82 Python
LLM plugin for clustering embeddings
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2023-09-04 · latest 2023-10-25
20082026
-
I'm trying to understand the clustering code but not doing too well. https://github.com/simonw/llm-cluster/blob/main/llm_cluster.... So does this take each row from the DB, convert to a numpy array (?), then uses an existing model called…
comment by politelemon · 2023-10-25 · in Embeddings: What they are and why they matter -
…automatically pick an interesting number of clusters, as opposed to picking a number at the start. https://github.com/simonw/llm-cluster/blob/main/llm_cluster....
comment by simonw · 2023-09-04 · in LLM Python/CLI tool adds support for embeddings -
…calculate clusters from embeddings and use another LLM call to generate a name for each cluster: https://github.com/simonw/llm-cluster Example usage: Fetch all issues, embed them and store the embeddings and content in SQLite:…
comment by simonw · 2023-09-04 · in LLM Python/CLI tool adds support for embeddings