Skip to content

This web app will understand the abstract concept & summarize a given PDF using LaMini-Flan-T5-248M Large Language Model built using Streamlit

Notifications You must be signed in to change notification settings

hith3sh/PDFInsight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configuring

First create a virtual environemnt.

python -m venv env

Use the requirements.txt file to pip install the necessary dependencies.

pip install -r requirements.txt

You would need to download and install git lfs and run in cmd to setup lfs

git lfs install 

Then clone the repository containing LaMini-Flan-T5-248M which is the LLM we're using.

git clone https://huggingface.co/MBZUAI/LaMini-Flan-T5-248M

Make sure that LaMini-Flan-T5-248M is in the same directory as the cloned project.

Running

Now to run the app , run the below code

streamlit run app.py

Upload a pdf file and see the summarization :) pdf summary

About

This web app will understand the abstract concept & summarize a given PDF using LaMini-Flan-T5-248M Large Language Model built using Streamlit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages