Re:Ask HN: Tell us about your project that's not done yet bu...
by amjith on Wednesday August 16, 2023 @10:34PM
(#37156481)
This is fantastic. I'm a huge fan of No Such Thing as a Fish podcast.
Are you part of club fish? I bet the folks in the discord channel would love this.
Re:Ask HN: Tell us about your project that's not done yet bu...
by noman-land on Wednesday August 16, 2023 @10:57PM
(#37156622)
Oh yeah, I'm in there. Come say hi! I just shared it with them a couple days ago and they already pinned it! Felt pretty great.
Re:Ask HN: Tell us about your project that's not done yet bu...
by jzombie on Wednesday August 16, 2023 @11:35PM
(#37156858)
Naive comment here but you could check out using a vector database for semantic searches. Check out chromadb.
Re:Ask HN: Tell us about your project that's not done yet bu...
by noman-land on Wednesday August 16, 2023 @11:40PM
(#37156889)
Thanks for the suggestion. Vector databases have been on my list of things to check out so this is timely.
Re:Ask HN: Tell us about your project that's not done yet bu...
by skelts on Thursday August 17, 2023 @12:03AM
(#37157046)
i've tried a couple and probably prefer Marqo to the rest. definitely the most user-friendly pick of the bunch.
Re:Ask HN: Tell us about your project that's not done yet bu...
by noman-land on Thursday August 17, 2023 @12:41AM
(#37157317)
Thanks!
I listen to a podcast called No Such Thing As A Fish[0], where some researchers talk about their favorite facts they learned that week. Then they riff on it and are generally smart and funny. I listened to the series so many times that I decided I wanted to listen to the show on shuffle, not at the episode level, but at the fact level.
Since I have been playing around with whisper.cpp in python this seemed like a perfect way to combine some technologies I've been wanting to play with.
I ran whisper over the entire podcast and transcribed all the episodes. I had to do this multiple times because I kept messing up. It eventually took like 7 straight days of my M1 processing to get through ~490 episodes using the medium.en model.
4 million words, and an 800Mb SQLite database later, I got the transcriptions done and have put up a nice site for searching through the data.
https://transcript.fish
Now I just need to figure out the rest. Breaking it up into facts. Getting the audio working. Highlighting and linking to words, phrases, etc.
Some cool info about the process so far:
1. The SQLite database is chunked up and stored as static files, and the frontend queries the static files directly using HTTP range requests, so it only downloads a couple hundred kbs when querying.
2. I've been proper using ChatGPT 3.5 free version to help me write python and SQL. It's been pretty game changing as I feel basically no pain from not knowing what I'm doing.
The code is here: https://github.com/noman-land/transcript.fish
Please help if you know how to get whisper speaker diarization working!! I would really appreciate the help.
[0] https://www.nosuchthingasafish.com/