immohann / legal-summarizer

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

Home Page:https://hub.docker.com/r/immohannn/sux/tags

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://hub.docker.com/r/immohannn/sux/tags


Languages

Language:Jupyter Notebook 95.6%Language:HTML 1.4%Language:CSS 1.2%Language:Python 1.2%Language:Dockerfile 0.6%