Hanno-Labs/sounds-like-fingerprints
Viewer • Updated • 25.7k • 62
How to use Hanno-Labs/langset-sounds-like with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("Hanno-Labs/langset-sounds-like")
sentences = [
"The weather is lovely today.",
"It's so sunny outside!",
"He drove to the stadium."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]A langset model: it reads an album review and emits a latent into a "how it sounds" geometry, so you can retrieve albums that sound alike — not albums with similar reviews. The review isn't a description of the sound; the model reads it and re-projects into the sound axis.
HuggingFaceTB/SmolLM2-135M + LoRAemit(review) is trained to land where emit(sonic-fingerprint) landsTrained with langset==0.2.0 on
Hanno-Labs/sounds-like-fingerprints
— album metadata + the sounds_like fingerprints used as target_text (no review text). input_text = the
full album review; target_text = the album's sounds_like fingerprint.
pip install langset
from huggingface_hub import snapshot_download
from langset import LangSetModel
model = LangSetModel.load(snapshot_download("Hanno-Labs/langset-sounds-like"))
z = model.encode(["a wall of downtuned fuzz that buries the vocals under sheer volume"])
print(z.shape) # (1, 576)
It's also a drop-in SetFit body:
body = model.as_sentence_transformer() # a sentence_transformers.SentenceTransformer
Base model
HuggingFaceTB/SmolLM2-135M