CoolFace
Apppublic

alanie/contract_red_flag_scanner

sourceHugging Facemitupdated 8mo agoView on Hugging Face
0likes
App README

Contract Red Flag Scanner

A web application that uses BERT-based NLP to scan contracts and identify potential red flag clauses.

Features

  • โ€”๐Ÿ“„ Upload and analyze contract text
  • โ€”๐Ÿค– AI-powered red flag detection using BERT
  • โ€”๐ŸŽฏ Identify problematic clauses automatically
  • โ€”๐ŸŒ User-friendly web interface

How It Works

This application uses a fine-tuned BERT model to analyze contract text and identify clauses that may require special attention or legal review.

Usage

  1. 1.Visit the application URL
  2. 2.Paste your contract text into the input field
  3. 3.Click "Scan Contract"
  4. 4.Review the identified red flag clauses

Technology Stack

  • โ€”Backend: Flask 3.0+
  • โ€”ML Model: BERT (Transformers 4.30+)
  • โ€”Deep Learning: PyTorch 2.0+
  • โ€”Frontend: HTML/CSS with Jinja2 templates

Local Development

bash
# Install dependencies
pip install -r requirements.txt

# Run the application
python -m contract_red_flag_scanner.main

Visit http://127.0.0.1:5000 in your browser.

Requirements

  • โ€”Python 3.8+
  • โ€”See requirements.txt for package dependencies

License

MIT License