Building a Playlist Generator with Sentence Transformers
Jul 10, 2022
Summary
This post demonstrates how to build a playlist generator using Sentence Transformers. It highlights the use of the `sentence-transformers/all-MiniLM-L6-v2` model for generating embeddings from song titles and then using these embeddings to find similar songs for playlist creation. The post provides code examples for loading the model, encoding song titles, and calculating cosine similarity to identify related tracks.
More from the Sentence Transformers for Playlist Generation trail
- NeoMME: an efficient Multimodal-native and Multilingual Encoder
- MTEB: Massive Text Embedding Benchmark
- Introducing OlmoEarth embeddings: Custom embedding exports from OlmoEarth Studio for downstream analysis
- Build a Domain-Specific Embedding Model in Under a Day
- Granite Embedding Multilingual R2: Open Apache 2.0 Multilingual Embeddings with 32K Context — Best Sub-100M Retrieval Quality