Parameters
14B
Context Length
131K
Modality
Text
Architecture
Dense
License
Apache 2.0
Release Date
19 Sept 2024
Knowledge Cutoff
-
VRAM requirements for different quantization methods and context sizes
1,024 tokens
Consumer
2x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
131,072 tokens
Consumer
3x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
Rank
#94
| Benchmark | Score | Rank |
|---|---|---|
General Knowledge | 0.797 | 22 |
Overall Rank
#94
Coding Rank
-
Qwen2.5-14B is a large language model developed by the Qwen Team at Alibaba Cloud, part of the Qwen2.5 model series. It is a dense, decoder-only transformer model designed for a broad range of natural language processing tasks. The model serves as a foundational component for developers and researchers, providing a scalable base that can be further fine-tuned for specific applications. Qwen2.5-14B supports multilingual contexts, capable of understanding and generating text in over 29 languages.
The Qwen2.5-14B architecture is built upon a transformer backbone, incorporating several advanced components to enhance its capabilities. It utilizes Rotary Position Embeddings (RoPE) for effective handling of sequence length, the SwiGLU activation function for improved non-linearity, and RMSNorm for efficient layer normalization. The model employs Grouped Query Attention (GQA) with a configuration of 40 query heads and 8 key/value heads, optimizing attention mechanisms for reduced memory bandwidth during inference. Comprising 48 layers, the model is architecturally designed for computational efficiency and performance across diverse tasks.
Qwen2.5-14B is pretrained on an extensive dataset of up to 18 trillion tokens, enabling it to demonstrate proficiency in areas such as logical reasoning, coding, and mathematical tasks. The model supports an extended context window of up to 131,072 tokens, facilitating the processing of long documents and complex inputs. While the base Qwen2.5-14B model is intended for pre-training and subsequent fine-tuning, its instruction-tuned variants are optimized for direct application in conversational AI, instruction following, and generating structured outputs like JSON. Its design accommodates applications requiring significant context and precise text generation.
Attention
Attention Structure
Grouped-Query Attention
Attention Heads
80
Key-Value Heads
8
Attention Head Dimension
-
Position Embedding
ROPE
RoPE Theta
1,000,000
Sliding Window Attention
No
Sliding Window Size
131,072
Sliding Window Ratio
-
Linear Attention
-
Linear Attention Ratio
-
Normalization
RMS Normalization
Activation Function
SwigLU
Dimensions
Hidden Dimension Size
5,120
Number of Layers
40
FFN Intermediate Size (Dense)
13,824
Multi-Token Prediction Heads
-
Tokenizer
Vocabulary Size
152,064
Qwen2.5 by Alibaba is a family of dense, decoder-only language models available in various sizes, with some variants utilizing Mixture-of-Experts. These models are pretrained on large-scale datasets, supporting extended context lengths and multilingual communication. The family includes specialized models for coding, mathematics, and multimodal tasks, such as vision and audio processing.
APX AI
Online