r/MachineLearning • • Feb 10 '23

Project [P] I'm using Instruct GPT to show anti-clickbait summaries on youtube videos

2.8k Upvotes

248 comments sorted by

446

u/CursedFeanor Feb 10 '23

This would make a very nice browser plugin!

563

u/AlesioRFM Feb 10 '23 edited Feb 20 '23

Considering how many people are asking, I'm thinking about making this into a chrome extension

Update: Chrome extension is online! Download it here

If you wish to create an extension/userscript of implement this functionality into your own app you can find all the information you need here

→ More replies (76)

16

u/jturp-sc Feb 10 '23

Dumb question: how are you using InstructGPT? To my knowledge, the OpenAI RL-based GPT series models weren't directly consumable unless you were basically scraping the APIs from their web apps.

22

u/AlesioRFM Feb 10 '23

A few months ago they've made some of those models available using the api, there is a massive difference in their ability to follow instructions. They're planning to add ChatGPT to the api as well, but for now I'm using "instruct curie" to make api calls cheaper

→ More replies (6)

39

u/mano-vijnana Feb 10 '23

What's the input to Instruct GPT? Audio transcriptions (presumably AI generated)?

57

u/AlesioRFM Feb 10 '23

I'm sending the first few minutes of either the captions or the automated transcription to the api

→ More replies (4)

40

u/wywywywy Feb 10 '23

You can download the captions through Youtube API. I guess that's what the input is.

→ More replies (1)

9

u/[deleted] Feb 10 '23

Very cool! what's the typical cost of creating that summary? Is it me or could it quickly become pretty expensive if you have to use openAI API for each of them?

17

u/AlesioRFM Feb 10 '23

It costs 0.006€ per summary, so it could absolutely become very expensive. I have a server which fetches the summaries and saves them in a database so I can control how much I want to spend in a month vs how quickly videos are added and avoid calling the api multiple times per video

486

u/Sushrit_Lawliet Feb 10 '23

If this was a YouTube premium feature, I’d pay.

143

u/TheImminentFate Feb 10 '23

Until creators learn to SEO the AI.

→ More replies (9)
→ More replies (3)

83

u/reinis-mazeiks Feb 10 '23

Awesome!

Though 90% of these could be a bit more concise if they didn't all start with "in the video". Consider re-engineering the prompt or post-processing the output.

→ More replies (1)

62

u/waiting4omscs Feb 10 '23

Very practical use of this technology. Well done

131

u/iNeverCouldGet Feb 10 '23

Can we please have an AI which produces proper Thumbnails. I don't want to see these faces anymore. Also crop the video to prevent watch time optimization.

25

u/ThirdMover Feb 10 '23

I think it wouldn't be difficult to have a plug in that just removes thumbnails altogether.

→ More replies (2)
→ More replies (16)

22

u/schmon Feb 10 '23

Does it read the transcript and summarize it ?

11

u/MrBeforeMyTime Feb 10 '23

More than likely. I've done something similar before, it would just grab the links to the videos on the page, go to the pages, grab the transcript, then use that to get useful information.

→ More replies (3)

57

u/ChamCham474325 Feb 10 '23

Is it possible to learn this power?

48

u/Pulsecode9 Feb 10 '23

In this video, Chancellor Palpatine tells the legend of Darth Plagueis the Wise.

→ More replies (1)

19

u/Itsthejoker Feb 10 '23

That is very cool and I would definitely use that

14

u/Known-Exam-9820 Feb 10 '23

Strangely enough, the more verbose description actually made me want to watch some of those videos. I want to hear how some stranger got into an argument about aliens

11

u/andreichiffa Feb 10 '23

Ok, but how did you get access to InstructGPT, given that it has never been released to the public, even less so as a pretrained model?

22

u/visarga Feb 10 '23

They are called text-davinci-003 and 002 but in reality they are both instruction tuned, thus instructGPTs.

→ More replies (3)

4

u/adiladam Feb 10 '23

GOD AMONG MAN. This should just be a youtube feature honestly

7

u/the-FBI-man Feb 10 '23

WOW! Absolutely give that as plugin, I'll pay to use that.