Qwen2 7B Instruct by Qwen

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

  Arxiv:2309.00071   Autotrain compatible Base model:finetune:qwen/qwen2...   Base model:qwen/qwen2-7b   Chat   Conversational   En   Endpoints compatible   Instruct   Qwen2   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF ๐Ÿค—: https://huggingface.co/Qwen/Qwen2-7B-Instruct 

Qwen2 7B Instruct Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Qwen2 7B Instruct (Qwen/Qwen2-7B-Instruct)

Qwen2 7B Instruct Parameters and Internals

Model Type 
decoder, language model
Use Cases 
Areas:
research, text generation, multilingual processing, coding
Primary Use Cases:
language understanding, language generation, multilingual capability, coding, mathematics, reasoning
Considerations:
Ensure performance on shorter texts may be impacted when rope_scaling is configured for long texts.
Supported Languages 
en (English)
Training Details 
Data Volume:
large amount of data
Methodology:
supervised finetuning and direct preference optimization
Context Length:
131072
Model Architecture:
Transformer with SwiGLU activation, attention QKV bias, and group query attention
Input Output 
Accepted Modalities:
text
Performance Tips:
For handling long texts, enable YARN configuration in settings.
LLM NameQwen2 7B Instruct
Repository ๐Ÿค—https://huggingface.co/Qwen/Qwen2-7B-Instruct 
Base Model(s)  Qwen2 7B   Qwen/Qwen2-7B
Model Size7b
Required VRAM15.4 GB
Updated2025-02-05
MaintainerQwen
Model Typeqwen2
Instruction-BasedYes
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 Length32768
Model Max Length32768
Transformers Version4.41.2
Tokenizer ClassQwen2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size152064
Torch Data Typebfloat16
Errorsreplace

Quantized Models of the Qwen2 7B Instruct

Model
Likes
Downloads
VRAM
Qwen2 7B Instruct GGUF1112207471 GB
Qwen2 7B Instruct GPTQ Int42422685 GB
Qwen2 7B Instruct AWQ2010115 GB
Qwen2 7B Instruct GPTQ Int8169088 GB
Qwen2 7B Instruct GGUF1783 GB
Qwen2 7B Instruct GGUF0473 GB

Best Alternatives to Qwen2 7B Instruct

Best Alternatives
Context / RAM
Downloads
Likes
Qwen2.5 7B Instruct 1M986K / 15.4 GB25044175
Qwen2.5 7B RRP 1M986K / 15.2 GB974
COCO 7B Instruct 1M986K / 15.2 GB738
Q2.5 Instruct 1M Harmony986K / 15.2 GB350
Impish QWEN 7B 1M986K / 15.2 GB391
Qwen2.5 7B DeepSeek R1 1M986K / 15.2 GB508
MwM 7B CoT Merge1986K / 15.2 GB222
Mergekit Della Linear Vmeykci986K / 16.2 GB110
SJT 7B 1M986K / 15.2 GB131
....5 7B DeepSeek BunnyHarmony 1M986K / 14.8 GB01
Note: green Score (e.g. "73.2") means that the model is better than Qwen/Qwen2-7B-Instruct.

Rank the Qwen2 7B Instruct 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? 42577 in total.

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