git clone https://github.com/pytorch/fairseq.git cd fairseq pip install -r requirements.txt python setup.py build develop