Alibaba has just released the highly anticipated and powerful Qwen1.5 series, a beta version of Qwen2. As the improved version of Qwen, the series spans 6 model sizes, including the largest open-source Qwen1.5-72B-Chat model. In this article, we will delve into the exciting features of Qwen1.5 and how it surpasses other models like Claude 2.1, GPT-3.5 Turbo, Llama2 series (7B to 70B), Mistral 7B, Mixtral 8X7B, etc. with record-breaking performance on multiple benchmarks. So, let’s dive in and explore the world of Qwen1.5!
???? Qwen's latest open source work, Qwen1.5, says hello to the world !!
— Binyuan Hui (@huybery) February 5, 2024
???????? More sizes: six sizes for your different needs. 0.5B, 1.8B, 4B, 7B, 14B and 72B, including Base and Chat.
???????? Better alignment: despite still trailing behind GPT-4-Turbo, the largest open-source… pic.twitter.com/u82vpRYDBm
Table of Contents
- Qwen1.5 Enhanced Model Sizes for Every Need
- Alibaba Qwen1.5 Surpassing Claude 2.1 and GPT-3.5 Turbo
- Key Features of Qwen1.5
- Alibaba Qwen1.5 Series vs Meta Llama2 Series
- Qwen1.5 Base Models (Under 7B) vs Leading Small-Scale Models
- Alibaba Qwen1.5-72B-Chat Demo on HuggingFace
- Collaborations and Support from Leading Frameworks
- Qwen1.5 is Accessible Through HuggingFace Transformers Library
- More Ways to Get Started
- Qwen1.5: The Next Step Towards a “Good” Model
Qwen1.5 Enhanced Model Sizes for Every Need
Qwen1.5 offers a range of model sizes to cater to different requirements. The six available sizes include 0.5B, 1.8B, 4B, 7B, 14B, and a whopping 72B. These models come in both base and chat variants, giving you the flexibility to choose according to your specific use case.
Alibaba Qwen1.5 Surpassing Claude 2.1 and GPT-3.5 Turbo
A key focus of the Qwen1.5 release has been further aligning the chat models with human preferences and strengthening their instruction-following abilities. To evaluate this, the research team tested the new models on the popular MT-Bench and Alpaca-Eval platforms, which utilize other powerful LLMs as judges to rate responses. Here, the largest Qwen1.5 chat model, known as Qwen1.5-72B-Chat, outperformed other leading conversational models, including Claude 2.1 and GPT-3.5 Turbo, according to both benchmarks.
Key Features of Qwen1.5
1. Expanded Multilingual Capabilities
Multilingual understanding was another clear strength demonstrated in the Qwen1.5 release. Tests were conducted evaluating the models’ abilities in a diverse set of 12 global languages including European languages, Chinese, Japanese, Korean, and Southeast Asian languages like Vietnamese and Thai. Qwen1.5 displayed strong cross-lingual performance on exams, translation, and math problem tasks involving these many tongues.
2. Support for Long Contexts
As natural language interfaces continue incorporating longer contexts and richer media like images, video, and code, LLMs will need to understand and generate responses spanning greater lengths and modalities. To this end, all Qwen1.5 variants now support context lengths up to an impressive 32,768 tokens, according to the researchers. Evaluation of the L-Eval benchmark also found Qwen1.5 chat models performing competitively against giants like GPT-3.5 when dealing with longer prompts and dialogue histories.
3. Strengths Across Various Applications
Beyond enhancing core language skills, the Qwen1.5 series aims to serve as versatile AI building blocks for various applications. As such, the research team conducted in-depth tests examining each model’s abilities in areas like retrieval-augmented generation, multi-modal understanding, code execution, and serving as an intelligent conversational agent. Here Qwen1.5 generally matched and outperformed comparably sized competitors.
Alibaba Qwen1.5 Series vs Meta Llama2 Series
On the multilingual understanding benchmark MMLU, all sizes of Qwen1.5 outperform Llama2 models from 7B to 70B, as well as Mistral 7B and Mixtral 8x7B. For evaluating logical reasoning using the C-Eval dataset and math problem-solving Math-8K benchmark, Qwen1.5 models score higher than counterparts from Llama2. Moreover, Qwen1.5 consistently ranks atop Llama2 and Mistral models in other standard benchmarks like GS8k, HumanEval and MBPP. In particular, Qwen1.5-72B outperforms Llama2-70B across all benchmarks, showcasing its exceptional capabilities in language understanding, reasoning, and math.
Qwen1.5 Base Models (Under 7B) vs Leading Small-Scale Models
Qwen1.5 sizes of 0.5B, 1.8B, and 4B are compared against other prominent small models on the MMLU, C-Eval and other benchmarks that measure core language skills. The results show that even at only 0.5B parameters, Qwen1.5-0.5B achieves scores on par or above other small models such as TinyLLMA-1.1B and Gemin-Nano-3B. Meanwhile, Qwen1.5-1.8B and Qwen1.5-4B scores exceed those of models like StableLM-Zephyr-3B and Phi-2.2B, which have billions more parameters. This directly demonstrates the competitiveness of Qwen1.5 base models under 7B compared to state-of-the-art small LLMs.
Alibaba Qwen1.5-72B-Chat Demo on HuggingFace
Here are the steps to get started with the Qwen1.5-72B-Chat Demo on HuggingFace:
Step 1: Access the Qwen1.5-72B-Chat demo
Visit the Qwen1.5-72B-Chat Demo on Hugging Face Space by visiting the following link:
Demo Link: https://huggingface.co/spaces/Qwen/Qwen1.5-72B-Chat
Step 2: Type Your Message
Once you’re on the Qwen1.5-72B-Chat interface, locate the input field where you can type your message or query.
Step 3: Click on Send
After typing your message, click on the “Send” button to submit your query to the chatbot.
Step 4: Await Response
The chatbot will process your query and generate a response based on its training within seconds.
Step 5: Experiment with Prompts
Feel free to experiment with different prompts or questions to see how the chatbot responds. You can ask it about various topics or engage in a conversation.
Step 6: Clear Chat History
Once you’re done interacting with the chatbot, you have the option to clear the chat history.
Collaborations and Support from Leading Frameworks
Alibaba has collaborated with several frameworks to ensure the seamless deployment and utilization of Qwen1.5. Frameworks like vLLM and SGLang provide support for deployment, while AutoAWQ and AutoGPTQ assist in quantization. Axolotl, LLaMA-Factory, and llama.cpp contributes to the finetuning and local LLM inference capabilities. These collaborations ensure that Qwen1.5 is well-supported and can be easily integrated into existing workflows.
Qwen1.5 is Accessible Through HuggingFace Transformers Library
From a usability perspective, one of the biggest upgrades in Qwen1.5 is the full integration of all models directly into the popular HuggingFace Transformers library. This newfound compatibility makes the Qwen family of LLMs instantly accessible to any AI practitioner or researcher used to working with Transformers models, eliminating the need for custom code. The code snippet on how to use the chat model with transformers is available on GitHub.
More Ways to Get Started
Qwen1.5 offers a multitude of options for users to explore its capabilities. You can run Qwen1.5 locally using llama.cpp, Ollama or LMStudio. Furthermore, you can directly use text-generation-webui. If you require more advanced functionality, you can deploy Qwen1.5 using frameworks such as vLLM and SGLang. Plus, you can access the full Qwen1.5 series on DashScope and Together via APIs. You can get full information on these integrations on GitHub repo for Qwen1.5 and HuggingFace.
Qwen1.5: The Next Step Towards a “Good” Model
Alibaba Qwen team has been dedicated to creating a truly “good” model, and Qwen1.5 represents another step forward in that journey. With improvements in base language model quality and alignment with human preferences, Qwen1.5 aims to provide a language model that not only performs well but also understands and generates text that resonates with users. For more information, please visit the official blog post on Qwen1.5.
| Also Read: Dreamoving by Alibaba Just Released its Demo on HuggingFace






