alanie/contract_red_flag_scanner
0
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
- Visit the application URL
- Paste your contract text into the input field
- Click "Scan Contract"
- 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
# Install dependencies
pip install -r requirements.txt
# Run the application
python -m contract_red_flag_scanner.mainVisit http://127.0.0.1:5000 in your browser.
Requirements
- Python 3.8+
- See
requirements.txtfor package dependencies
License
MIT License
