Downloads · 30 days
0
desbeann/ctp-embedder-test
ctp-embedder-test is a machine learning model from desbeann. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project demonstrates how to convert message text into semantic embeddings, cluster them into meaningful groups, and visualize them using UMAP and HDBSCAN. The result is a clean, interactive, visualization of your…
Downloads · 30 days
0
Access
Public
Updated Nov 9, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json41.3 KB · 81%
From the Hugging Face model README
This project demonstrates how to convert message text into semantic embeddings, cluster them into meaningful groups, and visualize them using UMAP and HDBSCAN.
The result is a clean, interactive, visualization of your dataset.
I plan to use something like this for my cluster data dashboard project.
input.jsonWe use the Hugging Face embedding model: sentence-transformers/all-MiniLM-L6-v2
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
embeddings = model.encode(texts)
Embeddings are high-dimensional (usually 384 dimensions), so we reduce them to 2D for visualization.
HDBSCAN finds clusters automatically based on density, without needing to pick a fixed number of clusters.
We use TF-IDF keyword extraction to summarize each cluster’s dominant topics.
We render everything using Plotly: