Instructions

Clone this repo:

git clone https://github.com/wesslen/sentiment-tripadvisor-llm.git

Install

Set up a virtual environment

python3.9 -m venv venv
source venv/bin/activate
python -m pip install -r requirements.txt

Be sure to install Prodigy using your local key.

Data Preprocessing

Rerun full jupyter notebook.

Prodigy LLM label

python -m prodigy textcat.llm.fetch config.cfg data/output.jsonl data/sentiment-gpt3-annotated.jsonl