Spaces:
Sleeping
Sleeping
| license: apache-2.0 | |
| title: 'SYNCLM: AI Contract Intelligence Demo' | |
| sdk: gradio | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: indigo | |
| thumbnail: >- | |
| https://cdn-uploads.huggingface.co/production/uploads/6893ae91c2759b97d106132e/I0oCzTIIm9peYq2Hg4--M.png | |
| short_description: 'AI-powered contract analysis: summary, metadata, clause risk' | |
| pinned: true | |
| <p align="center"> | |
| <img src="https://huggingface.co/SCBconsulting/synclm-demo/resolve/main/SYNCLM%20LOGO%20-%20thumbnail.png" alt="SYNCLM Logo" width="200"/> | |
| </p> | |
| --- | |
| license: mit | |
| title: 'SYNCLM: AI Contract Intelligence Demo' | |
| sdk: gradio | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: indigo | |
| thumbnail: >- | |
| https://cdn-uploads.huggingface.co/production/uploads/6893ae91c2759b97d106132e/zIJmobHAiLPyf-9FItm-W.png | |
| short_description: 'AI-powered contract analysis: summary, metadata, clause risk' | |
| --- | |
| # π€ SYNCLM β AI Contract Intelligence Demo | |
| --- | |
| license: mit | |
| title: 'SYNCLM: AI Contract Intelligence Demo' | |
| sdk: gradio | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: indigo | |
| thumbnail: >- | |
| https://cdn-uploads.huggingface.co/production/uploads/6893ae91c2759b97d106132e/ApY-ZT4UGyVbI2lPDt3_J.png | |
| short_description: 'AI-powered contract analysis: summary, metadata, clause risk' | |
| --- | |
| # SYNCLM β AI Contract Intelligence Demo π€π | |
| # π€ SYNCLM β AI Contract Intelligence Demo | |
| An interactive legal tech prototype that showcases intelligent contract review using open-source models from Hugging Face. | |
| ### π Features | |
| - Upload legal documents (.pdf, .docx, .txt) | |
| - Executive summarization (EN) | |
| - Metadata extraction using NER (Named Entity Recognition) | |
| - Clause risk detection (rule-based) | |
| - Fallback clause suggestions (semantic similarity) | |
| - Real-time translation (EN β PT via Unicamp-dl) | |
| ## π§ Models Used | |
| | Task | Model Used | | |
| |-------------------|---------------------------------------------------------| | |
| | Summarization | `facebook/bart-large-cnn` | | |
| | Metadata (NER) | `pierreguillou/ner-legal-ptbr-electra-small` | | |
| | Risk Detection | Custom classifier (fine-tuned LegalBERT) | | |
| | Translation | `unicamp-dl/translation-en-pt-t5` | | |
| > All models sourced from [Hugging Face](https://huggingface.co/models) | |
| ## π Run Locally | |
| Install dependencies: | |
| ```bash | |
| pip install -r requirements.txt | |
| --- | |
| ### βοΈ Built With | |
| `Gradio` β’ `Transformers` β’ `Sentence Transformers` β’ `nltk` β’ `spaCy` β’ `pdfplumber` β’ `python-docx` β’ `sentencepiece` β’ `torch` β’ `dateparser` | |
| --- | |
| ### π©βπ» Creator | |
| **Sabrina Colirri** | [SCB Consulting](https://huggingface.co/SCBconsulting) |