Skip to content

Learn with AI is a AI system made using free ML environment, leveraging language models and ChatGPT APIs to extract insights from YouTube videos, and empowering yourself to learn faster and more efficiently like never before!

Notifications You must be signed in to change notification settings

ReejoJoseph1244/AI-System-learn-with-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

AI-System-learn-with-AI

Learn with AI is a AI system made using free ML environment, leveraging language models and ChatGPT APIs to extract insights from YouTube videos, and empowering yourself to learn faster and more efficiently like never before!

Usage :

  1. Get transcript
  2. Translate the transcript to 30+ languages
  3. Get Summary of the transcript using Hugging-face and ChatGPT.
  4. Save 70% of watching the youtube video's.

WorkFlow

Workflow Diagram

Code Run (Ouput in SageMaker Lab)

  1. Install and import all the Libraries required
!pip install python-dotenv
!pip install openai
!pip install youtube_dl
!pip install youtube_transcript_api
!pip install torchaudio
!pip install sentencepiece
!pip install sacremoses
!pip install transformers
import re
from youtube_transcript_api import YouTubeTranscriptApi
import torch
import torchaudio
import openai
import textwrap
from transformers import pipeline
  1. Getting the Transcript of the Youtube Video output1 output2

The transcript obtain is of : 5403 Words, 26310 Characters

  1. We can get the transcript converted to any language with the help of various ML models available in Hugging-face. remember to change the check point according to your preference language.

    model_checkpoint = "Helsinki-NLP/opus-mt-en-es"
    translator = pipeline("translation", model=model_checkpoint)
    

    ouput3

  2. Now Lets get the summary of the transcript obtained using Opensource ML models available in Hugging-Face. And the Summarized text has only 2259 Words ie Almost 50% summarized.

    ouput4

About

Learn with AI is a AI system made using free ML environment, leveraging language models and ChatGPT APIs to extract insights from YouTube videos, and empowering yourself to learn faster and more efficiently like never before!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages