For equal rights, everyone should have equal access to legal information.
A chatbot giving easy to digest answers to law questions
- Free for everyone to use
- With paragraph references to prevent disinformation
The scope of this project is limited to tenancy law in Germany for now.
Current topics covered:
- Contract termination
- Deposit
Submit sample questions about tenancy law to train Legalpha using this form.
You can also contribute to the tasks regarding the following topics:
- Data collection
- Legal research
- ML / NLP
- Frontend Development
- Backend Development
To contribute, please contact me here.
- Docker
- Docker Compose
- Clone the repository
- Run
docker compose upin the root directory - Open
localhost:8000in your browser
docker compose up with respective commands.
- Tune hyperparameters:
python main.py --tune --model-name <MODEL_NAME> --tune-iters <ITERS> --tune-cv-folds <FOLDS> - Test the model with default parameters:
python main.py --test --model-name <MODEL_NAME> --test-size <TEST_FRACTION> --test-sampling <SAMPLING_STRATEGY> - Train and save the model with default parameters:
python main.py --train


