Qwen1.5/docs/source/getting_started/installation.rst

32 lines
700 B
ReStructuredText

Installation
============
To get a quick start with Qwen1.5, you can install the ``transformers``
library from Hugging Face and use models in the `Qwen1.5
collection <https://huggingface.co/collections/Qwen/qwen15-65c0a2f577b1ecb76d786524>`__.
We advise you to install the latest ``transformers`` or at least version
4.37.0.
Install with Pip
~~~~~~~~~~~~~~~~
.. code:: bash
pip install transformers -U
Install with Conda
~~~~~~~~~~~~~~~~~~
.. code:: bash
conda install conda-forge::transformers
Install from Source
~~~~~~~~~~~~~~~~~~~
.. code:: bash
pip install git+https://github.com/huggingface/transformers
We advise you to use Python 3.8 or higher, and Pytorch 2.0 or higher.