Qwen/Qwen2-72B-Instruct

Hugging Face
TEXT GENERATIONConcurrency Cost:4Model Size:72.7BQuant:FP8Ctx Length:32kPublished:May 28, 2024License:tongyi-qianwenArchitecture:Transformer0.7K Warm

Qwen2-72B-Instruct is a 72.7 billion parameter instruction-tuned causal language model developed by Qwen, part of the new Qwen2 series. It is built on the Transformer architecture with SwiGLU activation and group query attention, and features an improved tokenizer for multilingual and code support. This model demonstrates strong performance across language understanding, generation, multilingual capabilities, coding, mathematics, and reasoning benchmarks, and supports an extended context length of up to 131,072 tokens.

Loading preview...

Overview

Qwen2-72B-Instruct is a 72.7 billion parameter instruction-tuned model from the Qwen2 series, developed by Qwen. It is based on the Transformer architecture, incorporating features like SwiGLU activation, attention QKV bias, and group query attention. The model also utilizes an improved tokenizer designed for multiple natural languages and code. It has been post-trained using both supervised finetuning and direct preference optimization.

Key Capabilities & Performance

Qwen2-72B-Instruct demonstrates competitive performance against other state-of-the-art open-source models and proprietary models across various benchmarks. Notable benchmark results include:

  • MMLU: 82.3
  • HumanEval (Coding): 86.0
  • MATH (Mathematics): 59.7
  • C-Eval (Chinese): 83.8

Extended Context Length

This model supports an impressive context length of up to 131,072 tokens. For processing long texts, it leverages YARN (Yet Another RoPE extendeR) for length extrapolation. Users can enable this long-context capability by configuring rope_scaling in the config.json file, particularly when deploying with vLLM. It's important to note that vLLM's current static YARN implementation might impact performance on shorter texts if enabled.

Good for

  • General language understanding and generation tasks.
  • Multilingual applications, especially with strong Chinese language support.
  • Coding tasks, demonstrating high scores on HumanEval and MultiPL-E.
  • Complex reasoning and mathematical problem-solving.
  • Applications requiring processing of very long input texts (up to 131K tokens).

Popular Sampler Settings

Top 3 parameter combinations used by Featherless users for this model. Click a tab to see each config.

temperature
top_p
top_k
frequency_penalty
presence_penalty
repetition_penalty
min_p