Legislation summarization tool for the Minnesota State Legislature
Bill Nom works by digesting the full text of legal documents to produce a short description about the document. The model is trained on a set of proposed bills in the Minnesota Legislature from 2023. The natural language processor powering Bill Nom is small compared to many language models, at 230 MB, it can run easily with on the cpu of almost any computer.
NLP model is using the T5 model from Google, imported from Huggingface, fine-tuned on legislative language from documents obtained from the MN Revisor's Office. Front-end built using Dash by Plotly. API is in Python.
- Clone this repository.
- Download this google drive folder containing trained model parameters and place in repository root: https://drive.google.com/drive/folders/12s68kMjyljFiOUbFrET-qAL5ylomzC2_?usp=share_link
- pipenv shell (need to have pipenv installed)
- python manage.py runserver
- Eike Aikenfell (aikenfell) - Data mining & web scraping
- August Heen (aaheen) - API, front end
- Ling Long (tardism) - API, front end, Android app
- Aaron Mead (ronofays) - NLP, API
- https://huggingface.co/
- https://beautiful-soup-4.readthedocs.io/en/latest/
- https://dash.plotly.com/
- https://huggingface.co/
- https://github.com/karpathy/nanoGPT
- https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html
- https://arxiv.org/pdf/1706.03762.pdf