Skip to content

A abstractive text summarizer designed in Pytorch to summarize complex Terms and Conditions articles. Leveraging the T5-Small language model, it accurately condenses legal documents into concise summaries. Deployed using Flask scaled using Docker

Notifications You must be signed in to change notification settings

immohann/legal-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

legal-summarizer

Docker Flask Hugging Face

This is a Flask application that utilizes the Transformers library for text summarization. A abstractive text summarizer specifically designed to summarize complex Terms and Conditions article.

Prerequisites

  • Python 3.9.2
  • pip

Installation

  1. Clone the repository:

    git clone https://github.com/immohann/legal-summarizer.git
    
  2. Navigate to the project directory:

    cd legal-summarizer
    
  3. Install requirements

    pip install -r requirements.txt
    
  4. Start the Flask application:

    python app.py
    

Using Docker

You can also run the application using Docker. Follow these steps:

  1. Pull the Docker image:
    docker pull immohannn/sux:latest
  2. Run the container:
    docker run -d -p 5000:5000 immohannn/sux
  3. Access the application:
    http://localhost:5000   
    

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

About

A abstractive text summarizer designed in Pytorch to summarize complex Terms and Conditions articles. Leveraging the T5-Small language model, it accurately condenses legal documents into concise summaries. Deployed using Flask scaled using Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published