|
12345678910111213141516171819202122232425262728293031 |
- ============
- 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
|