bing_dai's comments

bing_dai | 2 years ago | on: Ask HN: Show me your half baked project

https://www.summarycat.com/

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

bing_dai | 2 years ago | on: Show HN: Summary Cat, a YouTube Video Summary Generator

I agree that this is happening " an arms race between youtube forcing creators to make videos 8 mins long min to be able to get mid roll ads and people coming up with ways to summarize the transcript." Along the same line: I have been thinking about how my Summary Cat might mean for the content creators. How would it impact their income?

Your "use the summarizer to re-cut the videos" is fantastic!

bing_dai | 2 years ago | on: Show HN: Summary Cat, a YouTube Video Summary Generator

Thanks for the question... Any sample videos you are thinking of?

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!!

bing_dai | 2 years ago | on: Show HN: Summary Cat, a YouTube Video Summary Generator

Hello! Thanks for the question. I do not myself restrict tokens/session. The model I am using GPT-3.5-Turbo-16k (https://platform.openai.com/docs/models/gpt-3-5), allows max 16,385 tokens in total per input/output.

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

bing_dai | 5 years ago | on: No meetings, no deadlines, no full-time employees

There are people who are perfectly happy with about $250K of take-home pay a year if that means they have plenty of freedom to do other things. In fact, I bet many people in the US will be happy with $30K a year, not $250K.

bing_dai | 5 years ago | on: The global fertility rate is falling

On the other hand: there must be people who decided they wanted children in high school, but later regret it.

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.

page 1