TLDRocket
Sign in

Tools & Coding

975 summarised stories in Tools & Coding, each linking back to the original source. Browse all topics →

Wednesday, 13 July 2022

Building a Playlist Generator with Sentence Transformers

Hugging Face 4 years ago 4

A developer built a playlist generator using Sentence Transformers to create semantic embeddings of song lyrics and Gradio to build a multi-step interface for searching. The system splits songs into verses, embeds each verse using the msmarco-MiniLM-L-6-v3 model with a maximum sequence length of 512 word pieces, and searches across pre-generated embeddings to find semantically similar songs. Users can now enter a text prompt, retrieve the nine most relevant songs through semantic search, and view the lyrics of selected results.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.