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. We advise you to install the latest transformers or at least version 4.37.0.

Install with Pip

pip install transformers -U

Install with Conda

conda install conda-forge::transformers

Install from Source

pip install git+https://github.com/huggingface/transformers

We advise you to use Python 3.8 or higher, and Pytorch 2.0 or higher.