-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idea: Download YouTube subtitles and ask chatGPT to come up with a title name #110
Comments
Using yt-dlp to download the subtitles and the gpt3.5 api, this is pretty trivial - In fact I already have a project that is capable of doing this, which I host as a private discord bot for my friends. |
While an interesting concept, these llms at the moment do not seem to like being concise, which makes the titles pretty bad |
I think the conciseness problem can be easily solved by fine-tuning the right prompt format. Here's a prompt that I used:
Output: The results were quite good for this specific video, considering I found thinking of a title for this video quite difficult. 😅 I also think the API charges can be entirely avoided if you spoof requests to ChatGPT's endpoint from the extension if the user is logged in to OpenAI. (Although, I'm not sure what context length the free version has) Other LLMs, such as Bard, Claude, and Huggingface chat could be considered too. This could be helpful when suggesting a title to submit I suppose. |
The ChatGPT UI is limited to a much smaller per-message size than the API - just try pasting your prompt into there. I expect that this will work for none but the shortest of videos. It also requires more extension permissions, adds rather significant complexity (I'd expect), and enters the fight with OpenAI, who will most likely not like extensions doing this. |
I was just about to suggest this |
There are alternative LLMs with more tokens, it is also possible to distribute the task and divide it into small chunks, and of course, target just the popular videos to begin with... there is a great margin of optimization here and using the right APIs and hacks can get things done properly. |
I have tested claude, which prominently advertises its 100k token limit. And even with all this - alternate video titles is only half of what the extension provides. |
|
This prompt could maybe make this possible Auto Split Prompt
Auto Split Chunk Prompt
Borrowed from Superpower ChatGPT |
Can subtitle download and LLM processing be done locally? |
Hi, thanks for this addon.
It'll be cool to automate the following
Thanks
The text was updated successfully, but these errors were encountered: