Installation ======================== OpenPrompt is tested on `Python 3.8 `_ and `Pytorch 1.9 `_. Currently, the pre-trained language models and tokenizers are loaded from `huggingface transformers `_. And OpenPrompt will support models and tokenizers implemented by other libraries in the future. .. note:: Please do not conduct the installation as a root user on your system Python. We recommend setup a `Anaconda or Miniconda `_ environment or create a `Docker image `_. Installation from GitHub ---------------------------- From our github repository, you can install the latest version of OpenPrompt. .. code-block:: bash git clone https://github.com/thunlp/OpenPrompt.git cd OpenPrompt python setup.py install Now the OpenPrompt package is installed, let's get started.