Clone the repository. Using a python environment manager of your choice, install the requirements from requirements.txt
, e.g.
git clone git@github.com:[username]/distributed-legal-mail-assistant.git
cd distributed-legal-mail-assistant
conda create -n email-paralegal python=3.9
conda activate email-paralegal
pip install -r requirements.txt
So far, only inference on a pretrained model is supported. To run the UI and perform classifications on emails, run
streamlit run source/client/run.py -- --server-ip 0.0.0.0 --server-port 0000
Note: --server-ip
and --server-port
have no purpose yet.
To run the model on all exisiting test data, simply run
python -m utils.testing -d data
Each email is stored as a separate file in data
, and admits the following format:
[comma separated list of true labels]
multi
line
email