Home > Technology peripherals > AI > body text

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

WBOY
Release: 2024-02-07 22:15:02
forward
1060 people have browsed it

Before the Spring Festival, version 1.5 of Tongyi Qianwen Model (Qwen) is online. This morning, news of the new version sparked concern in the AI ​​community.

The new version of the large model includes six model sizes: 0.5B, 1.8B, 4B, 7B, 14B and 72B. Among them, the performance of the strongest version surpasses GPT 3.5 and Mistral-Medium. This version includes Base model and Chat model, and provides multi-language support.

The Alibaba Tongyi Qianwen team stated that the relevant technology has also been launched on the Tongyi Qianwen official website and Tongyi Qianwen App.

In addition, today’s release of Qwen 1.5 also has the following highlights:

  • Supports 32K context length;
  • Opened the checkpoint of the Base Chat model;
  • Can be run locally with Transformers;
  • Released at the same time GPTQ Int-4/Int8, AWQ and GGUF weights.

By using more advanced large-scale models as judges, the Tongyi Qianwen team performed on Qwen1.5 on two widely used benchmarks, MT-Bench and Alpaca-Eval. made a preliminary assessment. The evaluation results are as follows:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

##Although the Qwen1.5-72B-Chat model lags behind GPT-4-Turbo, it performs better in MT-Bench and In tests on Alpaca-Eval v2, it showed impressive performance. In fact, Qwen1.5-72B-Chat surpasses Claude-2.1, GPT-3.5-Turbo-0613, Mixtral-8x7b-instruct and TULU 2 DPO 70B in performance, and is comparable to the Mistral Medium model that has attracted much attention recently. Comparable. This shows that the Qwen1.5-72B-Chat model has considerable strength in natural language processing.

Tongyi Qianwen team pointed out that although the score of the large model may be related to the length of the answer, human observations show that Qwen1.5 does not suffer from excessively long answers. Impact rating. According to AlpacaEval 2.0 data, the average length of Qwen1.5-Chat is 1618, which is the same length as GPT-4 and shorter than GPT-4-Turbo.

The developers of Tongyi Qianwen said that in recent months, they have been committed to building an excellent model and continuously improving the developer experience.

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Compared with previous versions, this update focuses on improving the alignment of the Chat model with human preferences, and significantly enhances the model's multi-language processing power. In terms of sequence length, all scale models have implemented context length range support of 32768 tokens. At the same time, the quality of the pre-trained Base model has also been keyly optimized, which is expected to provide people with a better experience during the fine-tuning process.

Basic capabilities

Regarding the evaluation of the basic capabilities of the model, the Tongyi Qianwen team conducted MMLU (5-shot), C-Eval, Qwen1.5 was evaluated on benchmark data sets such as Humaneval, GS8K, and BBH.

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Under different model sizes, Qwen1.5 showed strong performance in the evaluation benchmarks, and the 72B version performed well in all benchmarks. Beyond Llama2-70B, it demonstrated its capabilities in language understanding, reasoning, and mathematics.

In recent times, the construction of small models has been one of the hot spots in the industry. The Tongyi Qianwen team has compared the Qwen1.5 model with model parameters less than 7 billion with important small models in the community. Comparison:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Qwen1.5 is highly competitive with industry-leading small models in the parameter size range below 7 billion force.

Multi-language capabilities

The Tongyi Qianwen team evaluated the Base model on 12 different languages ​​from Europe, East Asia, and Southeast Asia multilingual capabilities. From the public data set of the open source community, Alibaba researchers constructed the evaluation set shown in the following table, covering four different dimensions: examination, comprehension, translation, and mathematics. The table below provides details for each test set, including its evaluation configuration, evaluation metrics, and the specific languages ​​involved.

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

The detailed results are as follows:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

The above results show that the Qwen1.5 Base model performs well in multilingual capabilities in 12 different languages, and shows good performance in the evaluation of various dimensions such as subject knowledge, language understanding, translation, and mathematics. result. Furthermore, with regard to the multilingual capabilities of the Chat model, the following results can be observed:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Long sequence

As the demand for long sequence understanding continues to increase, Alibaba has improved the corresponding capabilities of the Qianwen model in the new version. The full series of Qwen1.5 models support the context of 32K tokens. The Tongyi Qianwen team evaluated the performance of the Qwen1.5 model on the L-Eval benchmark, which measures a model's ability to generate responses based on long context. The results are as follows:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

From the results, even a small-scale model like Qwen1.5-7B-Chat can show the same performance as GPT -3.5 Comparable performance, while the largest model, Qwen1.5-72B-Chat, is only slightly behind GPT4-32k.

It is worth mentioning that the above results only show the effect of Qwen 1.5 under the length of 32K tokens, and it does not mean that the model can only support a maximum length of 32K. Developers can try to modify max_position_embedding in config.json to a larger value to observe whether the model can achieve satisfactory results in longer context understanding scenarios.

Linking external systems

Nowadays, one of the charms of general language models lies in their potential ability to interface with external systems. As a rapidly emerging task in the community, RAG effectively addresses some of the typical challenges faced by large language models, such as hallucinations and the inability to obtain real-time updates or private data. In addition, language models demonstrate powerful capabilities in using APIs and writing code based on instructions and examples. Large models can use code interpreters or act as AI agents to achieve broader value.

The Tongyi Qianwen team evaluated the end-to-end effect of the Qwen1.5 series Chat model on the RAG task. The evaluation is based on the RGB test set, which is a set used for Chinese and English RAG evaluation:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Then, pass The Yiqianwen team evaluated Qwen1.5's ability to run as a general-purpose agent in the T-Eval benchmark. All Qwen1.5 models are not optimized specifically for the benchmark:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

##In order to test the tool calling ability, Ali Use your own open source evaluation benchmark to test the model's ability to correctly select and call tools. The results are as follows:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

Finally, since the Python code interpreter has become an advanced LLM is an increasingly powerful tool. The Tongyi Qianwen team also evaluated the new model's ability to utilize this tool based on previous open source evaluation benchmarks:

Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5

The results show that the larger Qwen1.5-Chat model generally outperforms the smaller model, with Qwen1.5-72B-Chat approaching GPT-4 tool performance. However, in code interpreter tasks such as mathematical problem solving and visualization, even the largest Qwen1.5-72B-Chat model lags significantly behind GPT-4 in terms of coding ability. Ali stated that it will improve the coding capabilities of all Qwen models during the pre-training and alignment process in future versions.

Qwen1.5 is integrated with the HuggingFace transformers code base. Starting from version 4.37.0, developers can directly use the transformers library native code without loading any custom code (specifying the trust_remote_code option) to use Qwen1.5.

In the open source ecosystem, Alibaba has cooperated with vLLM, SGLang (for deployment), AutoAWQ, AutoGPTQ (for quantification), Axolotl, LLaMA-Factory (for fine-tuning) and llama.cpp (for local LLM inference) and other frameworks, all of which now support Qwen1.5. The Qwen1.5 series is also currently available on platforms such as Ollama and LMStudio.

The above is the detailed content of Tongyi Qianwen is open source again, Qwen1.5 brings six volume models, and its performance exceeds GPT3.5. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:51cto.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!