this post was submitted on 31 Dec 2023
51 points (84.9% liked)
Videos
14114 readers
1 users here now
For sharing interesting videos from around the Web!
Rules
- Videos only
- Follow the global Mastodon.World rules and the Lemmy.World TOS while posting and commenting.
- Link directly to the video source and not for example an embedded video in an article.
- Don't be a jerk
- No advertising
- Avoid clickbait titles. (Tip: Use dearrow)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Fwiw, everything they posted was from the details left under the video by the creator.
Yes, I know this but he didn't only include the video title and posted it. He add a hook to attract attention ,the length of the video , the date it was uploaded and the channel name. In the description, he removed quite a lot of gunk.
This actually sent me into a rabbit hole.
I spent the last several hours making a script that when given a youtube link format it the same way as he does. I made it in js, python and bash ( well, bing did the writing, I didn't want to spend too much time on this but it in the end, it took me several hours because I wanted to share the link from an online IDE but js module loading is wack).
I then wanted to use llm to summerise the description and it turns out that thanks to tranfomers.js, it's actually quite easy to implement 100% local summerization/ video Q&A. I used the smallest model (t5-small) to test and it didn't give good results, but I know for a fact that bigger models are way better at this.
Tldr; I wasted a good portion of new years eve because I got impressed by a post formatting style and tried to replicate it programmatically.