Spaces:
Sleeping
Sleeping
File size: 2,702 Bytes
dcfe5d9 c0e178e dcfe5d9 72d8f3c dcfe5d9 94018cd 673f7ac 688885c 04a1838 688885c 673f7ac 688885c 04a1838 688885c 673f7ac 688885c 673f7ac 688885c 04a1838 688885c 04a1838 688885c 94018cd dcfe5d9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
---
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) |