Skip to content

byramsubramanian/yt-video-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Video Summarizer

Overview

  • yt-video-summarizer-gemma2b.ipynb: This jupyter notebook downloads and summarizes the transcript of a youtube video using Google Gemma's 2 billion parameters model running locally. Gemma is a new set of lightweight open models built by Google. Gemma was announced on Feb 21, 2024 (https://blog.google/technology/developers/gemma-open-models/) and is available in 2b and 7b parameter sizes.

Pre-requisites

Installation

  1. Clone this repository.
$ git clone https://github.com/byramsubramanian/yt-video-summarizer.git
$ cd yt-video-summarizer
  1. Set up & activate virtual environment.
$ python3 -m venv venv
$ source venv/bin/activate
  1. Install the required packages.
$ pip3 install -r requirements.txt
  1. Run Gemma 2B using Ollama (for yt-video-summarizer-gemma2b.ipynb)
$ ollama run gemma:2b

Usage

  1. Open the jupyter notebook using Visual Studio Code or Jupyter Lab / Notebook.
  2. Execute the cells to download the video transcript and summarize it using langchain and local LLM model.

About

Video Summarization Experiments with Open LLMs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published