Qwen-7B-Chat

Maintained By
Qwen

Qwen-7B-Chat

PropertyValue
Parameter Count7.72B
Context Length8192 tokens
LicenseTongyi Qianwen License Agreement
PaperarXiv:2309.16609

What is Qwen-7B-Chat?

Qwen-7B-Chat is an advanced language model developed by Alibaba Cloud, featuring 7.72B parameters and optimized for both Chinese and English language tasks. The model builds upon the Transformer architecture and incorporates modern improvements like RoPE position encoding, SwiGLU activation, and RMSNorm, with optional flash-attention acceleration.

Implementation Details

The model architecture consists of 32 layers, 32 attention heads, and a model dimension of 4096. It utilizes a vocabulary of 151,851 tokens, making it particularly effective for both Chinese and English content. The model supports BF16 precision and includes optional features like NTK interpolation and LogN attention scaling for extended context handling.

  • Advanced architecture with flash-attention 2 support
  • Optimized tokenizer for Chinese and English
  • 8K context window with extension capabilities
  • Multiple precision options including Int4 quantization

Core Capabilities

  • Strong performance in MMLU (55.8%) and C-Eval (59.7%)
  • Exceptional code generation with 37.2% pass@1 on HumanEval
  • Advanced tool usage and reasoning capabilities
  • Mathematics problem solving (50.3% accuracy on GSM8K)
  • Support for ReAct prompting and HuggingFace Agents

Frequently Asked Questions

Q: What makes this model unique?

Qwen-7B-Chat stands out for its balanced performance across multiple domains, particularly excelling in tool usage and code generation. It offers competitive performance compared to larger models while maintaining efficiency through quantization options.

Q: What are the recommended use cases?

The model is well-suited for bilingual applications, coding assistance, mathematical problem-solving, and tool-based interactions. It's particularly effective for scenarios requiring both Chinese and English language understanding.

The first platform built for prompt engineering