Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2023 (3)
20082026
  1. 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
  2. …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....
  3. …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:…