Skip to content

This web application, built using Flask, utilizes the Llama2 text summarization tool to provide concise summaries of text inputs. Users can input paragraphs or articles, and the application processes the text to generate a summary, offering a quick and effective way to digest large amounts of information.

Notifications You must be signed in to change notification settings

FiziQaiser/AI-Text-Summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Text Summarization Web Application using LLaMA2 and Flask

This web application uses the LLaMA2 model for text summarization and Flask as the web framework for users to input text and get a summary.

Installation

  1. Install the required packages:
pip install -q transformers einops accelerate langchain bitsandbytes
!huggingface-cli login
!pip install sentencepiece
pip install langchain_community
  1. Run the Flask app:
python app.py
  1. Access the web application at the provided URL (usually http://localhost:5000/).

Usage

  1. Enter a paragraph of text into the input field.
  2. Click the "Summary" button to generate a summary.
  3. The output summary will be displayed in the table below the input field.

Dependencies

  • Transformers
  • Einops
  • Accelerate
  • Langchain
  • Bitsandbytes
  • Sentencepiece

About

This web application, built using Flask, utilizes the Llama2 text summarization tool to provide concise summaries of text inputs. Users can input paragraphs or articles, and the application processes the text to generate a summary, offering a quick and effective way to digest large amounts of information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published