============ Installation ============ .. contents:: :local: Cloning From GitHub ~~~~~~~~~~~~~~~~~~~ If you just want to use fastNLP, use: .. code:: shell git clone https://github.com/fastnlp/fastNLP cd fastNLP PyTorch Installation ~~~~~~~~~~~~~~~~~~~~ Visit the [PyTorch official website] for installation instructions based on your system. In general, you could use: .. code:: shell # using conda conda install pytorch torchvision -c pytorch # or using pip pip3 install torch torchvision