pip install lossers # or install from source pip install git+https://github.com/JiauZhang/lossers.git