Qwen2 is the new series of Qwen large language models. For Qwen2, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters, including a Mixture-of-Experts model. This repo contains the 0.5B Qwen2 base language model.
Compared with the state-of-the-art opensource language models, including the previous released Qwen1.5, Qwen2 has generally surpassed most opensource models and demonstrated competitiveness against proprietary models across a series of benchmarks targeting for language understanding, language generation, multilingual capability, coding, mathematics, reasoning, etc.
Qwen2 is a language model series including decoder language models of different model sizes. For each size, we release the base language model and the aligned chat model. It is based on the Transformer architecture with SwiGLU activation, attention QKV bias, group query attention, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes.
Requirements
The code of Qwen2 has been in the latest Hugging face transformers and we advise you to install
transformers>=4.37.0
, or you might encounter the following error:
KeyError: 'qwen2'
Usage
We do not advise you to use base language models for text generation. Instead, you can apply post-training, e.g., SFT, RLHF, continued pretraining, etc., on this model.
Performance
The evaluation of base models mainly focuses on the model performance of natural language understanding, general question answering, coding, mathematics, scientific knowledge, reasoning, multilingual capability, etc.
Qwen2-0.5B huggingface.co is an AI model on huggingface.co that provides Qwen2-0.5B's model effect (), which can be used instantly with this Qwen Qwen2-0.5B model. huggingface.co supports a free trial of the Qwen2-0.5B model, and also provides paid use of the Qwen2-0.5B. Support call Qwen2-0.5B model through api, including Node.js, Python, http.
Qwen2-0.5B huggingface.co is an online trial and call api platform, which integrates Qwen2-0.5B's modeling effects, including api services, and provides a free online trial of Qwen2-0.5B, you can try Qwen2-0.5B online for free by clicking the link below.
Qwen Qwen2-0.5B online free url in huggingface.co:
Qwen2-0.5B is an open source model from GitHub that offers a free installation service, and any user can find Qwen2-0.5B on GitHub to install. At the same time, huggingface.co provides the effect of Qwen2-0.5B install, users can directly use Qwen2-0.5B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.