Alibaba Cloud, the digital technology and intelligence backbone of Alibaba Group, announced its latest contribution to the open-source community by open-sourcing its 7-billion-parameter Large Language Models (LLMs), Qwen-7B and Qwen-7B-Chat. This was done through its AI model community ModelScope and the collaborative AI platform Hugging Face.
Alibaba Cloud introduced its proprietary LLM, Tongyi Qianwen, earlier this year in April. This cutting-edge model, capable of generating human-like content in both Chinese and English, has different model sizes, including 7 billion and above parameters. This time, the open-source release includes the pretrained 7-billion-parameter model Qwen-7B and its conversationally fine-tuned version Qwen-7B-Chat.
In an effort to democratize AI technologies, the models’ code, model weights and documentation will be freely accessible to academics, researchers and commercial institutions worldwide. For commercial uses, the models will be free to use for companies with fewer than 100 million monthly active users. Programs with more users can request a license from Alibaba Cloud.
“By open-sourcing our proprietary large language models, we aim to promote inclusive technologies and enable more developers and SMEs to reap the benefits of generative AI,” said Jingren Zhou, CTO of Alibaba Cloud Intelligence. “As a determined long-term champion of open-source initiatives, we hope that this open approach can also bring collective wisdom to further help open-source communities thrive.”
The Qwen-7B was pretrained on more than 2 trillion tokens, including Chinese, English and other multilingual materials, code and mathematics, covering general and professional fields. Its context length reaches 8K. In training, the Qwen-7B-Chat model was aligned with human instructions. Both Qwen-7B and Qwen-7B-Chat models can be deployed on cloud and on-premises infrastructures. This enables users to fine-tune the models and build their own high-quality generative models effectively and cost-efficiently.
The pretrained Qwen-7B model distinguished itself in the Massive Multi-task Language Understanding (MMLU) benchmark, scoring a notable 56.7, outperforming other major pretrained open-source models with similar scales or even some larger-size models. This benchmark assesses a text model’s multitask accuracy across 57 varied tasks, encompassing fields such as elementary mathematics, computer science and law.
Moreover, Qwen-7B achieved the highest score among models with equivalent parameters in the leaderboard of C-Eval, a comprehensive Chinese evaluation suite for foundational models. It covers 52 subjects in four major specialties, including humanities, social sciences and STEM. Additionally, Qwen-7B reached outstanding performance on benchmarks of mathematics and code generation, such as GSM8K and HumanEval.
In July, Alibaba Cloud also introduced its AI image generator, Tongyi Wanxiang, which was designed to support developers and SMEs in their creative image expression. The cloud pioneer also unveiled ModelScopeGPT, a versatile framework designed to assist users in performing complex and specialized AI tasks across language, vision and speech domains by leveraging various AI models on ModelScope. Launched by Alibaba Cloud last year, ModelScope is an open-source AI model community, currently featuring more than 1,000 AI models contributed by 20 leading AI institutes.
For more information, please check out the details of Qwen-7B and Qwen-7B-Chat on ModelScope, Hugging Face and GitHub pages.