/prodigy-scratch

Prodigy thing(z)

Primary LanguagePython

If you don’t have homebrew, install it:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then install python3 and virtualenv:

brew install python3
sudo easy_install pip
sudo pip install --upgrade virtualenv 

create a virtualenv with Python3 inside of the root project folder, and activate the environment:

virtualenv --system-site-packages -p python3 ./
source ./bin/activate 
pip install -r requirements.txt
python -m spacy download en

Then install your prodigy whl from file

pip install ./prodigy-[etc-your-file].whl

Finally, run one of the examples from the project root:

sh recipes/textcat_attention_weights.sh