This project aims to build a system that takes a YouTube music video URL and returns the title and artist of the song by matching the lyrics with a database of songs. The goal is to identify potential cover songs by analyzing the lyrics.
- Download a lyrics dataset.
- Extract embeddings for each song's lyrics using BERT.
- Create a vector index (database) for fast retrieval of similar lyrics using FAISS.
- Download the YouTube video in a temporary file.
- Transcribe the lyrics using the Insanely-fast-whisper model.
- Extract the embeddings of the transcribed lyrics using BERT.
- Search the top-k similar entries in your vector database using FAISS and return the song title and artist.
- Insanely-fast-whisper for transcribing lyrics.
- BERT for extracting embeddings.
- FAISS for creating a lyrics index and retrieving similar