Qwen2 7B by Qwen

 ยป  All LLMs  ยป  Qwen  ยป  Qwen2 7B   URL Share it on

  Autotrain compatible   Conversational   En   Endpoints compatible   Pretrained   Qwen2   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF ๐Ÿค—: https://huggingface.co/Qwen/Qwen2-7B 

Qwen2 7B Benchmarks

๐ŸŒŸ Advertise your project ๐Ÿš€

Qwen2 7B Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
research, commercial applications
Primary Use Cases:
Language understanding, language generation, multilingual capability, coding, mathematics, reasoning
Supported Languages 
English (proficient), Chinese (proficient), Multilingual (varied proficiency)
Training Details 
Methodology:
Transformer architecture with SwiGLU activation, attention QKV bias, group query attention.
Model Architecture:
Transformer
Input Output 
Accepted Modalities:
text
Performance Tips:
It is suggested to not use base language models for text generation directly. Instead, apply post-training techniques like SFT, RLHF, continued pretraining on this model.
LLM NameQwen2 7B
Repository ๐Ÿค—https://huggingface.co/Qwen/Qwen2-7B 
Model Size7b
Required VRAM15.4 GB
Updated2025-06-09
MaintainerQwen
Model Typeqwen2
Model Files  4.0 GB: 1-of-4   3.9 GB: 2-of-4   3.9 GB: 3-of-4   3.6 GB: 4-of-4
Supported Languagesen
Model ArchitectureQwen2ForCausalLM
Licenseapache-2.0
Context Length131072
Model Max Length131072
Transformers Version4.37.2
Tokenizer ClassQwen2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size152064
Torch Data Typebfloat16
Errorsreplace
Qwen2 7B (Qwen/Qwen2-7B)

Quantized Models of the Qwen2 7B

Model
Likes
Downloads
VRAM
Samantha Qwen2 7B AWQ0265 GB
...lphin 2.9.2 Qwen2 7B Bpw6 EXL21126 GB

Best Alternatives to Qwen2 7B

Best Alternatives
Context / RAM
Downloads
Likes
Qwen2.5 7B Instruct 1M986K / 15.4 GB1204830329
Qwen2.5 7B RRP 1M986K / 15.2 GB4476
Hush Qwen2.5 7B Preview986K / 15.2 GB850
Hush Qwen2.5 7B V1.1986K / 15.2 GB141
Hush Qwen2.5 7B V1.2986K / 15.2 GB121
Hush Qwen2.5 7B V1.4986K / 15.2 GB131
Hush Qwen2.5 7B V1.3986K / 15.2 GB142
Hush Qwen2.5 7B RP V1.4 1M986K / 15.2 GB142
Qwen2.5 7B Preview986K / 15.2 GB110
Qwen 2.5 7B Exp Sce986K / 15.2 GB122
Note: green Score (e.g. "73.2") means that the model is better than Qwen/Qwen2-7B.

Rank the Qwen2 7B Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 48046 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241124