Download and install setfit by running:
setfit
python -m pip install setfit
If you want the bleeding-edge version, install from source by running:
python -m pip install git+https://github.com/huggingface/setfit.git