Skip to content
TheChatArchiveThe Chat Archive
Qwenqwen3-30b-a3b· Alibaba (Qwen)Hugging Face LMArena Human Preference 140K

Untitled conversation

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with grok-3-mini-beta’s answer.
  1. User
    {
      "architectures": [
        "Qwen3ForCausalLM"
      ],
      "attention_bias": false,
      "attention_dropout": 0.0,
      "bos_token_id": 151643,
      "eos_token_id": 151645,
      "head_dim": 128,
      "hidden_act": "silu",
      "hidden_size": 4096,
      "initializer_range": 0.02,
      "intermediate_size": 12288,
      "max_position_embeddings": 40960,
      "max_window_layers": 36,
      "model_type": "qwen3",
      "num_attention_heads": 32,
      "num_hidden_layers": 36,
      "num_key_value_heads": 8,
      "rms_norm_eps": 1e-06,
      "rope_scaling": null,
      "rope_theta": 1000000,
      "sliding_window": null,
      "tie_word_embeddings": false,
      "torch_dtype": "bfloat16",
      "transformers_version": "4.51.0",
      "use_cache": true,
      "use_sliding_window": false,
      "vocab_size": 151936
    }
    

    What is the parameter count for the LLM?

  2. Qwen Assistant

    The parameter count for the Qwen3 model described in the JSON configuration can be calculated by summing the contributions from the embedding layer, attention layers, feed-forward networks (FFN), and the output layer. Here's the breakdown:

    1. Embedding Layer (Token Embeddings)

    • Vocabulary size: 151,936
    • Hidden size: 4,096
    • Parameters: 151,936×4,096=622,329,856151,936 \times 4,096 = 622,329,856

    2. Attention Layers

    • Number of hidden layers: 36
    • Attention heads: 32
    • Key-value heads: 8
    • Head dimension: 128
    • Parameters per layer: 2×4,096×128×(32+8)=41,943,0402 \times 4,096 \times 128 \times (32 + 8) = 41,943,040
    • Total attention parameters: 36×41,943,040=1,509,949,44036 \times 41,943,040 = 1,509,949,440

    3. Feed-Forward Networks (FFN)

    • Intermediate size: 12,288
    • Parameters per layer: 2×12,288×4,096=100,663,2962 \times 12,288 \times 4,096 = 100,663,296
    • Total FFN parameters: 36×100,663,296=3,623,878,65636 \times 100,663,296 = 3,623,878,656

    4. Output Layer

    • Hidden size: 4,096
    • Vocabulary size: 151,936
    • Parameters: 4,096×151,936=622,329,8564,096 \times 151,936 = 622,329,856

    Total Parameter Count

    622,329,856 (embedding)+1,509,949,440 (attention)+3,623,878,656 (FFN)+622,329,856 (output)=6,378,487,808622,329,856 \ (\text{embedding}) + 1,509,949,440 \ (\text{attention}) + 3,623,878,656 \ (\text{FFN}) + 622,329,856 \ (\text{output}) = 6,378,487,808

    Final Answer

    The Qwen3 model has 6,378,487,808 parameters, which is approximately 6.38 billion parameters.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.