Email address classification using LLM.
Please read the corresponding blog post with background at https://analytix.nl/post/running-a-self-hosted-llm-for-email-classification/
Tested with Python 3.11.9
Take the following steps to run the code:
- git checkout https://github.com/kemperd/email-classification
- conda create -n email-classification python=3.11.9
- conda activate email-classification
- pip install -r requirements.txt
- python server.py
- Wait until server has fully started. This takes some time due to downloading models at the first run.
- Switch to another terminal and run: python client.py
- Output is written to output.csv