555 karma · joined August 14, 2014
Email: bingdai9 at gmail dot com
****
Project 2 - I also built a YouTube summarizer for individual video called Summary Cat (https://www.summarycat.com). It is not open source for now. The stack is very similar to project 1.
****
And yes I like summarizing YouTube videos:)
I made a YouTube summarizer, Summary Cat.
————————-
Technical Details
Goal: Generate brief and coherent summaries from YouTube video transcripts
Motivation of building this project: to save myself time watching videos that are too long.
Stack • Frontend: HTML/CSS, plus a tiny bit of Javascript for handling the button • Backend: Python/Flask • Flask served as the backend web framework, handling routes and integrating various services. • Front+Backend has about 500 lines in total • Hosting: AWS Free-tier Elastic Beanstalk • Database: AWS Free-tier RDS
APIs: • For grabbing YouTube's transcripts: I used youtube-transcript-api (https://pypi.org/project/youtube-transcript-api/) • For summarizing the transcripts: I used OpenAI's GPT-3.5-turbo-16k: https://platform.openai.com/docs/guides/gpt. • I used GPT-3.5 because GPT-4 is quite a lot more expensive (roughly 10X).
My Prompt (Super Simple!) • "please summarize the following text into a few paragraphs:" + the full transcript.
Thoughts about GPT-4 vs GPT-3.5-Turbo-16k or Summary Cat • GPT-4 was 20% better for "summary quality" • GPT-4 feels 50% faster • However, GPT-4 is about 10X as expensive as GPT-3.5
Your "use the summarizer to re-cut the videos" is fantastic!
Thanks for your suggestion about how to address it.
As for non-Youtube URL: I indeed do not handle that error right now :D. Thanks so much for bringing it up!
----------- My prompt is super simple. It is "please summarize the following text into a few paragraphs:" + the full transcript. -----------
Seriously that's it!
I would say, GPT-4 is - 20% better at "summary quality" - feels 50% faster - BUT, 10X as expensive.
So using GPT-3.5 was the right choice for me at this point.
Summary Cat doesn't work for videos where there's not a lot of speaking. I am hoping to build a bit more on text-rich videos first, so I do not plan to do actual video (image) processing any time soon.
I will keep that in mind!!
So far, I found that each ~10 minute video uses around 1000 tokens. It costs me about 3 cents to summarize, which is not too bad as I don't have many users, and users haven't been requesting summaries for super long videos yet.
If this sites gets a lot of interest, I might start restricting something :)..
GPT 3.5 Pricing: https://openai.com/pricing
I am wondering what makes you think that?
I have worked in both computer science and classical music, and found many crossover talents. Two previous Director of Music at my school (UBC in Canada) in the last few decades are both musicians and engineers/physicists.
I find it unfair that the society often consider people being "too young; may change mind later" when they say they do not want children; but we don't apply the same standards to young people who want children.
In my opinion, your ancestors had children largely because they had intercourse without accessing to birth control, not because they made a conscious decision to have children despite the circumstances.
I do not agree with that. In my opinion, technology advancements (say, driverless cars) will make reduce the amount of young people needed to support for older people.
The central theme is that modern children are "economically useless" and "emotionally priceless".
- Build rapport with them. - Shake their hands. - Talk to them with respect.
Marc Andreessen probably has literally hundreds of tasks on his desk a day.
Whether your task (say, a fundraising document you need him to sign today) would become his priority can 90% depend on whether you and his assistant have a good relationship or not.
"It concerns something I didn't figure out until I was older, that children are brought into existence w/o their consent.
Now I don't believe this is* (edit: fixed) an evil or unethical act; it's simply an unavoidable facet of reality. However, it creates a debt to children so massive, that it can't be fully repaid in a lifetime."
I wonder, why does "my kid didn't consent to be born" mean "I owe him/her?"
Is the implication that being alive is a bad thing?
I have a suggestion and a question.
Suggestion: your site does not have an About page of some sort to talk about the story behind the creation of the company and the experience of the co-founders. You have truly remarkable story, as I read in this post. So please include it to your site!
Question: I am curious about how COVID-19 has impacted the art community? My classical musician friends are certainly suffering financially and mentally because all of the concerts are suspended. I wonder how are artists doing in the pandemic.
Thank you and keep up with the great work!! Wishing you all the success.
I can see that Live Program Notes may be part of the future of classical music. Wishing you all the success!
Thank you for checking out the site! I started www.covidhelpcenter.com to help arts professionals and organizations find COVID-19 emergency relief funds.
I used to run a popular classical music concert series in Vancouver, Canada up until the outbreak, so I have been collecting such information to help myself and others.
I would sincerely appreciate any comments or feedbacks!