higroni/assertiongen-private-mvp
AssertionGen Private MVP
Private Hugging Face Space for the full AssertionGen legal conflict detection MVP.
This Space is intentionally designed as a private deployment. It includes the full SQLite assertion database, the local rule/retrieval pipeline, and the trained pair scoring stack used by the local demo.
What Runs Here
- Paste or upload a proposal text (
.txt,.docx, textual.pdf). - Preprocess and latinize the proposal text.
- Run retrieval against
legal_assertions.db. - Apply rule-based conflict logic.
- Score candidate pairs with the trained TF-IDF + BERTic stack.
- Optionally run LLM verification for candidates if
OPENAI_API_KEYis provided as a Space secret. - Store analysis runs and feedback in
ui_analyses.db.
External Private Model
The SQLite assertion database is stored in the private Space bundle. The BERTic pair model is stored separately in a private model repo to keep the Space under repository storage limits:
PAIR_BERT_MODEL_REPO=higroni/assertiongen-pair-bertic-evidence-v0.1Set HF_TOKEN as a Space secret so the Space can download that private model at startup.
Private Data Notice
Do not make this Space public unless the assertion database, UI history, and any uploaded proposal texts have been reviewed and cleared for publication.
This system is a decision-support prototype and is not legal advice.
